Bugfix: make -j2 fails because 'rm pod2htm*' fails.

This commit is contained in:
Ole Tange 2010-08-23 13:33:55 +02:00
parent d2a872b641
commit 8f9038909a
2 changed files with 7 additions and 2 deletions

View file

@ -12,11 +12,11 @@ sem.1: sem.pod Makefile
parallel.html: parallel Makefile
pod2html $(srcdir)/parallel > $(srcdir)/parallel.html
rm $(srcdir)/pod2htm*
rm -f $(srcdir)/pod2htm*
sem.html: sem.pod Makefile
pod2html $(srcdir)/sem.pod > $(srcdir)/sem.html
rm $(srcdir)/pod2htm*
rm -f $(srcdir)/pod2htm*
sem: parallel
ln -s parallel sem

View file

@ -1234,6 +1234,11 @@ With the file I<mycomputers> containing the list of computers it becomes:
find logs/ -name '*.gz' | parallel --sshloginfile mycomputers \
--trc {.}.bz2 "zcat {} | bzip2 -9 >{.}.bz2"
If the file I<~/.parallel/sshloginfile> contains the list of computers
the special short hand I<-S ..> can be used:
find logs/ -name '*.gz' | parallel -S .. \
--trc {.}.bz2 "zcat {} | bzip2 -9 >{.}.bz2"
=head1 EXAMPLE: Distributing work to local and remote computers