aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am.in
blob: 01cd6ac2f56c35719de2b157edda39813b31453c (plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# This file is in the public domain.

SUBDIRS = .

tmplpkgdatadir = $(datadir)/taler/exchange/templates/
dist_tmplpkgdata_DATA = \
  persona-exchange-unauthorized.en.must \
  persona-load-failure.en.must \
  persona-exchange-unpaid.en.must \
  persona-logic-failure.en.must \
  persona-invalid-response.en.must \
  persona-network-timeout.en.must \
  persona-kyc-failed.en.must \
  persona-provider-failure.en.must

termsdir=$(datadir)/taler/terms/
terms_DATA = \
  exchange-tos-v0.rst \
  exchange-tos-bfh-v0.rst \
  exchange-pp-v0.rst

install-exec-local:
	find locale/ -name "*.po"
	mkdir -p $(DESTDIR)$(datadir)
	cp --parents -r $$(find locale/ -name "*.po") $(DESTDIR)$(datadir)

rdatadir=$(datadir)/taler/exchange
rdata_DATA = \
  auditor-report.tex.j2

bin_SCRIPTS = \
  taler-auditor-dbconfig \
  taler-exchange-dbconfig \
  taler-terms-generator \
  taler-bank-manage-testing


edit_script = $(SED) -e 's,%termsdir%,$(termsdir),'g -e 's,%localedir%,$(localedir),'g $(NULL)
taler-terms-generator: taler-terms-generator.in
	rm -f $@ $@.tmp && \
	$(edit_script) $< >$@.tmp && \
	chmod a-w+x $@.tmp && \
	mv $@.tmp $@

CLEANFILES = \
  taler-terms-generator

EXTRA_DIST = \
  locale/de/LC_MESSAGES/exchange-tos-v0.po \
  taler-bank-manage-testing \
  taler-nexus-prepare \
  taler-terms-generator.in \
  taler-auditor-dbconfig \
  taler-exchange-dbconfig \
  gana-generate.sh \
  gana/gnu-taler-error-codes/registry.rec \
  gana/gnu-taler-error-codes/Makefile \
  $(terms_DATA) \
  $(rdata_DATA) \
  coverage.sh \
  gnunet.tag \
  microhttpd.tag \
  packages

spapkgdatadir = $(prefix)/share/taler/exchange/spa/

# This is for the single-page-app imported from the wallet-core.git
# prebuilt branch. This MUST be the last line in the
# Makefile.am.in, as it will be combined with the
# actual SPA data by 'bootstrap'!
dist_spapkgdata_DATA = \