mirror of
https://git.savannah.gnu.org/git/parallel.git
synced 2024-11-22 14:07:55 +00:00
Let *.html depend on eachother to avoid race condition and dependency on sem.
This commit is contained in:
parent
e15b48be86
commit
6ae7f48c72
|
@ -18,21 +18,22 @@ niceload.1: niceload.pod Makefile
|
||||||
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
||||||
--section=1 $(srcdir)/niceload.pod > $(srcdir)/niceload.1
|
--section=1 $(srcdir)/niceload.pod > $(srcdir)/niceload.1
|
||||||
|
|
||||||
parallel.html: parallel Makefile sem
|
parallel.html: parallel.pod Makefile
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/parallel.pod > $(srcdir)/parallel.html
|
pod2html $(srcdir)/parallel.pod > $(srcdir)/parallel.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
sem.html: sem.pod Makefile sem
|
# Depending on parallel.html to avoid pod2html race condition
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/sem.pod > $(srcdir)/sem.html
|
sem.html: sem.pod Makefile parallel.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
pod2html $(srcdir)/sem.pod > $(srcdir)/sem.html
|
||||||
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
sql.html: sql Makefile sem
|
sql.html: sql Makefile sem.html
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/sql > $(srcdir)/sql.html
|
pod2html $(srcdir)/sql > $(srcdir)/sql.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
niceload.html: niceload.pod Makefile sem
|
niceload.html: niceload.pod Makefile sql.html
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
|
pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
sem: parallel
|
sem: parallel
|
||||||
ln -fs parallel sem
|
ln -fs parallel sem
|
||||||
|
|
|
@ -463,21 +463,22 @@ niceload.1: niceload.pod Makefile
|
||||||
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
pod2man --release='$(PACKAGE_VERSION)' --center='$(PACKAGE_NAME)' \
|
||||||
--section=1 $(srcdir)/niceload.pod > $(srcdir)/niceload.1
|
--section=1 $(srcdir)/niceload.pod > $(srcdir)/niceload.1
|
||||||
|
|
||||||
parallel.html: parallel Makefile sem
|
parallel.html: parallel.pod Makefile
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/parallel.pod > $(srcdir)/parallel.html
|
pod2html $(srcdir)/parallel.pod > $(srcdir)/parallel.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
sem.html: sem.pod Makefile sem
|
# Depending on parallel.html to avoid pod2html race condition
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/sem.pod > $(srcdir)/sem.html
|
sem.html: sem.pod Makefile parallel.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
pod2html $(srcdir)/sem.pod > $(srcdir)/sem.html
|
||||||
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
sql.html: sql Makefile sem
|
sql.html: sql Makefile sem.html
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/sql > $(srcdir)/sql.html
|
pod2html $(srcdir)/sql > $(srcdir)/sql.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
niceload.html: niceload.pod Makefile sem
|
niceload.html: niceload.pod Makefile sql.html
|
||||||
./sem --fg --id pod2html pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
|
pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
|
||||||
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
|
rm -f $(srcdir)/pod2htm*
|
||||||
|
|
||||||
sem: parallel
|
sem: parallel
|
||||||
ln -fs parallel sem
|
ln -fs parallel sem
|
||||||
|
|
Loading…
Reference in a new issue