2007-09-10 20:28:03 +00:00
|
|
|
parallel.1: parallel
|
|
|
|
pod2man parallel > parallel.1
|
|
|
|
|
|
|
|
install: parallel parallel.1
|
2009-08-26 12:33:14 +00:00
|
|
|
install -D -m 755 parallel $(DESTDIR)/usr/bin/parallel
|
|
|
|
install -D -m 644 parallel.1 $(DESTDIR)/usr/share/man/man1/parallel.1
|
2007-09-10 20:28:03 +00:00
|
|
|
|
|
|
|
unittest: parallel unittest/tests-to-run/* unittest/wanted-results/*
|
2009-08-26 12:33:14 +00:00
|
|
|
echo | mop || (echo mop is required for unittest; /bin/false)
|
|
|
|
seq 1 2 | mop || (echo seq is required for unittest; /bin/false)
|
2007-09-10 20:28:03 +00:00
|
|
|
(cd unittest; sh Start.sh)
|
|
|
|
|
2009-08-26 12:33:14 +00:00
|
|
|
clean:
|
|
|
|
rm -f parallel.1
|
|
|
|
|
2007-09-10 20:28:03 +00:00
|
|
|
dist:
|
|
|
|
rm -rf ./unittest/input-files/random_dirs_*_newline || /bin/true
|
|
|
|
rm -rf ./unittest/tmp || /bin/true
|
2007-09-27 13:32:08 +00:00
|
|
|
rm parallel-????????.tar.bz2 || /bin/true
|
2007-09-10 20:28:03 +00:00
|
|
|
( cd ..; tar -cvj --exclude .git --exclude '#*#' --exclude '*~' --exclude CVS -f /tmp/parallel.tar.bz2 parallel )
|
2007-09-27 13:32:08 +00:00
|
|
|
mv /tmp/parallel.tar.bz2 parallel-$$(date +"%Y%m%d").tar.bz2
|
|
|
|
rsync -Havessh parallel-$$(date +"%Y%m%d").tar.bz2 download.savannah.nongnu.org:/releases/parallel/
|
|
|
|
|