1 |
From: "W. Trevor King" <wking@×××××××.us> |
2 |
|
3 |
Since its addition in fa940f7 (Migrate man page to Asciidoc, generate |
4 |
list of subarches, add Makefile including "dist" target, 2011-06-24), |
5 |
doc/make_subarch_table_guidexml.py has also generated an XML version |
6 |
of the supported subarches. Add the XML file to DOC_SIDE_EFFECTS so |
7 |
it gets removed by `make clean`. |
8 |
--- |
9 |
Makefile | 4 ++-- |
10 |
1 file changed, 2 insertions(+), 2 deletions(-) |
11 |
|
12 |
diff --git a/Makefile b/Makefile |
13 |
index 98accbe..6002f97 100644 |
14 |
--- a/Makefile |
15 |
+++ b/Makefile |
16 |
@@ -7,7 +7,7 @@ MAN_PAGES = $(patsubst doc/%.txt,files/%,$(MAN_PAGE_SOURCES)) |
17 |
MAN_PAGE_INCLUDES = doc/subarches.generated.txt doc/targets.generated.txt |
18 |
DOC_SOURCES = $(filter-out $(MAN_PAGE_SOURCES) $(MAN_PAGE_INCLUDES),$(wildcard doc/*.txt)) |
19 |
DOCS = $(patsubst doc/%.txt,files/%.html,$(DOC_SOURCES)) |
20 |
-DOC_SIDE_EFFECTS = files/docbook-xsl.css |
21 |
+DOC_SIDE_EFFECTS = files/docbook-xsl.css doc/subarches.generated.xml |
22 |
EXTRA_DIST = $(MAN_PAGES) $(DOCS) $(DOC_SIDE_EFFECTS) |
23 |
GENERATED_FILES = $(MAN_PAGES) $(MAN_PAGE_INCLUDES) $(DOCS) $(DOC_SIDE_EFFECTS) |
24 |
|
25 |
@@ -24,7 +24,7 @@ $(MAN_PAGES): files/%: doc/%.txt doc/asciidoc.conf Makefile catalyst |
26 |
files/catalyst.1: doc/subarches.generated.txt |
27 |
files/catalyst-spec.5: doc/subarches.generated.txt doc/targets.generated.txt |
28 |
|
29 |
-doc/subarches.generated.txt: $(wildcard arch/*.py) doc/make_subarch_table_guidexml.py |
30 |
+doc/subarches.generated.txt doc/subarches.generated.xml: $(wildcard arch/*.py) doc/make_subarch_table_guidexml.py |
31 |
./doc/make_subarch_table_guidexml.py |
32 |
|
33 |
doc/targets.generated.txt: doc/make_target_table.py $(wildcard modules/*_target.py) |
34 |
-- |
35 |
1.8.4 |