From d5353997268dd6737e88b31286589d5a8354cc3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olivier=20Cr=C3=AAte?= Date: Fri, 19 Sep 2008 21:43:17 -0400 Subject: Clean up the stamp file if srcdir!=builddir --- common/gtk-doc-plugins.mak | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'common') diff --git a/common/gtk-doc-plugins.mak b/common/gtk-doc-plugins.mak index a9c62962..7d0d48e2 100644 --- a/common/gtk-doc-plugins.mak +++ b/common/gtk-doc-plugins.mak @@ -259,6 +259,7 @@ clean-local-gtkdoc: # clean files copied for nonsrcdir templates build if test x"$(srcdir)" != x. ; then \ rm -rf $(SCANOBJ_FILES) $(SCAN_FILES); \ + rm -f *.stamp; \ fi else all-local: @@ -368,13 +369,7 @@ scanobj-trans-update: scanobj-trans-build.stamp: $(SCANOBJ_DEPS) $(basefiles) @echo '*** Scanning GObjects ***' - if test x"$(srcdir)" != x. ; then \ - for f in $(SCANOBJ_FILES); \ - do \ - pwd \ - cp $(srcdir)/$$f . ; \ - done; \ - else \ + if test x"$(srcdir)" = x. ; then \ GST_PLUGIN_PATH=$(top_builddir)/gst:$(top_builddir)/ext \ GST_REGISTRY=$(INSPECT_REGISTRY) \ FS_PLUGIN_PATH="$(FS_PLUGIN_PATH)" \ -- cgit v1.2.1