2016-09-04 08:42:04 +00:00
|
|
|
bin_SCRIPTS = parallel sql niceload parcat \
|
2016-03-26 09:35:13 +00:00
|
|
|
env_parallel env_parallel.bash env_parallel.zsh env_parallel.fish \
|
2016-04-14 06:33:58 +00:00
|
|
|
env_parallel.ksh env_parallel.pdksh env_parallel.csh env_parallel.tcsh
|
2014-08-22 21:30:39 +00:00
|
|
|
|
|
|
|
install-exec-hook:
|
|
|
|
rm $(DESTDIR)$(bindir)/sem || true
|
2014-08-24 15:19:17 +00:00
|
|
|
$(LN_S) parallel $(DESTDIR)$(bindir)/sem
|
2014-06-16 21:34:25 +00:00
|
|
|
|
|
|
|
if DOCUMENTATION
|
2016-03-26 09:35:13 +00:00
|
|
|
man_MANS = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.7 parallel_design.7 parallel_alternatives.7 \
|
|
|
|
parcat.1
|
2016-03-26 09:35:13 +00:00
|
|
|
doc_DATA = parallel.html env_parallel.html sem.html sql.html niceload.html \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.html parallel_design.html parallel_alternatives.html \
|
|
|
|
parcat.html \
|
2016-03-26 09:35:13 +00:00
|
|
|
parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.texi parallel_design.texi parallel_alternatives.texi \
|
|
|
|
parcat.texi \
|
2016-03-26 09:35:13 +00:00
|
|
|
parallel.pdf env_parallel.pdf sem.pdf sql.pdf niceload.pdf \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.pdf parallel_design.pdf parallel_alternatives.pdf \
|
|
|
|
parcat.pdf
|
2014-06-16 21:34:25 +00:00
|
|
|
endif
|
2010-04-18 14:18:31 +00:00
|
|
|
|
2014-06-13 12:30:14 +00:00
|
|
|
# Build documentation file if the tool to build exists.
|
|
|
|
# Otherwise: Use the distributed version
|
|
|
|
parallel.1: parallel.pod
|
2010-04-18 14:18:31 +00:00
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
2014-06-13 12:30:14 +00:00
|
|
|
--section=1 $(srcdir)/parallel.pod > $(srcdir)/parallel.1n \
|
|
|
|
&& mv $(srcdir)/parallel.1n $(srcdir)/parallel.1 \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2man not found. Using old parallel.1"
|
2010-04-18 14:18:31 +00:00
|
|
|
|
2016-03-22 19:09:18 +00:00
|
|
|
env_parallel.1: env_parallel.pod
|
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
|
|
|
--section=1 $(srcdir)/env_parallel.pod > $(srcdir)/env_parallel.1n \
|
|
|
|
&& mv $(srcdir)/env_parallel.1n $(srcdir)/env_parallel.1 \
|
|
|
|
|| echo "Warning: pod2man not found. Using old env_parallel.1"
|
|
|
|
|
2015-01-18 23:07:12 +00:00
|
|
|
parallel_tutorial.7: parallel_tutorial.pod
|
2013-08-17 16:43:30 +00:00
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
2015-01-18 23:07:12 +00:00
|
|
|
--section=7 $(srcdir)/parallel_tutorial.pod > $(srcdir)/parallel_tutorial.7n \
|
|
|
|
&& mv $(srcdir)/parallel_tutorial.7n $(srcdir)/parallel_tutorial.7 \
|
|
|
|
|| echo "Warning: pod2man not found. Using old parallel_tutorial.7"
|
|
|
|
|
|
|
|
parallel_design.7: parallel_design.pod
|
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
|
|
|
--section=7 $(srcdir)/parallel_design.pod > $(srcdir)/parallel_design.7n \
|
|
|
|
&& mv $(srcdir)/parallel_design.7n $(srcdir)/parallel_design.7 \
|
|
|
|
|| echo "Warning: pod2man not found. Using old parallel_design.7"
|
2013-08-17 16:43:30 +00:00
|
|
|
|
2017-01-01 11:42:52 +00:00
|
|
|
|
|
|
|
parallel_alternatives.7: parallel_alternatives.pod
|
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
|
|
|
--section=7 $(srcdir)/parallel_alternatives.pod > $(srcdir)/parallel_alternatives.7n \
|
|
|
|
&& mv $(srcdir)/parallel_alternatives.7n $(srcdir)/parallel_alternatives.7 \
|
|
|
|
|| echo "Warning: pod2man not found. Using old parallel_alternatives.7"
|
|
|
|
|
2014-06-13 12:30:14 +00:00
|
|
|
sem.1: sem.pod
|
2010-08-15 21:33:49 +00:00
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
2014-06-13 12:30:14 +00:00
|
|
|
--section=1 $(srcdir)/sem.pod > $(srcdir)/sem.1n \
|
|
|
|
&& mv $(srcdir)/sem.1n $(srcdir)/sem.1 \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2man not found. Using old sem.1"
|
2010-08-15 21:33:49 +00:00
|
|
|
|
2014-06-13 12:30:14 +00:00
|
|
|
sql.1: sql
|
2010-08-27 19:16:06 +00:00
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
2014-06-13 12:30:14 +00:00
|
|
|
--section=1 $(srcdir)/sql > $(srcdir)/sql.1n \
|
|
|
|
&& mv $(srcdir)/sql.1n $(srcdir)/sql.1 \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2man not found. Using old sql.1"
|
2010-08-27 19:16:06 +00:00
|
|
|
|
2014-06-13 12:30:14 +00:00
|
|
|
niceload.1: niceload.pod
|
2010-12-03 13:42:22 +00:00
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
2014-06-13 12:30:14 +00:00
|
|
|
--section=1 $(srcdir)/niceload.pod > $(srcdir)/niceload.1n \
|
|
|
|
&& mv $(srcdir)/niceload.1n $(srcdir)/niceload.1 \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2man not found. Using old niceload.1"
|
2010-12-03 13:42:22 +00:00
|
|
|
|
2016-09-04 08:42:04 +00:00
|
|
|
parcat.1: parcat
|
|
|
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
|
|
|
--section=1 $(srcdir)/parcat > $(srcdir)/parcat.1n \
|
|
|
|
&& mv $(srcdir)/parcat.1n $(srcdir)/parcat.1 \
|
|
|
|
|| echo "Warning: pod2man not found. Using old parcat.1"
|
|
|
|
|
2014-06-13 12:30:14 +00:00
|
|
|
parallel.html: parallel.pod
|
2014-07-26 11:17:13 +00:00
|
|
|
pod2html --title "GNU Parallel" $(srcdir)/parallel.pod > $(srcdir)/parallel.htmln \
|
2014-06-13 12:30:14 +00:00
|
|
|
&& mv $(srcdir)/parallel.htmln $(srcdir)/parallel.html \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2html not found. Using old parallel.html"
|
2013-08-17 16:48:50 +00:00
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
2013-08-17 16:43:30 +00:00
|
|
|
# Depending on parallel.html to avoid stupid pod2html race condition
|
2016-03-22 19:09:18 +00:00
|
|
|
env_parallel.html: env_parallel.pod parallel.html
|
|
|
|
pod2html --title "GNU Parallel with environment" $(srcdir)/env_parallel.pod > $(srcdir)/env_parallel.htmln \
|
|
|
|
&& mv $(srcdir)/env_parallel.htmln $(srcdir)/env_parallel.html \
|
|
|
|
|| echo "Warning: pod2html not found. Using old env_parallel.html"
|
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
|
|
|
# Depending on env_parallel.html to avoid stupid pod2html race condition
|
|
|
|
parallel_tutorial.html: parallel_tutorial.pod env_parallel.html
|
2014-07-26 11:17:13 +00:00
|
|
|
pod2html --title "GNU Parallel tutorial" $(srcdir)/parallel_tutorial.pod > $(srcdir)/parallel_tutorial.htmln \
|
2014-06-13 12:30:14 +00:00
|
|
|
&& mv $(srcdir)/parallel_tutorial.htmln $(srcdir)/parallel_tutorial.html \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2html not found. Using old parallel_tutorial.html"
|
2011-11-15 00:45:00 +00:00
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
2013-08-17 16:43:30 +00:00
|
|
|
# Depending on parallel_tutorial.html to avoid stupid pod2html race condition
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_design.html: parallel_design.pod parallel_tutorial.html
|
2015-01-18 23:07:12 +00:00
|
|
|
pod2html --title "GNU Parallel design" $(srcdir)/parallel_design.pod > $(srcdir)/parallel_design.htmln \
|
|
|
|
&& mv $(srcdir)/parallel_design.htmln $(srcdir)/parallel_design.html \
|
|
|
|
|| echo "Warning: pod2html not found. Using old parallel_design.html"
|
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
|
|
|
# Depending on parallel_design.html to avoid stupid pod2html race condition
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_alternatives.html: parallel_alternatives.pod parallel_design.html
|
|
|
|
pod2html --title "GNU Parallel alternatives" $(srcdir)/parallel_alternatives.pod > $(srcdir)/parallel_alternatives.htmln \
|
|
|
|
&& mv $(srcdir)/parallel_alternatives.htmln $(srcdir)/parallel_alternatives.html \
|
|
|
|
|| echo "Warning: pod2html not found. Using old parallel_alternatives.html"
|
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
|
|
|
# Depending on parallel_alternatives.html to avoid stupid pod2html race condition
|
|
|
|
sem.html: sem.pod parallel_alternatives.html
|
2014-07-26 11:17:13 +00:00
|
|
|
pod2html --title "sem (GNU Parallel)" $(srcdir)/sem.pod > $(srcdir)/sem.htmln \
|
2014-06-13 12:30:14 +00:00
|
|
|
&& mv $(srcdir)/sem.htmln $(srcdir)/sem.html \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2html not found. Using old sem.html"
|
2011-11-15 00:45:00 +00:00
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
2012-01-24 20:53:25 +00:00
|
|
|
# Depending on sem.html to avoid stupid pod2html race condition
|
2014-06-13 12:30:14 +00:00
|
|
|
sql.html: sql sem.html
|
2014-07-26 11:17:13 +00:00
|
|
|
pod2html --title "GNU SQL" $(srcdir)/sql > $(srcdir)/sql.htmln \
|
2014-06-13 12:30:14 +00:00
|
|
|
&& mv $(srcdir)/sql.htmln $(srcdir)/sql.html \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2html not found. Using old sql.html"
|
2011-11-15 00:45:00 +00:00
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
2012-01-24 20:53:25 +00:00
|
|
|
# Depending on sql.html to avoid stupid pod2html race condition
|
2014-06-13 12:30:14 +00:00
|
|
|
niceload.html: niceload.pod sql.html
|
2014-07-26 11:17:13 +00:00
|
|
|
pod2html --title "GNU niceload" $(srcdir)/niceload.pod > $(srcdir)/niceload.htmln \
|
2014-06-13 12:30:14 +00:00
|
|
|
&& mv $(srcdir)/niceload.htmln $(srcdir)/niceload.html \
|
2014-03-23 16:41:15 +00:00
|
|
|
|| echo "Warning: pod2html not found. Using old niceload.html"
|
2011-11-15 00:45:00 +00:00
|
|
|
rm -f $(srcdir)/pod2htm*
|
2010-12-03 13:42:22 +00:00
|
|
|
|
2016-09-04 08:42:04 +00:00
|
|
|
# Depending on niceload.html to avoid stupid pod2html race condition
|
|
|
|
parcat.html: parcat niceload.html
|
|
|
|
pod2html --title "GNU parcat" $(srcdir)/parcat > $(srcdir)/parcat.htmln \
|
|
|
|
&& mv $(srcdir)/parcat.htmln $(srcdir)/parcat.html \
|
|
|
|
|| echo "Warning: pod2html not found. Using old parcat.html"
|
|
|
|
rm -f $(srcdir)/pod2htm*
|
|
|
|
|
2012-01-24 20:53:25 +00:00
|
|
|
parallel.texi: parallel.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2texi --output=$(srcdir)/parallel.texi $(srcdir)/parallel.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old parallel.texi"
|
2012-01-24 20:53:25 +00:00
|
|
|
|
2016-03-22 19:09:18 +00:00
|
|
|
env_parallel.texi: env_parallel.pod
|
|
|
|
pod2texi --output=$(srcdir)/env_parallel.texi $(srcdir)/env_parallel.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old env_parallel.texi"
|
|
|
|
|
2013-08-17 16:43:30 +00:00
|
|
|
parallel_tutorial.texi: parallel_tutorial.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2texi --output=$(srcdir)/parallel_tutorial.texi $(srcdir)/parallel_tutorial.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old parallel_tutorial.texi"
|
2013-08-17 16:43:30 +00:00
|
|
|
|
2015-01-18 23:07:12 +00:00
|
|
|
parallel_design.texi: parallel_design.pod
|
|
|
|
pod2texi --output=$(srcdir)/parallel_design.texi $(srcdir)/parallel_design.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old parallel_design.texi"
|
|
|
|
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_alternatives.texi: parallel_alternatives.pod
|
|
|
|
pod2texi --output=$(srcdir)/parallel_alternatives.texi $(srcdir)/parallel_alternatives.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old parallel_alternatives.texi"
|
|
|
|
|
2012-01-24 20:53:25 +00:00
|
|
|
sem.texi: sem.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2texi --output=$(srcdir)/sem.texi $(srcdir)/sem.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old sem.texi"
|
2012-01-24 20:53:25 +00:00
|
|
|
|
|
|
|
sql.texi: sql
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2texi --output=$(srcdir)/sql.texi $(srcdir)/sql \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old sql.texi"
|
2012-01-24 20:53:25 +00:00
|
|
|
|
|
|
|
niceload.texi: niceload.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2texi --output=$(srcdir)/niceload.texi $(srcdir)/niceload.pod \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old niceload.texi"
|
2012-01-24 20:53:25 +00:00
|
|
|
|
2016-09-04 08:42:04 +00:00
|
|
|
parcat.texi: parcat
|
|
|
|
pod2texi --output=$(srcdir)/parcat.texi $(srcdir)/parcat \
|
|
|
|
|| echo "Warning: pod2texi not found. Using old parcat.texi"
|
|
|
|
|
2013-09-18 00:00:10 +00:00
|
|
|
parallel.pdf: parallel.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2pdf --output-file $(srcdir)/parallel.pdf $(srcdir)/parallel.pod --title "GNU Parallel" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old parallel.pdf"
|
2013-09-18 00:00:10 +00:00
|
|
|
|
2016-03-22 19:09:18 +00:00
|
|
|
env_parallel.pdf: env_parallel.pod
|
|
|
|
pod2pdf --output-file $(srcdir)/env_parallel.pdf $(srcdir)/env_parallel.pod --title "GNU Parallel with environment" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old env_parallel.pdf"
|
|
|
|
|
2013-09-18 00:00:10 +00:00
|
|
|
parallel_tutorial.pdf: parallel_tutorial.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2pdf --output-file $(srcdir)/parallel_tutorial.pdf $(srcdir)/parallel_tutorial.pod --title "GNU Parallel Tutorial" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old parallel_tutorial.pdf"
|
2013-09-18 00:00:10 +00:00
|
|
|
|
2015-01-18 23:07:12 +00:00
|
|
|
parallel_design.pdf: parallel_design.pod
|
|
|
|
pod2pdf --output-file $(srcdir)/parallel_design.pdf $(srcdir)/parallel_design.pod --title "GNU Parallel Design" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old parallel_design.pdf"
|
|
|
|
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_alternatives.pdf: parallel_alternatives.pod
|
|
|
|
pod2pdf --output-file $(srcdir)/parallel_alternatives.pdf $(srcdir)/parallel_alternatives.pod --title "GNU Parallel alternatives" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old parallel_alternatives.pdf"
|
|
|
|
|
2013-09-18 00:00:10 +00:00
|
|
|
sem.pdf: sem.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2pdf --output-file $(srcdir)/sem.pdf $(srcdir)/sem.pod --title "GNU sem" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old sem.pdf"
|
2013-09-18 00:00:10 +00:00
|
|
|
|
|
|
|
sql.pdf: sql
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2pdf --output-file $(srcdir)/sql.pdf $(srcdir)/sql --title "GNU SQL" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old sql.pdf"
|
2013-09-18 00:00:10 +00:00
|
|
|
|
|
|
|
niceload.pdf: niceload.pod
|
2014-03-23 16:41:15 +00:00
|
|
|
pod2pdf --output-file $(srcdir)/niceload.pdf $(srcdir)/niceload.pod --title "GNU niceload" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old niceload.pdf"
|
2013-09-18 00:00:10 +00:00
|
|
|
|
2016-09-04 08:42:04 +00:00
|
|
|
parcat.pdf: parcat
|
|
|
|
pod2pdf --output-file $(srcdir)/parcat.pdf $(srcdir)/parcat --title "GNU parcat" \
|
|
|
|
|| echo "Warning: pod2pdf not found. Using old parcat.pdf"
|
|
|
|
|
2010-08-16 22:25:11 +00:00
|
|
|
sem: parallel
|
2010-08-25 14:44:55 +00:00
|
|
|
ln -fs parallel sem
|
2010-08-16 22:25:11 +00:00
|
|
|
|
2016-03-22 19:09:18 +00:00
|
|
|
DISTCLEANFILES = parallel.1 env_parallel.1 sem.1 sql.1 niceload.1 \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.7 parallel_design.7 parallel_alternatives.7 \
|
|
|
|
parcat.1 \
|
2016-03-22 19:09:18 +00:00
|
|
|
parallel.html env_parallel.html sem.html sql.html niceload.html \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.html parallel_design.html parallel_alternatives.html \
|
|
|
|
parcat.html \
|
2016-03-22 19:09:18 +00:00
|
|
|
parallel.texi env_parallel.texi sem.texi sql.texi niceload.texi \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.texi parallel_design.texi parallel_alternatives.texi \
|
|
|
|
parcat.texi \
|
2016-03-22 19:09:18 +00:00
|
|
|
parallel.pdf env_parallel.pdf sem.pdf sql.pdf niceload.pdf \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_tutorial.pdf parallel_design.pdf parallel_alternatives.pdf \
|
|
|
|
parcat.pdf
|
2014-06-13 12:47:44 +00:00
|
|
|
|
2016-09-04 08:42:04 +00:00
|
|
|
EXTRA_DIST = parallel sem sql niceload parcat env_parallel \
|
2016-03-20 22:57:25 +00:00
|
|
|
env_parallel.bash env_parallel.zsh env_parallel.fish env_parallel.ksh \
|
2016-04-14 06:33:58 +00:00
|
|
|
env_parallel.pdksh env_parallel.csh env_parallel.tcsh \
|
2016-03-26 09:35:13 +00:00
|
|
|
sem.pod parallel.pod env_parallel.pod niceload.pod parallel_tutorial.pod \
|
2017-01-01 11:42:52 +00:00
|
|
|
parallel_design.pod parallel_alternatives.pod \
|
2015-01-18 23:07:12 +00:00
|
|
|
$(DISTCLEANFILES)
|