From 5e7eddcd8680bf09bfe8903787ce7df04a8b7fce Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 6 Jan 2017 07:21:02 +0100 Subject: [PATCH] remove some files from dist before packaging --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 3cab650f6..fce6eeb4c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,9 @@ VERSION=5.0.8 -SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc drop-tables-innodb.sql styles js TODO LICENSE Makefile webdav install restapi pdfviewer +SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc drop-tables-innodb.sql styles TODO LICENSE Makefile webdav install restapi pdfviewer # webapp +NODISTFILES=Makefile utils/importmail.php utils/seedddms-importmail utils/remote-email-upload utils/remote-upload .svn .gitignore styles/blue styles/hc styles/clean views/blue views/hc views/clean + EXTENSIONS := \ dynamic_content.tar.gz\ login_action.tar.gz\ @@ -12,7 +14,7 @@ PHPDOC=~/Downloads/phpDocumentor-2.8.1/bin/phpdoc dist: mkdir -p tmp/seeddms-$(VERSION) cp -a $(SRC) tmp/seeddms-$(VERSION) - (cd tmp; tar --exclude=.svn --exclude=views/blue --exclude=views/hc --exclude=views/clean --exclude=styles/blue --exclude=styles/hc --exclude=styles/clean -czvf ../seeddms-$(VERSION).tar.gz seeddms-$(VERSION)) + (cd tmp; rm -rf $(NODISTFILES); tar --exclude=.svn --exclude=.gitignore --exclude=views/blue --exclude=views/hc --exclude=views/clean --exclude=styles/blue --exclude=styles/hc --exclude=styles/clean -czvf ../seeddms-$(VERSION).tar.gz seeddms-$(VERSION)) rm -rf tmp pear: