let auto tool deal with which python to use for doc building (this fixes bug with...
authorDavid I. Lehn <dlehn@users.sourceforge.net>
Fri, 9 Aug 2002 09:29:10 +0000 (09:29 +0000)
committerDavid I. Lehn <dlehn@users.sourceforge.net>
Fri, 9 Aug 2002 09:29:10 +0000 (09:29 +0000)
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
docs/devhelp/Makefile.am

diff --git a/common b/common
index 316e406..59ed682 160000 (submodule)
--- a/common
+++ b/common
@@ -1 +1 @@
-Subproject commit 316e406cd246e8cbccdf4df4ce32e98c63d7cc72
+Subproject commit 59ed6821982c4f5f989b1a635e34dc782d0a8e32
index 66dba66..34b31b7 100644 (file)
@@ -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