Nasty hack enabling docs/gst/ to build with unpatched versions of gtkdoc-scanobj which don't understand libtool.

Original commit message from CVS:
Nasty hack enabling docs/gst/ to build with unpatched versions of
gtkdoc-scanobj which don't understand libtool.
This commit is contained in:
Richard Boulton 2001-06-04 11:25:19 +00:00
parent 785d258c33
commit 90b7ecc2ec

View file

@ -86,7 +86,8 @@ scanobj: $(srcdir)/$(DOC_MODULE).types
rm gstreamer-scan.o; ln -s gstreamer-scan.lo gstreamer-scan.o
cd ../../gst/;$(MAKE) libgst.la
cd ../../gst/elements/;$(MAKE) libgstelements.la
env CC="$(LIBTOOL) $(CC)" CFLAGS="$(LIBGST_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -I../../" LDFLAGS="$(GST_LIBS)"\
# The LD env-var below is a nasty hack to make this work on versions of gtkdoc-scanobj which don't understand libtool
env CC="$(LIBTOOL) $(CC)" LD="cp gstreamer-scan.lo gstreamer-scan.o;$(LIBTOOL) $(CC)" CFLAGS="$(LIBGST_CFLAGS) $(GLIB_CFLAGS) $(XML_CFLAGS) -I../../" LDFLAGS="$(GST_LIBS)"\
gtkdoc-scanobj --module=$(DOC_MODULE)
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR)