Files
gimp/data/tips/Makefile.am
Michael Natterer 5622fa28ff data/tips/Makefile.am s/.intltool-merge-cachemake/.intltool-merge-cache/
2007-09-03  Michael Natterer  <mitch@gimp.org>

	* data/tips/Makefile.am
	* desktop/Makefile.am:
	s/.intltool-merge-cachemake/.intltool-merge-cache/ to fix
	distcheck, probably a "make" was entered in the wrong window.


svn path=/trunk/; revision=23450
2007-09-03 13:20:42 +00:00

39 lines
894 B
Makefile

## Makefile.am for gimp/data/tips
tipsdatadir = $(gimpdatadir)/tips
tipsdata_in_files = gimp-tips.xml.in
tipsdata_data_files = $(tipsdata_in_files:.xml.in=.xml)
tipsdata_DATA = $(tipsdata_data_files)
EXTRA_DIST = \
$(tipsdata_DATA) \
$(tipsdata_in_files) \
gimp-tips.dtd \
fortunes.xsl
DISTCLEANFILES = $(tipsdata_data_files)
gimp-tips.xml: gimp-tips.xml.in $(wildcard $(top_srcdir)/po-tips/*.po)
$(INTLTOOL_MERGE) $(top_srcdir)/po-tips $< $(@) -x -u -c $(top_builddir)/po-tips/.intltool-merge-cache
validate: gimp-tips.xml
if HAVE_XMLLINT
@$(XMLLINT) --noout --path $(srcdir) --valid $< || \
( echo "* gimp-tips.xml INVALID *"; exit 1; )
endif
fortunes: gimp-tips.xml fortunes.xsl
if HAVE_XSLTPROC
$(XSLTPROC) --stringparam lang en fortunes.xsl $< > $(@) || rm -f $(@)
else
@echo "xsltproc is needed to build fortunes"; exit 1;
endif
dist-hook: validate