File: Makefile.am

package info (click to toggle)
libqalculate 5.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,400 kB
  • sloc: cpp: 128,069; makefile: 151; sh: 114; xml: 39
file content (25 lines) | stat: -rw-r--r-- 756 bytes parent folder | download
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
#
# data/Makefile.am for qalculate
#

xmldir = $(datadir)/qalculate

xml_in_files = currencies.xml.in datasets.xml.in elements.xml.in functions.xml.in planets.xml.in prefixes.xml.in units.xml.in variables.xml.in
if COMPILED_DEFINITIONS
noinst_DATA = $(xml_in_files:.xml.in=.xml) eurofxref-daily.xml rates.json
else
xml_DATA = $(xml_in_files:.xml.in=.xml) eurofxref-daily.xml rates.json
endif

if ENABLE_NLS
%.xml: %.xml.in
	$(AM_V_GEN)GETTEXTDATADIRS=$(srcdir) GETTEXTDATADIR=$(srcdir) $(MSGFMT) --xml -L QALCULATE --template $< -d $(top_builddir)/po-defs-fixed/fixed -o $@
else
%.xml: %.xml.in
	cp $< $@
endif

EXTRA_DIST = $(xml_in_files) eurofxref-daily.xml rates.json its/qalculate.its its/qalculate.loc

DISTCLEANFILES = $(xml_in_files:.xml.in=.xml)