[gimp] menus: Fix image-menu.xml dependencies



commit 82d7e5a91a1af15faa9ca9bd790cef721bfa5a8a
Author: Martin Nordholts <martinn src gnome org>
Date:   Sun Apr 1 13:42:07 2012 +0200

    menus: Fix image-menu.xml dependencies
    
    Necessary for nightly builds to rebuild image-menu.xml properly
    without manual intervention.

 menus/Makefile.am |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/menus/Makefile.am b/menus/Makefile.am
index 1ad3e79..01548f6 100644
--- a/menus/Makefile.am
+++ b/menus/Makefile.am
@@ -56,13 +56,16 @@ endif
 
 SUFFIXES = .xml.in .xml
 
-.xml.in.xml: $(top_srcdir)/configure.ac $(srcdir)/menus.xsl dialogs-menuitems.xml
+.xml.in.xml:
 if HAVE_XSLTPROC
 	$(XSLTPROC) --xinclude $(UNSTABLE_MENU_PARAMS) $(srcdir)/menus.xsl $< > $(@) || rm -f $(@)
 else
 	@echo "*** xsltproc is required to build the menus XML files ***"; exit 1;
 endif
 
+# Specifying dependencies in the implicit rule above does not work, so
+# specify them here instead
+dockable-menu.xml image-menu.xml: $(top_srcdir)/configure.ac $(srcdir)/menus.xsl dialogs-menuitems.xml
 
 validate: $(menudata_DATA)
 if HAVE_XMLLINT



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]