summaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
blob: 47c5e8eccd8bcc96b1ebef3ab75839a50e616e73 (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
# This Makefile.am is in the public domain
# Process this file with automake to produce Makefile.in

SUBDIRS = .

bin_SCRIPTS = \
  anastasis-dbconfig

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

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

extracted.h: *.json
	./extract.sh

noinst_SCRIPTS = extracted.h

pkgdatadir= $(prefix)/share/anastasis/

EXTRA_DIST = \
  locale/de/LC_MESSAGES/anastasis-tos-v0.po \
  $(bin_SCRIPTS) \
  $(pkgdata_DATA) \
  $(terms_DATA) \
  pogen.sh \
  uncrustify.cfg \
  uncrustify_precommit \
  gana.sh \
  gana-update.sh \
  microhttpd.tag \
  extract.sh \
  extracted.h

pkgdata_DATA = \
  redux.al.json \
  redux.be.json \
  redux.ch.json \
  redux.cz.json \
  redux.de.json \
  redux.dk.json \
  redux.es.json \
  redux.fr.json \
  redux.in.json \
  redux.it.json \
  redux.jp.json \
  redux.nl.json \
  redux.sk.json \
  redux.us.json \
  redux.xx.json \
  redux.countries.json \
  provider-list.json