From: Richard Boulton Date: Thu, 31 May 2001 18:03:10 +0000 (+0000) Subject: Add rules to ensure that the libgst.la and libgstelements.la exist when trying to... X-Git-Tag: BRANCH-GOBJECT1-ROOT~75 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2bbf5a7a6435774a69ce2e8de02f39ac7cb7ec7;p=platform%2Fupstream%2Fgstreamer.git Add rules to ensure that the libgst.la and libgstelements.la exist when trying to link the scanner with them. Original commit message from CVS: Add rules to ensure that the libgst.la and libgstelements.la exist when trying to link the scanner with them. Fix mkdirs so that they don't fall over if directories already exist. --- diff --git a/docs/gst/Makefile.am b/docs/gst/Makefile.am index 2f3f4b7..3f4c0cd 100644 --- a/docs/gst/Makefile.am +++ b/docs/gst/Makefile.am @@ -84,6 +84,8 @@ gstreamer-decl.txt: 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)"\ gtkdoc-scanobj --module=$(DOC_MODULE) gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) @@ -121,9 +123,9 @@ install-data-local: gstreamer.html fi) dist-hook: gstreamer.html - mkdir $(distdir)/html - mkdir $(distdir)/sgml - mkdir $(distdir)/tmpl + if ! test -d $(distdir)/html ; then mkdir $(distdir)/html ; fi + if ! test -d $(distdir)/sgml ; then mkdir $(distdir)/sgml ; fi + if ! test -d $(distdir)/tmpl ; then mkdir $(distdir)/tmpl ; fi -cp $(srcdir)/html/*.html $(srcdir)/html/*.css $(distdir)/html -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl -cp $(srcdir)/sgml/*.sgml $(distdir)/sgml