Gimp/data/tips/Makefile.am
Sven Neumann 1c4122c5d0 Switch to a more standard way of treating the translations for the startup
2005-06-10  Sven Neumann  <sven@gimp.org>

	Switch to a more standard way of treating the translations for the
	startup tips (bug #171846):

	* Makefile.am
	* configure.in: removed tips directory; added data/tips and po-tips
	directories instead.

	* data/Makefile.am
	* data/AUTHORS
	* data/ChangeLog
	* data/README: removed these three outdated files.

	* data/tips: gimp.tips.xml and related files live here now.

	* po-tips: translations of the tips are found here now.

	* README.i18n: changed accordingly.
2005-06-10 16:38:36 +00:00

38 lines
870 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_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-cachemake
validate: gimp-tips.xml
if HAVE_XMLLINT
@cd $(srcdir); \
$(XMLLINT) --noout --valid gimp-tips.xml || \
( echo "* gimp-tips.xml INVALID *"; exit 1; )
endif
fortunes: gimp-tips.xml.in fortunes.xsl
if HAVE_XSLTPROC
$(XSLTPROC) fortunes.xsl $< > $(@) || rm -f $(@)
else
@echo "xsltproc is needed to build fortunes"; exit 1;
endif
dist-hook: validate