]> arthur.barton.de Git - servertools.macosx.git/commitdiff
Enabled the make target "dist" to do real work :-)
authorAlexander Barton <alex@barton.de>
Fri, 11 Jun 2010 08:51:27 +0000 (10:51 +0200)
committerAlexander Barton <alex@barton.de>
Fri, 11 Jun 2010 08:51:27 +0000 (10:51 +0200)
Makefile

index 325b4be96880b08f6d1c59bafa49ffc1487c00c7..41c9d0889c667477bc7e11c6cbec8ae0da7e5238 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,8 @@
 # See the GNU General Public License for more details.
 #
 
+NAME = "servertools.macosx"
+
 TOOLS = odbackup
 
 PREFIX = /usr/local
@@ -29,6 +31,13 @@ install: all install-odbackup
 check: all
 
 dist:
+       COPYFILE_DISABLE=true tar cvzf $(NAME)-`date +%Y%m%d`.tar.gz \
+        --exclude ".git*" --exclude "*.tar.gz" --exclude "*.tgz" \
+        --exclude "._*" --exclude "*~" --exclude "*.bak" \
+        -C .. `basename $$PWD`
+
+
+distcheck: check dist
 
 odbackup: