From a8c20dd476604950d2992e17fba2339a93ebf73a Mon Sep 17 00:00:00 2001 From: "David I. Lehn" Date: Fri, 9 Aug 2002 09:29:10 +0000 Subject: [PATCH] let auto tool deal with which python to use for doc building (this fixes bug with hard coded "python2" not working on... Original commit message from CVS: let auto tool deal with which python to use for doc building (this fixes bug with hard coded "python2" not working on debian systems) --- common | 2 +- docs/devhelp/Makefile.am | 11 ++++------- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/common b/common index 316e406..59ed682 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 316e406cd246e8cbccdf4df4ce32e98c63d7cc72 +Subproject commit 59ed6821982c4f5f989b1a635e34dc782d0a8e32 diff --git a/docs/devhelp/Makefile.am b/docs/devhelp/Makefile.am index 66dba66..34b31b7 100644 --- a/docs/devhelp/Makefile.am +++ b/docs/devhelp/Makefile.am @@ -1,22 +1,19 @@ -EXTRA_DIST=html2xml.py +EXTRA_DIST = html2xml.py -all-am: chmod devhelp +all-am: devhelp devhelp: gstreamer.devhelp gstreamer-libs.devhelp -chmod: - chmod +x html2xml.py - gstreamer.devhelp: cd ../gst && make - ./html2xml.py ../gst/html + $(PYTHON) ./html2xml.py ../gst/html sed 's@base=""@base="@HTML_DIR@/gstreamer"@g' html.devhelp > gstreamer.devhelp perl -i -p -e 's/name="html"/name="gstreamer"/' gstreamer.devhelp rm html.devhelp gstreamer-libs.devhelp: cd ../libs && make - ./html2xml.py ../libs/html + $(PYTHON) ./html2xml.py ../libs/html sed 's@base=""@base="@HTML_DIR@/gstreamer-libs"@g' html.devhelp > gstreamer-libs.devhelp perl -i -p -e 's/name="html"/name="gstreamer-libs"/' gstreamer-libs.devhelp rm html.devhelp -- 2.7.4