mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
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.
This commit is contained in:
parent
41aa12b2c6
commit
d2bbf5a7a6
1 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue