From 87f7e7e7c1be999c03714918535eb56d60bb74cf Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 18 May 2011 23:02:08 +0300 Subject: [PATCH] plugin-docs: remove needless inspect rule This rule causes rebuilds during make install. We can ensure the directory in the scanobj-build.stamp rule. --- gtk-doc-plugins.mak | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/gtk-doc-plugins.mak b/gtk-doc-plugins.mak index eab32ee..ad06a19 100644 --- a/gtk-doc-plugins.mak +++ b/gtk-doc-plugins.mak @@ -101,10 +101,6 @@ INSPECT_ENVIRONMENT=\ PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" \ $(INSPECT_EXTRA_ENVIRONMENT) -# update the element and plugin XML descriptions; store in inspect/ -inspect: - @-mkdir -p $(INSPECT_DIR) - #### scan gobjects; done by documentation maintainer #### scanobj-update: -rm scanobj-build.stamp @@ -113,7 +109,7 @@ scanobj-update: # TODO: finish elite script that updates the output files of this step # instead of rewriting them, so that multiple maintainers can generate # a collective set of args and signals -scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) inspect +scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) @echo " DOC Introspecting gobjects" @if test x"$(srcdir)" != x. ; then \ for f in $(SCANOBJ_FILES) $(SCAN_FILES); \ @@ -121,6 +117,7 @@ scanobj-build.stamp: $(SCANOBJ_DEPS) $(basefiles) inspect if test -e $(srcdir)/$$f; then cp -u $(srcdir)/$$f . ; fi; \ done; \ fi; \ + mkdir -p $(INSPECT_DIR); \ scanobj_options=""; \ if test "x$(V)" = "x1"; then \ scanobj_options="--verbose"; \ -- 2.7.4