gstreamer/docs/devhelp/Makefile.am
Thomas Vander Stichele 841f9b14f4 fix race condition
Original commit message from CVS:
fix race condition
2003-01-05 16:19:46 +00:00

24 lines
895 B
Makefile

EXTRA_DIST = html2xml.py
CLEANFILES = *.devhelp
devhelp_files = \
gstreamer-@GST_MAJORMINOR@.devhelp \
gstreamer-libs-@GST_MAJORMINOR@.devhelp
all-am: $(devhelp_files)
devhelp:
cd ../gst && make
$(PYTHON) ./html2xml.py ../gst/html
sed 's@base=""@base="@HTML_DIR@/gstreamer-@GST_MAJORMINOR@"@g' html.devhelp > gstreamer-@GST_MAJORMINOR@.devhelp && \
perl -i -p -e 's/name="html"/name="gstreamer-@GST_MAJORMINOR@"/' gstreamer-@GST_MAJORMINOR@.devhelp && \
rm html.devhelp
cd ../libs && make
$(PYTHON) ./html2xml.py ../libs/html
sed 's@base=""@base="@HTML_DIR@/gstreamer-libs-@GST_MAJORMINOR@"@g' html.devhelp > gstreamer-libs-@GST_MAJORMINOR@.devhelp && \
perl -i -p -e 's/name="html"/name="gstreamer-libs-@GST_MAJORMINOR@"/' gstreamer-libs-@GST_MAJORMINOR@.devhelp && \
rm html.devhelp
gstreamer-@GST_MAJORMINOR@.devhelp: devhelp
gstreamer-libs-@GST_MAJORMINOR@.devhelp: devhelp