aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-17 16:14:28 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-17 16:14:28 +0100
commit7479f3a2e53655c6190bf5bcdb31736bf41a56c6 (patch)
treecf7615482e95457b95877a27f4961e1d29861851
parentaba92c5bfa3efa9a7cabf2fc85b1f14bea2d8307 (diff)
add APP target
-rw-r--r--Makefile.am6
-rw-r--r--configure.ac2
2 files changed, 7 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index cbf014371..a0ff82d54 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2,3 +2,9 @@
AM_CPPFLAGS = -I$(top_srcdir)/src/include
SUBDIRS = src doc
ACLOCAL_AMFLAGS = -I m4
+
+app:
+ mkdir -p $(PACKAGE)-$(VERSION)-app
+ tar cf - configure.ac AUTHORS README doc/*.1 doc/*.5 doc/Makefile.am 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
diff --git a/configure.ac b/configure.ac
index 6004a7d66..5958785e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2,7 +2,7 @@
# Process this file with autoconf to produce a configure script.
#
# This file is part of TALER
-# Copyright (C) 2014, 2015 GNUnet e.V.
+# Copyright (C) 2014, 2015, 2016 GNUnet e.V. and Inria
#
# TALER is free software; you can redistribute it and/or modify it under the
# terms of the GNU General Public License as published by the Free Software