aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
blob: 5f796c57204d1bbed8da180c2d4d3618d5a20cde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This Makefile is in the public domain

SUBDIRS = src
if WITH_DOC
  SUBDIRS += doc
endif

ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = AUTHORS COPYING.GPL COPYING.AGPL COPYING.LGPL

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