diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 18:30:19 +0000 |
commit | 5c1676dfe6d2f3c837a5e074117b45613fd29a72 (patch) | |
tree | cbffb45144febf451e54061db2b21395faf94bfe /data/tips/Makefile.am | |
parent | Initial commit. (diff) | |
download | gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.tar.xz gimp-5c1676dfe6d2f3c837a5e074117b45613fd29a72.zip |
Adding upstream version 2.10.34.upstream/2.10.34upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | data/tips/Makefile.am | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/data/tips/Makefile.am b/data/tips/Makefile.am new file mode 100644 index 0000000..1de81ab --- /dev/null +++ b/data/tips/Makefile.am @@ -0,0 +1,38 @@ +## 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 |