summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2011-05-20 17:29:58 +0300
committerStefan Kost <ensonic@users.sf.net>2011-05-20 17:29:58 +0300
commit71c396a36f18511d948ba7dd162dc76fdf47f0e1 (patch)
tree62dfbfa4d79114e7006ee54c3ff2d79df9843ac5
parent69b981f10caa234ad0ff639179d0fda8505bd94b (diff)
downloadgstreamer-common-71c396a36f18511d948ba7dd162dc76fdf47f0e1.tar.gz
docs: more out-of-srcdir plugin build fixing
-rw-r--r--gtk-doc-plugins.mak6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak
index f4d220f..18155f0 100644
--- a/gtk-doc-plugins.mak
+++ b/gtk-doc-plugins.mak
@@ -145,6 +145,12 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(SCANOBJ_FILES_O): scan-build.stamp
### scan headers; done on every build ###
scan-build.stamp: $(HFILE_GLOB) $(EXTRA_HFILES) $(basefiles) scanobj-build.stamp
@echo ' DOC Scanning header files'
+ @if test x"$(srcdir)" != x. ; then \
+ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \
+ do \
+ if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi; \
+ done; \
+ fi
@gtkdoc-scan \
$(SCAN_OPTIONS) $(EXTRA_HFILES) \
--module=$(DOC_MODULE) \