parallel/src/Makefile.am

99 lines
4.1 KiB
Makefile
Raw Normal View History

2010-12-03 13:42:22 +00:00
bin_SCRIPTS = parallel sem sql niceload
2013-08-17 16:43:30 +00:00
man_MANS = parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1
doc_DATA = parallel.html sem.html sql.html niceload.html parallel_tutorial.html parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf
parallel.1: parallel.pod Makefile
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
--section=1 $(srcdir)/parallel.pod > $(srcdir)/parallel.1
2013-08-17 16:43:30 +00:00
parallel_tutorial.1: parallel_tutorial.pod Makefile
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
--section=1 $(srcdir)/parallel_tutorial.pod > $(srcdir)/parallel_tutorial.1
sem.1: sem.pod Makefile
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
--section=1 $(srcdir)/sem.pod > $(srcdir)/sem.1
sql.1: sql Makefile
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
--section=1 $(srcdir)/sql > $(srcdir)/sql.1
2011-07-19 14:48:38 +00:00
niceload.1: niceload.pod Makefile
2010-12-03 13:42:22 +00:00
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
--section=1 $(srcdir)/niceload.pod > $(srcdir)/niceload.1
2010-12-03 13:42:22 +00:00
2013-08-17 16:48:50 +00:00
parallel.html: parallel.pod Makefile
pod2html $(srcdir)/parallel.pod > $(srcdir)/parallel.html
rm -f $(srcdir)/pod2htm*
2013-08-17 16:43:30 +00:00
# Depending on parallel.html to avoid stupid pod2html race condition
parallel_tutorial.html: parallel_tutorial.pod Makefile parallel.html
pod2html $(srcdir)/parallel_tutorial.pod > $(srcdir)/parallel_tutorial.html
rm -f $(srcdir)/pod2htm*
2013-08-17 16:43:30 +00:00
# Depending on parallel_tutorial.html to avoid stupid pod2html race condition
sem.html: sem.pod Makefile parallel_tutorial.html
pod2html $(srcdir)/sem.pod > $(srcdir)/sem.html
rm -f $(srcdir)/pod2htm*
2012-01-24 20:53:25 +00:00
# Depending on sem.html to avoid stupid pod2html race condition
sql.html: sql Makefile sem.html
pod2html $(srcdir)/sql > $(srcdir)/sql.html
rm -f $(srcdir)/pod2htm*
2012-01-24 20:53:25 +00:00
# Depending on sql.html to avoid stupid pod2html race condition
niceload.html: niceload.pod Makefile sql.html
pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
rm -f $(srcdir)/pod2htm*
2010-12-03 13:42:22 +00:00
2012-01-24 20:53:25 +00:00
parallel.texi: parallel.pod
2012-02-20 23:40:47 +00:00
# If pod2texi is not installed: Forget about it
pod2texi --output=$(srcdir)/parallel.texi $(srcdir)/parallel.pod || true
2012-01-24 20:53:25 +00:00
2013-08-17 16:43:30 +00:00
parallel_tutorial.texi: parallel_tutorial.pod
# If pod2texi is not installed: Forget about it
pod2texi --output=$(srcdir)/parallel_tutorial.texi $(srcdir)/parallel_tutorial.pod || true
2012-01-24 20:53:25 +00:00
sem.texi: sem.pod
2012-02-20 23:40:47 +00:00
# If pod2texi is not installed: Forget about it
pod2texi --output=$(srcdir)/sem.texi $(srcdir)/sem.pod || true
2012-01-24 20:53:25 +00:00
sql.texi: sql
2012-02-20 23:40:47 +00:00
# If pod2texi is not installed: Forget about it
pod2texi --output=$(srcdir)/sql.texi $(srcdir)/sql || true
2012-01-24 20:53:25 +00:00
niceload.texi: niceload.pod
2012-02-20 23:40:47 +00:00
# If pod2texi is not installed: Forget about it
pod2texi --output=$(srcdir)/niceload.texi $(srcdir)/niceload.pod || true
2012-01-24 20:53:25 +00:00
parallel.pdf: parallel.pod
# If pod2pdf is not installed: Forget about it
2013-09-20 23:25:06 +00:00
pod2pdf --output-file $(srcdir)/parallel.pdf $(srcdir)/parallel.pod --title "GNU Parallel" || true
parallel_tutorial.pdf: parallel_tutorial.pod
# If pod2pdf is not installed: Forget about it
2013-09-20 23:25:06 +00:00
pod2pdf --output-file $(srcdir)/parallel_tutorial.pdf $(srcdir)/parallel_tutorial.pod --title "GNU Parallel Tutorial" || true
sem.pdf: sem.pod
# If pod2pdf is not installed: Forget about it
2013-09-20 23:25:06 +00:00
pod2pdf --output-file $(srcdir)/sem.pdf $(srcdir)/sem.pod --title "GNU sem" || true
sql.pdf: sql
# If pod2pdf is not installed: Forget about it
2013-09-20 23:25:06 +00:00
pod2pdf --output-file $(srcdir)/sql.pdf $(srcdir)/sql --title "GNU SQL" || true
niceload.pdf: niceload.pod
# If pod2pdf is not installed: Forget about it
2013-09-20 23:25:06 +00:00
pod2pdf --output-file $(srcdir)/niceload.pdf $(srcdir)/niceload.pod --title "GNU niceload" || true
sem: parallel
ln -fs parallel sem
2013-08-17 16:43:30 +00:00
DISTCLEANFILES = parallel.html sem.html sql.html niceload.html parallel_tutorial.html
EXTRA_DIST = parallel sem sql niceload \
2013-08-17 16:43:30 +00:00
parallel.1 sem.1 sql.1 niceload.1 parallel_tutorial.1 \
parallel.html sem.html sql.html niceload.html parallel_tutorial.html \
2013-08-17 16:43:30 +00:00
sem.pod parallel.pod niceload.pod parallel_tutorial.pod \
parallel.texi sem.texi sql.texi niceload.texi parallel_tutorial.texi \
parallel.pdf sem.pdf sql.pdf niceload.pdf parallel_tutorial.pdf