mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
a8c20dd476
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)
19 lines
600 B
Makefile
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
|