From 7479f3a2e53655c6190bf5bcdb31736bf41a56c6 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 17 Mar 2016 16:14:28 +0100 Subject: add APP target --- Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index cbf01437..a0ff82d5 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 -- cgit v1.2.3