public inbox for gentoo-catalyst@lists.gentoo.org
 help / color / mirror / Atom feed
From: "W. Trevor King" <wking@tremily.us>
To: Catalyst <gentoo-catalyst@lists.gentoo.org>
Cc: "W. Trevor King" <wking@tremily.us>
Subject: [gentoo-catalyst] [PATCH] Makefile: Cleanup doc/subarches.generated.xml
Date: Sun, 15 Dec 2013 20:49:38 -0800	[thread overview]
Message-ID: <091a6955b8a95308adf58cb6ef3d0ba1e05fc08c.1387169465.git.wking@tremily.us> (raw)

From: "W. Trevor King" <wking@tremily.us>

Since its addition in fa940f7 (Migrate man page to Asciidoc, generate
list of subarches, add Makefile including "dist" target, 2011-06-24),
doc/make_subarch_table_guidexml.py has also generated an XML version
of the supported subarches.  Add the XML file to DOC_SIDE_EFFECTS so
it gets removed by `make clean`.
---
 Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 98accbe..6002f97 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ MAN_PAGES = $(patsubst doc/%.txt,files/%,$(MAN_PAGE_SOURCES))
 MAN_PAGE_INCLUDES = doc/subarches.generated.txt doc/targets.generated.txt
 DOC_SOURCES = $(filter-out $(MAN_PAGE_SOURCES) $(MAN_PAGE_INCLUDES),$(wildcard doc/*.txt))
 DOCS = $(patsubst doc/%.txt,files/%.html,$(DOC_SOURCES))
-DOC_SIDE_EFFECTS  = files/docbook-xsl.css
+DOC_SIDE_EFFECTS  = files/docbook-xsl.css doc/subarches.generated.xml
 EXTRA_DIST = $(MAN_PAGES) $(DOCS) $(DOC_SIDE_EFFECTS)
 GENERATED_FILES = $(MAN_PAGES) $(MAN_PAGE_INCLUDES) $(DOCS) $(DOC_SIDE_EFFECTS)
 
@@ -24,7 +24,7 @@ $(MAN_PAGES): files/%: doc/%.txt doc/asciidoc.conf Makefile catalyst
 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/subarches.generated.txt doc/subarches.generated.xml: $(wildcard arch/*.py) doc/make_subarch_table_guidexml.py
 	./doc/make_subarch_table_guidexml.py
 
 doc/targets.generated.txt: doc/make_target_table.py $(wildcard modules/*_target.py)
-- 
1.8.4



                 reply	other threads:[~2013-12-16  4:49 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=091a6955b8a95308adf58cb6ef3d0ba1e05fc08c.1387169465.git.wking@tremily.us \
    --to=wking@tremily.us \
    --cc=gentoo-catalyst@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox