1 |
commit: 4c1595dae95a6a3bd9e29c8b09ca7f979ea344b6 |
2 |
Author: W. Trevor King <wking <AT> tremily <DOT> us> |
3 |
AuthorDate: Mon Dec 16 04:49:38 2013 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 29 20:13:21 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=4c1595da |
7 |
|
8 |
Makefile: Cleanup doc/subarches.generated.xml |
9 |
|
10 |
Since its addition in fa940f7 (Migrate man page to Asciidoc, generate |
11 |
list of subarches, add Makefile including "dist" target, 2011-06-24), |
12 |
doc/make_subarch_table_guidexml.py has also generated an XML version |
13 |
of the supported subarches. Add the XML file to DOC_SIDE_EFFECTS so |
14 |
it gets removed by `make clean`. |
15 |
|
16 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
17 |
|
18 |
Makefile | 4 ++-- |
19 |
1 file changed, 2 insertions(+), 2 deletions(-) |
20 |
|
21 |
diff --git a/Makefile b/Makefile |
22 |
index c937df15..b359e8b7 100644 |
23 |
--- a/Makefile |
24 |
+++ b/Makefile |
25 |
@@ -7,7 +7,7 @@ MAN_PAGES = $(patsubst doc/%.txt,files/%,$(MAN_PAGE_SOURCES)) |
26 |
MAN_PAGE_INCLUDES = doc/subarches.generated.txt doc/targets.generated.txt |
27 |
DOC_SOURCES = $(filter-out $(MAN_PAGE_SOURCES) $(MAN_PAGE_INCLUDES),$(wildcard doc/*.txt)) |
28 |
DOCS = $(patsubst doc/%.txt,files/%.html,$(DOC_SOURCES)) |
29 |
-DOC_SIDE_EFFECTS = files/docbook-xsl.css |
30 |
+DOC_SIDE_EFFECTS = files/docbook-xsl.css doc/subarches.generated.xml |
31 |
EXTRA_DIST = $(MAN_PAGES) $(DOCS) $(DOC_SIDE_EFFECTS) |
32 |
GENERATED_FILES = $(MAN_PAGES) $(MAN_PAGE_INCLUDES) $(DOCS) $(DOC_SIDE_EFFECTS) |
33 |
|
34 |
@@ -27,7 +27,7 @@ $(MAN_PAGES): files/%: doc/%.txt doc/asciidoc.conf Makefile catalyst | files |
35 |
files/catalyst.1: doc/subarches.generated.txt | files |
36 |
files/catalyst-spec.5: doc/subarches.generated.txt doc/targets.generated.txt | files |
37 |
|
38 |
-doc/subarches.generated.txt: $(wildcard arch/*.toml) doc/make_subarch_table_guidexml.py |
39 |
+doc/subarches.generated.txt doc/subarches.generated.xml: $(wildcard arch/*.toml) doc/make_subarch_table_guidexml.py |
40 |
./doc/make_subarch_table_guidexml.py |
41 |
|
42 |
doc/targets.generated.txt: doc/make_target_table.py $(wildcard catalyst/targets/*.py) |