Makefile.am 913 Bytes
Newer Older
1 2 3 4
## Process this file with automake to produce Makefile.in

tipsdatadir = $(gimpdatadir)/tips

5 6 7 8
tips_in_files = gimp-tips.xml.in

tipsdata_DATA = $(tips_in_files:.xml.in=.xml)

9
%.xml: %.xml.in $(GETTEXT_PACKAGE)-tips.pot $(wildcard $(srcdir)/*.po)
10 11 12 13 14 15 16
	$(INTLTOOL_MERGE) $(srcdir) $< $(@) -x -u -c .intltool-merge-cache

$(GETTEXT_PACKAGE)-tips.pot: gimp-tips.xml.in
	$(INTLTOOL_EXTRACT) --type=gettext/xml gimp-tips.xml.in
	$(INTLTOOL_UPDATE) --gettext-package $(GETTEXT_PACKAGE)-tips --pot

oldtips = \
17 18
	gimp_tips.txt		\
	gimp_tips.cs.txt	\
Fatih Demir's avatar
Fatih Demir committed
19
	gimp_tips.es.txt 	\
20
	gimp_tips.fr.txt	\
21
	gimp_tips.hu.txt	\
22
	gimp_tips.it.txt	\
Fatih Demir's avatar
Fatih Demir committed
23
	gimp_tips.ja.txt	\
24 25
	gimp_tips.ko.txt	\
	gimp_tips.pl.txt	\
Fatih Demir's avatar
Fatih Demir committed
26 27
	gimp_tips.ru.txt	\
	gimp_tips.tr.txt	\
Wang Jian's avatar
Wang Jian committed
28
	gimp_tips.uk.txt	\
29 30
	gimp_tips.zh_CN.txt	\
	gimp_tips.zh_TW.txt
31

32
EXTRA_DIST = \
33 34
	POTFILES.in		\
	$(tips_in_files)	\
35
	$(tipsdata_DATA)	\
36
	$(oldtips)		\
Sven Neumann's avatar
Sven Neumann committed
37
	ChangeLog		\
38 39
	makefile.mingw		\
	update.sh