app/dialogs/Makefile.am when calling xsltproc, use the stylesheet from

2007-06-07  Sven Neumann  <sven@gimp.org>

	* app/dialogs/Makefile.am
	* menus/Makefile.am: when calling xsltproc, use the stylesheet from
	$(srcdir). From the patch attached to bug #444960.

svn path=/trunk/; revision=22733
This commit is contained in:
Sven Neumann 2007-06-07 08:40:36 +00:00 committed by Sven Neumann
parent af942b5bdb
commit 1c11948985
3 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2007-06-07 Sven Neumann <sven@gimp.org>
* app/dialogs/Makefile.am
* menus/Makefile.am: when calling xsltproc, use the stylesheet from
$(srcdir). From the patch attached to bug #444960.
2007-06-07 Sven Neumann <sven@gimp.org>
* app/dialogs/Makefile.am: bail out with an error if xsltproc is

View File

@ -101,9 +101,9 @@ EXTRA_DIST = \
$(srcdir)/about-dialog.c: authors.h
authors.h: $(top_srcdir)/authors.xml authors.xsl
authors.h: $(top_srcdir)/authors.xml $(srcdir)/authors.xsl
if HAVE_XSLTPROC
$(XSLTPROC) authors.xsl $< > $(@) || rm -f $(@)
$(XSLTPROC) $(srcdir)/authors.xsl $< > $(@) || rm -f $(@)
else
@( echo "*** xsltproc is required to regenerate $(@) ***"; exit 1; )
@echo "*** xsltproc is required to regenerate $(@) ***"; exit 1;
endif

View File

@ -52,11 +52,11 @@ if GIMP_UNSTABLE
XSLTPARAMS = --stringparam debug-menu yes
endif
%.xml: %.xml.in menus.xsl dialogs-menuitems.xml
%.xml: %.xml.in $(srcdir)/menus.xsl dialogs-menuitems.xml
if HAVE_XSLTPROC
$(XSLTPROC) --xinclude $(XSLTPARAMS) menus.xsl $< > $(@) || rm -f $(@)
$(XSLTPROC) --xinclude $(XSLTPARAMS) $(srcdir)/menus.xsl $< > $(@) || rm -f $(@)
else
@echo "xsltproc is needed to build the menus XML files"; exit 1;
@echo "*** xsltproc is required to build the menus XML files ***"; exit 1;
endif