File: Makefile.am

package info (click to toggle)
gimp 2.6.10-1%2Bsqueeze4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 128,948 kB
  • ctags: 55,327
  • sloc: ansic: 635,142; lisp: 10,678; sh: 10,420; makefile: 9,729; python: 3,366; perl: 2,713; xml: 1,152; yacc: 554; lex: 339
file content (38 lines) | stat: -rw-r--r-- 894 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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