$(builddir) isn't a real variable

Original commit message from CVS:
$(builddir) isn't a real variable
This commit is contained in:
David Schleef 2003-11-19 23:49:46 +00:00
parent f328265d46
commit 541aa5c79a
2 changed files with 6 additions and 6 deletions

View file

@ -126,7 +126,7 @@ all-local: html-build.stamp
scan-build.stamp: $(HFILE_GLOB) $(SCANOBJ_DEPS) $(basefiles) scan-build.stamp: $(HFILE_GLOB) $(SCANOBJ_DEPS) $(basefiles)
@echo '*** Scanning header files ***' @echo '*** Scanning header files ***'
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \ 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 . ; \ cp $(srcdir)/$(DOC_MODULE).types . ; \
fi ; \ fi ; \
ls ; \ 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) tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
@echo '*** Rebuilding template files ***' @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)-decl.txt . ; \
cp $(srcdir)/$(DOC_MODULE)-sections.txt . ; \ cp $(srcdir)/$(DOC_MODULE)-sections.txt . ; \
fi fi
@ -201,7 +201,7 @@ distclean-local: clean
rm -rf tmpl/*.sgml.bak rm -rf tmpl/*.sgml.bak
rm -f $(DOC_MODULE).hierarchy rm -f $(DOC_MODULE).hierarchy
rm -f *.stamp || true 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)-docs.sgml ; \
rm -f $(DOC_MODULE).types ; \ rm -f $(DOC_MODULE).types ; \
rm -f $(DOC_MODULE).interfaces ; \ rm -f $(DOC_MODULE).interfaces ; \

View file

@ -126,7 +126,7 @@ scan-build.stamp: $(HFILE_GLOB) $(SCANOBJ_DEPS) $(basefiles)
@echo '*** Scanning header files ***' @echo '*** Scanning header files ***'
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \ 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) ; \ 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 . ; \ cp $(srcdir)/$(DOC_MODULE).types . ; \
fi ; \ fi ; \
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" $(GTK_DOC_SCANOBJ) --module=$(DOC_MODULE) ; \ 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) tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_OVERRIDES)
@echo '*** Rebuilding template files ***' @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)-decl.txt . ; \
cp $(srcdir)/$(DOC_MODULE)-sections.txt . ; \ cp $(srcdir)/$(DOC_MODULE)-sections.txt . ; \
fi fi
@ -199,7 +199,7 @@ distclean-local: clean
rm -rf tmpl/*.sgml.bak rm -rf tmpl/*.sgml.bak
rm -f $(DOC_MODULE).hierarchy rm -f $(DOC_MODULE).hierarchy
rm -f *.stamp || true 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)-docs.sgml ; \
rm -f $(DOC_MODULE).types ; \ rm -f $(DOC_MODULE).types ; \
rm -f $(DOC_MODULE).interfaces ; \ rm -f $(DOC_MODULE).interfaces ; \