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

SUBDIRS = src copylib examples
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = AUTHORS COPYING.GPL COPING.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