aboutsummaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-19 16:29:16 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-19 16:29:16 +0100
commit95ab500e198f6cb17505af306f9c6c9ffa834144 (patch)
tree654d502d07b555286f3ccc374f6a5a5373d7f4bd /Makefile.am
parentc332698763e6f9b80e3539029402ddbc1c9e8900 (diff)
adding 'app' target
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index a00f0f91..6840c791 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -3,3 +3,9 @@ AM_CPPFLAGS = -I$(top_srcdir)/src/include
SUBDIRS = src copylib examples
ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = AUTHORS COPYING.GPL COPING.AGPL COPYING.LGPL
+
+app:
+ mkdir -p $(PACKAGE)-$(VERSION)-app
+ tar cf - configure.ac AUTHORS README copylib/Makefile.am copylib/*.php examples/blog/*.php examples/blog/*.html examples/blog/Makefile.am examples/blog/web-common/taler-presence.* Makefile.am `find src/ -name "*.c" -o -name "*.h" -o -name Makefile.am` | (cd $(PACKAGE)-$(VERSION)-app ; tar xf -)
+ tar cf $(PACKAGE)-$(VERSION)-app.tgz $(PACKAGE)-$(VERSION)-app
+ rm -rf $(PACKAGE)-$(VERSION)-app