diff options
author | Karel Zak <kzak@redhat.com> | 2014-02-10 10:37:10 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-02-10 13:02:34 +0100 |
commit | 3c3e5f4276a893791110b03984735654372aa33a (patch) | |
tree | 71dde110b11c466d304184b098a7ef44ec8f5160 | |
parent | bfb35cfda11d529f02c698e87ae298309a776305 (diff) |
build-sys: move python helpers to tools directory
Note that make-man-rules.py is missing in EXTRA_DIST=, this patch
fixes this mistake too.
-rw-r--r-- | Makefile.am | 13 | ||||
-rwxr-xr-x | tools/make-directive-index.py (renamed from make-directive-index.py) | 0 | ||||
-rwxr-xr-x | tools/make-man-index.py (renamed from make-man-index.py) | 0 | ||||
-rw-r--r-- | tools/make-man-rules.py (renamed from make-man-rules.py) | 0 | ||||
-rw-r--r-- | tools/xml_helper.py (renamed from xml_helper.py) | 0 |
5 files changed, 7 insertions, 6 deletions
diff --git a/Makefile.am b/Makefile.am index 3730e71dc2..09a827b02f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -610,16 +610,16 @@ XML_GLOB = $(wildcard $(top_srcdir)/man/*.xml $(top_builddir)/man/*.xml) NON_INDEX_XML_FILES = $(filter-out man/systemd.index.xml,$(XML_FILES)) SOURCE_XML_FILES = $(filter-out man/systemd.directives.xml,$(NON_INDEX_XML_FILES)) -update-man-list: make-man-rules.py $(XML_GLOB) +update-man-list: $(top_srcdir)/tools/make-man-rules.py $(XML_GLOB) $(AM_V_GEN)$(PYTHON) $^ > $(top_srcdir)/Makefile-man.tmp $(AM_V_at)mv $(top_srcdir)/Makefile-man.tmp $(top_srcdir)/Makefile-man.am @echo "Makefile-man.am has been regenerated" -man/systemd.index.xml: make-man-index.py $(NON_INDEX_XML_FILES) +man/systemd.index.xml: $(top_srcdir)/tools/make-man-index.py $(NON_INDEX_XML_FILES) $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^) -man/systemd.directives.xml: make-directive-index.py $(SOURCE_XML_FILES) +man/systemd.directives.xml: $(top_srcdir)/tools/make-directive-index.py $(SOURCE_XML_FILES) $(AM_V_at)$(MKDIR_P) $(dir $@) $(AM_V_GEN)$(PYTHON) $< $@ $(filter-out $<,$^) @@ -641,9 +641,10 @@ EXTRA_DIST += \ $(HTML_FILES) \ $(HTML_ALIAS) \ $(man_MANS) \ - make-man-index.py \ - make-directive-index.py \ - xml_helper.py + tools/make-man-index.py \ + tools/make-directive-index.py \ + tools/make-man-rules.py \ + tools/xml_helper.py # ------------------------------------------------------------------------------ noinst_LTLIBRARIES += \ diff --git a/make-directive-index.py b/tools/make-directive-index.py index 2ff304fddc..2ff304fddc 100755 --- a/make-directive-index.py +++ b/tools/make-directive-index.py diff --git a/make-man-index.py b/tools/make-man-index.py index 74a47b821a..74a47b821a 100755 --- a/make-man-index.py +++ b/tools/make-man-index.py diff --git a/make-man-rules.py b/tools/make-man-rules.py index 0d1ca244c4..0d1ca244c4 100644 --- a/make-man-rules.py +++ b/tools/make-man-rules.py diff --git a/xml_helper.py b/tools/xml_helper.py index 08e226fa21..08e226fa21 100644 --- a/xml_helper.py +++ b/tools/xml_helper.py |