gstreamer/docs/devhelp/Makefile.am
David I. Lehn a8c20dd476 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)
2002-08-09 09:29:10 +00:00

19 lines
600 B
Makefile

EXTRA_DIST = html2xml.py
all-am: devhelp
devhelp: gstreamer.devhelp gstreamer-libs.devhelp
gstreamer.devhelp:
cd ../gst && make
$(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
$(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