summaryrefslogtreecommitdiff
path: root/contrib/Makefile.am
blob: a360ab5cc208589aa5f1dc094986436dc4ee959a (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
72
73
74
75
76
77
78
79
80
81
82
# This Makefile.am is in the public domain
# Process this file with automake to produce Makefile.in

SUBDIRS = .

# English (en)
tosendir=$(datadir)/anastasis/tos/en

# English (en)
ppendir=$(datadir)/anastasis/pp/en

tosen_DATA = \
  tos/en/0.txt \
  tos/en/0.pdf \
  tos/en/0.epub \
  tos/en/0.xml \
  tos/en/0.html

ppen_DATA = \
  pp/en/0.txt \
  pp/en/0.pdf \
  pp/en/0.epub \
  pp/en/0.xml \
  pp/en/0.html



pkgdatadir= $(prefix)/share/anastasis/

EXTRA_DIST = \
  $(pkgdata_DATA) \
  $(tosen_DATA) \
  $(ppen_DATA) \
  tos/Makefile \
  tos/README \
  tos/tos.rst \
  tos/conf.py \
  tos/locale/de/LC_MESSAGES/tos.po \
  pp/Makefile \
  pp/README \
  pp/pp.rst \
  pp/conf.py \
  pp/locale/de/LC_MESSAGES/pp.po \
  pogen.sh \
  uncrustify.cfg \
  uncrustify_precommit \
  gana.sh \
  gana-update.sh \
  microhttpd.tag

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

# Change the set of supported languages here. You should
# also update tos'XX'data and EXTRA_DIST accordingly.
TOS_LANGUAGES="en de"
PP_LANGUAGES="en de"

# Change the terms-of-service version (Etag) to generate here!
# This value should be incremented whenever there is a substantive
# change in the original text (but not for the translations).
TOS_VERSION=0
PP_VERSION=0

update-tos:
	VERSION=$(TOS_VERSION) ./update-tos.sh $(TOS_LANGUAGES)
update-pp:
	VERSION=$(PP_VERSION) ./update-pp.sh $(PP_LANGUAGES)