$(builddir) isn't a real variable
authorDavid Schleef <ds@schleef.org>
Wed, 19 Nov 2003 23:49:46 +0000 (23:49 +0000)
committerDavid Schleef <ds@schleef.org>
Wed, 19 Nov 2003 23:49:46 +0000 (23:49 +0000)
Original commit message from CVS:
$(builddir) isn't a real variable

docs/gst/Makefile.am
docs/libs/Makefile.am

index 886ae15..d7648ba 100644 (file)
@@ -126,7 +126,7 @@ all-local: html-build.stamp
 scan-build.stamp: $(HFILE_GLOB) $(SCANOBJ_DEPS) $(basefiles)
        @echo '*** Scanning header files ***'
        if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
-           if test x"$(srcdir)" != x"$(builddir)" ; then \
+           if test x"$(srcdir)" != x. ; then \
                cp $(srcdir)/$(DOC_MODULE).types . ; \
            fi ; \
            ls ; \
@@ -147,7 +147,7 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
 
 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
        @echo '*** Rebuilding template files ***'
-       if test x"$(srcdir)" != x"$(builddir)" ; then \
+       if test x"$(srcdir)" != x. ; then \
            cp $(srcdir)/$(DOC_MODULE)-decl.txt . ; \
            cp $(srcdir)/$(DOC_MODULE)-sections.txt . ; \
        fi
@@ -201,7 +201,7 @@ distclean-local: clean
        rm -rf tmpl/*.sgml.bak
        rm -f $(DOC_MODULE).hierarchy
        rm -f *.stamp || true
-       if test x"$(srcdir)" != x"$(builddir)" ; then \
+       if test x"$(srcdir)" != x. ; then \
            rm -f $(DOC_MODULE)-docs.sgml ; \
            rm -f $(DOC_MODULE).types ; \
            rm -f $(DOC_MODULE).interfaces ; \
index 302988d..d412d80 100644 (file)
@@ -126,7 +126,7 @@ scan-build.stamp: $(HFILE_GLOB) $(SCANOBJ_DEPS) $(basefiles)
        @echo '*** Scanning header files ***'
        if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" $(GTK_DOC_SCANOBJ) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
-           if test x"$(srcdir)" != x"$(builddir)" ; then \
+           if test x"$(srcdir)" != x. ; then \
                cp $(srcdir)/$(DOC_MODULE).types . ; \
            fi ; \
            CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" $(GTK_DOC_SCANOBJ) --module=$(DOC_MODULE) ; \
@@ -146,7 +146,7 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES): scan-build.stamp
 
 tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
        @echo '*** Rebuilding template files ***'
-       if test x"$(srcdir)" != x"$(builddir)" ; then \
+       if test x"$(srcdir)" != x. ; then \
            cp $(srcdir)/$(DOC_MODULE)-decl.txt . ; \
            cp $(srcdir)/$(DOC_MODULE)-sections.txt . ; \
        fi
@@ -199,7 +199,7 @@ distclean-local: clean
        rm -rf tmpl/*.sgml.bak
        rm -f $(DOC_MODULE).hierarchy
        rm -f *.stamp || true
-       if test x"$(srcdir)" != x"$(builddir)" ; then \
+       if test x"$(srcdir)" != x. ; then \
            rm -f $(DOC_MODULE)-docs.sgml ; \
            rm -f $(DOC_MODULE).types ; \
            rm -f $(DOC_MODULE).interfaces ; \