aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2012-07-09 18:09:50 +0200
committerSebastian Pipping <sebastian@pipping.org>2012-07-09 18:11:25 +0200
commitc7837f992a41c9d9e427ebe2c8edec5a4eb0b885 (patch)
treef407963d1d205f30bd2679839f108e66f1c0dc84 /Makefile
parentMakefile: Make catalyst.1 not depend on doc/targets.generated.txt without reason (diff)
downloadcatalyst-c7837f992a41c9d9e427ebe2c8edec5a4eb0b885.tar.gz
catalyst-c7837f992a41c9d9e427ebe2c8edec5a4eb0b885.tar.bz2
catalyst-c7837f992a41c9d9e427ebe2c8edec5a4eb0b885.zip
Makefile: Re-join man page generation
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6a253958..016120a7 100644
--- a/Makefile
+++ b/Makefile
@@ -13,13 +13,13 @@ distdir = catalyst-$(PACKAGE_VERSION)
all: $(EXTRA_DIST)
-files/catalyst.1: doc/catalyst.1.txt doc/subarches.generated.txt doc/asciidoc.conf Makefile catalyst
+files/%: doc/%.txt doc/asciidoc.conf Makefile catalyst
a2x --conf-file=doc/asciidoc.conf --attribute="catalystversion=$(PACKAGE_VERSION)" \
--format=manpage -D files "$<"
-files/catalyst-spec.5: doc/catalyst-spec.5.txt doc/subarches.generated.txt doc/targets.generated.txt doc/asciidoc.conf Makefile catalyst
- a2x --conf-file=doc/asciidoc.conf --attribute="catalystversion=$(PACKAGE_VERSION)" \
- --format=manpage -D files "$<"
+# Additional dependencies due to inclusion
+files/catalyst.1: doc/subarches.generated.txt
+files/catalyst-spec.5: doc/subarches.generated.txt doc/targets.generated.txt
doc/subarches.generated.txt: $(wildcard arch/*.py) doc/make_subarch_table_guidexml.py
./doc/make_subarch_table_guidexml.py