aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2011-06-25 17:36:53 +0200
committerSebastian Pipping <sebastian@pipping.org>2011-06-25 19:54:37 +0200
commitb0d385b661e41463d5be23a5fbf7ba5ba22ff3d0 (patch)
treee796ecacde18a14b66c7dd2f6fc1e501dbacf2a8
parentMigrate man page to Asciidoc, generate list of subarches, add Makefile includ... (diff)
downloadcatalyst-b0d385b661e41463d5be23a5fbf7ba5ba22ff3d0.tar.gz
catalyst-b0d385b661e41463d5be23a5fbf7ba5ba22ff3d0.tar.bz2
catalyst-b0d385b661e41463d5be23a5fbf7ba5ba22ff3d0.zip
Makefile: Improve dependencies
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index bcc40c7..83fbd5a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,19 +2,19 @@
# Licensed under GPL v2 or later
PACKAGE_VERSION = `fgrep '__version__=' catalyst | sed 's|^__version__="\(.*\)"$$|\1|'`
-CLEAN_FILES = files/catalyst.1 doc/subarches.generated.txt
EXTRA_DIST = files/catalyst.1
+CLEAN_FILES = $(EXTRA_DIST) doc/subarches.generated.txt
distdir = catalyst-$(PACKAGE_VERSION)
-all: files/catalyst.1
+all: $(EXTRA_DIST)
files/catalyst.1: doc/catalyst.1.txt doc/subarches.generated.txt doc/asciidoc.conf Makefile catalyst
a2x --conf-file=doc/asciidoc.conf --attribute="catalystversion=$(PACKAGE_VERSION)" \
--format=manpage -D files "$<"
-doc/subarches.generated.txt:
+doc/subarches.generated.txt: $(wildcard arch/*.py)
./doc/make_subarch_table_guidexml.py
clean: