gimp/tips/Makefile.am

100 lines
2.0 KiB
Makefile
Raw Normal View History

configure.in removed tips files, AC_SUBST GIMP_PLUGINS and GIMP_MODULES so * configure.in * Makefile.am: removed tips files, AC_SUBST GIMP_PLUGINS and GIMP_MODULES so you can easily skip those parts of the build * acinclude.m4 * config.sub * config.guess * ltconfig * ltmain.sh: libtool 1.3.2 * app/fileops.c: shuffle #includes to avoid warning about MIN and MAX [ The following is a big i18n patch from David Monniaux <david.monniaux@ens.fr> ] * tips/gimp_conseils.fr.txt * tips/gimp_tips.txt * tips/Makefile.am * configure.in: moved tips to separate dir * po-plugins: new dir for plug-in translation files * configure.in: add po-plugins dir and POTFILES processing * app/boundary.c * app/brightness_contrast.c * app/by_color_select.c * app/color_balance.c * app/convert.c * app/curves.c * app/free_select.c * app/gdisplay.c * app/gimpimage.c * app/gimpunit.c * app/gradient.c * app/gradient_select.c * app/install.c * app/session.c: various i18n tweaks * app/tips_dialog.c: localize tips filename * libgimp/gimpunit.c * libgimp/gimpunitmenu.c: #include "config.h" * plug-ins/CEL * plug-ins/CML_explorer * plug-ins/Lighting * plug-ins/apply_lens * plug-ins/autostretch_hsv * plug-ins/blur * plug-ins/bmp * plug-ins/borderaverage * plug-ins/bumpmap * plug-ins/bz2 * plug-ins/checkerboard * plug-ins/colorify * plug-ins/compose * plug-ins/convmatrix * plug-ins/cubism * plug-ins/depthmerge * plug-ins/destripe * plug-ins/gif * plug-ins/gifload * plug-ins/jpeg * plug-ins/mail * plug-ins/oilify * plug-ins/png * plug-ins/print * plug-ins/ps * plug-ins/xbm * plug-ins/xpm * plug-ins/xwd: plug-in i18n stuff -Yosh
1999-05-30 00:35:47 +08:00
## Process this file with automake to produce Makefile.in
tipsdatadir = $(gimpdatadir)/tips
tips_in_files = gimp-tips.xml.in
tipsdata_DATA = $(tips_in_files:.xml.in=.xml)
tips_POFILES = \
ca.po \
cs.po \
da.po \
de.po \
en_CA.po \
en_GB.po \
es.po \
eu.po \
2003-11-07 03:30:18 +08:00
fr.po \
he.po \
hu.po \
hr.po \
id.po \
2003-11-24 11:46:09 +08:00
it.po \
ja.po \
lt.po \
ms.po \
nb.po \
nl.po \
no.po \
pa.po \
pl.po \
pt.po \
pt_BR.po \
ru.po \
sk.po \
sr.po \
sr@Latn.po \
sv.po \
uk.po \
zh_CN.po \
zh_TW.po
EXTRA_DIST = \
ChangeLog \
POTFILES.in \
$(GETTEXT_PACKAGE)-tips.pot \
$(tips_POFILES) \
$(tipsdata_DATA) \
$(tips_in_files) \
gimp-tips.dtd \
fortunes.xsl \
update.sh
MAINTAINERCLEANFILES = $(GETTEXT_PACKAGE)-tips.pot $(tipsdata_DATA)
2002-03-09 00:38:44 +08:00
%.xml: %.xml.in $(srcdir)/$(GETTEXT_PACKAGE)-tips.pot $(wildcard $(srcdir)/*.po)
$(INTLTOOL_MERGE) $(srcdir) $< $(@) -x -u -c .intltool-merge-cache
2002-03-09 00:38:44 +08:00
GENPOT = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE)-tips --pot
MSGMERGE = INTLTOOL_EXTRACT=$(INTLTOOL_EXTRACT) $(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE)-tips --dist
$(srcdir)/$(GETTEXT_PACKAGE)-tips.pot: $(tips_in_files)
2002-03-09 00:38:44 +08:00
$(GENPOT)
update-po: $(srcdir)/$(GETTEXT_PACKAGE)-tips.pot
PATH=`pwd`/../src:$$PATH; \
cd $(srcdir); \
pofiles='$(tips_POFILES)'; \
for po in $$pofiles; do \
lang=`basename $$po .po`; \
cp $$lang.po $$lang.old.po; \
echo "$$lang:"; \
if $(MSGMERGE) $$lang; then \
rm -f $$lang.old.po; \
else \
echo "msgmerge for $$cat failed!"; \
rm -f $$lang.po; \
mv $$lang.old.po $$lang.po; \
fi; \
done
validate: update-po gimp-tips.xml
if HAVE_XMLLINT
@$(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