use top_builddir vs relative dir

Original commit message from CVS:
use top_builddir vs relative dir
This commit is contained in:
David I. Lehn 2001-12-12 01:23:53 +00:00
parent af8cd27a35
commit 7c8ff4e8dd

View file

@ -84,8 +84,8 @@ gstreamer-decl.txt:
# The LD env-var below is a nasty hack to make this work on versions of
# gtkdoc-scanobj which don't understand libtool
scanobj: $(srcdir)/$(DOC_MODULE).types
cd ../../gst/;$(MAKE) libgst.la
cd ../../gst/elements/;$(MAKE) libgstelements.la
cd $(top_builddir)/gst/;$(MAKE) libgst.la
cd $(top_builddir)/gst/elements/;$(MAKE) libgstelements.la
rm gstreamer-scan.o; ln -s gstreamer-scan.lo gstreamer-scan.o
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)