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)
This commit is contained in:
David I. Lehn 2002-08-09 09:29:10 +00:00
parent 77c92f6ce5
commit a8c20dd476
2 changed files with 5 additions and 8 deletions

2
common

@ -1 +1 @@
Subproject commit 316e406cd246e8cbccdf4df4ce32e98c63d7cc72
Subproject commit 59ed6821982c4f5f989b1a635e34dc782d0a8e32

View 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