aboutsummaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
blob: eb4c86b0a1d11bef697c05a3fcc4e20a109e7fff (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
# This file is in the public domain.

SUBDIRS = .

tmplpkgdatadir = $(prefix)/share/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/exchange/
terms_DATA = \
  tos-v0.rst \
  tos-bfh-v0.rst \
  pp-v0.rst

install-exec-local:
	pwd
	find locale/ -name "*.po"
	cp --parents -r $$(find locale/ -name "*.po") $(termsdir)

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

bin_SCRIPTS = \
  taler-terms-generator \
  taler-bank-manage-testing \
  taler-nexus-prepare

edit_script = $(SED) -e 's,%termsdir%,$(termsdir),'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/tos-v0.po \
  taler-bank-manage-testing \
  taler-nexus-prepare \
  taler-terms-generator.in \
  gana-update.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