fix creating of distribution

This commit is contained in:
Uwe Steinmann 2017-01-13 08:43:18 +01:00
parent fae3831e11
commit 4a91b359c8

View File

@ -1,15 +1,16 @@
VERSION=4.3.32
SRC=CHANGELOG inc conf utils index.php languages views op out doc drop-tables-innodb.sql styles TODO LICENSE Makefile webdav install restapi pdfviewer
SRC=CHANGELOG inc conf utils index.php languages views op out doc drop-tables-innodb.sql styles LICENSE 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
NODISTFILES=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
PHPDOC=~/Downloads/phpDocumentor-2.8.1/bin/phpdoc
dist:
mkdir -p tmp/seeddms-$(VERSION)
cp -a $(SRC) tmp/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))
(cd tmp/seeddms-$(VERSION); rm -rf $(NODISTFILES))
(cd tmp; 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: