From: Sebastian Pipping Date: Sat, 25 Jun 2011 15:36:53 +0000 (+0200) Subject: Makefile: Improve dependencies X-Git-Tag: CATALYST_2_0_6_917~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ac68b238776b5fb38d3eae4e66397c4e751d594d;p=catalyst.git Makefile: Improve dependencies --- diff --git a/Makefile b/Makefile index bcc40c7c..83fbd5af 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: