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

if DOC_ONLY
if ENABLE_DOC
  SUBDIRS = . doc
else
  SUBDIRS = .
endif
else
if ENABLE_DOC
  SUBDIRS = . src contrib doc
else
  SUBDIRS = . src contrib
endif
endif

@DX_RULES@

TESTS = contrib/check-prebuilt

ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = \
 AUTHORS \
 COPYING.GPL \
 COPYING.AGPL \
 COPYING.LGPL \
 contrib/gnunet.tag \
 contrib/microhttpd.tag \
 contrib/taler-exchange.tag

app:
	mkdir -p $(PACKAGE)-frontend-$(VERSION)-app
	tar cf - AUTHORS README copylib/Makefile.am copylib/*.php examples/blog/*.php examples/blog/*.html examples/blog/Makefile.am examples/blog/web-common/taler-presence.* | (cd $(PACKAGE)-frontend-$(VERSION)-app ; tar xf -)
	tar cf $(PACKAGE)-frontend-$(VERSION)-app.tgz $(PACKAGE)-frontend-$(VERSION)-app
	rm -rf $(PACKAGE)-frontend-$(VERSION)-app
	mkdir -p $(PACKAGE)-backend-$(VERSION)-app
	tar cf - configure.ac AUTHORS README Makefile.am `find src/ -name "*.c" -o -name "*.h" -o -name Makefile.am` | (cd $(PACKAGE)-backend-$(VERSION)-app ; tar xf -)
	tar cf $(PACKAGE)-backend-$(VERSION)-app.tgz $(PACKAGE)-backend-$(VERSION)-app
	rm -rf $(PACKAGE)-backend-$(VERSION)-app