- Makefile to create distribution, pear package, documentation

This commit is contained in:
steinm 2011-01-10 17:08:44 +00:00
parent fac749e646
commit 7329d1ecb7

22
Makefile Normal file
View File

@ -0,0 +1,22 @@
VERSION=3.0.0-RC1
SRC=CHANGELOG* inc conf index.php LetoDMS.php languages op out webdav README reset_db.sql create_tables.sql create_tables-innodb.sql drop-tables-innodb.sql delete_all_contents.sql styles TODO UPDATE-* LICENSE Makefile package.xml
dist:
mkdir -p tmp/letoDMS-$(VERSION)
cp -a $(SRC) tmp/letoDMS-$(VERSION)
(cd tmp; tar --exclude=.svn -czvf ../letoDMS-$(VERSION).tar.gz letoDMS-$(VERSION))
rm -rf tmp
pear:
pear package
webdav:
mkdir -p tmp/letoDMS-webdav-$(VERSION)
cp webdav/* tmp/letoDMS-webdav-$(VERSION)
(cd tmp; tar --exclude=.svn -czvf ../letoDMS-webdav-$(VERSION).tar.gz letoDMS-webdav-$(VERSION))
rm -rf tmp
doc:
phpdoc -d inc -t html
.PHONY: webdav