diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..ceb3e6095 --- /dev/null +++ b/Makefile @@ -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