From 1140eabed84dd1d8d6df7df88f5c8bdf20a8faa1 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 2 Feb 2006 08:36:22 +0000 Subject: [PATCH] gtk-doc-plugins.mak: only add srcdir/gst if it exists Original commit message from CVS: * gtk-doc-plugins.mak: only add srcdir/gst if it exists --- ChangeLog | 5 +++++ gtk-doc-plugins.mak | 21 +++++++++++---------- 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index e482bd9..d83ad51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-02-02 Thomas Vander Stichele + + * gtk-doc-plugins.mak: + only add srcdir/gst if it exists + 2006-01-30 Thomas Vander Stichele * release.mak: diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak index 2163284..157e9ef 100644 --- a/gtk-doc-plugins.mak +++ b/gtk-doc-plugins.mak @@ -140,16 +140,17 @@ inspect-build.stamp: ### scan headers; done on every build ### scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp inspect-build.stamp - if test "x$(top_srcdir)" != "x$(top_builddir)"; \ - then \ - export BUILT_OPTIONS="--source-dir=$(top_builddir)/gst"; \ - fi; \ - gtkdoc-scan \ - $(SCAN_OPTIONS) $(EXTRA_HFILES) \ - --module=$(DOC_MODULE) \ - $$BUILT_OPTIONS \ - --ignore-headers="$(IGNORE_HFILES)"; \ - touch scan-build.stamp + if test "x$(top_srcdir)" != "x$(top_builddir)" && \ + test -d "$(top_builddir)/gst"; \ + then \ + export BUILT_OPTIONS="--source-dir=$(top_builddir)/gst"; \ + fi; \ + gtkdoc-scan \ + $(SCAN_OPTIONS) $(EXTRA_HFILES) \ + --module=$(DOC_MODULE) \ + $$BUILT_OPTIONS \ + --ignore-headers="$(IGNORE_HFILES)"; \ + touch scan-build.stamp #### update templates; done on every build #### -- 2.34.1