2017-01-12 16:45:36 +00:00
|
|
|
VERSION=4.3.32
|
2017-01-06 06:26:09 +00:00
|
|
|
SRC=CHANGELOG inc conf utils index.php languages views op out doc drop-tables-innodb.sql styles TODO LICENSE Makefile webdav install restapi pdfviewer
|
2014-02-26 22:09:53 +00:00
|
|
|
# webapp
|
2011-01-10 17:08:44 +00:00
|
|
|
|
2017-01-06 06:21:02 +00:00
|
|
|
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
|
|
|
|
|
2014-11-19 16:03:34 +00:00
|
|
|
PHPDOC=~/Downloads/phpDocumentor-2.8.1/bin/phpdoc
|
|
|
|
|
2011-01-10 17:08:44 +00:00
|
|
|
dist:
|
2013-02-14 11:10:53 +00:00
|
|
|
mkdir -p tmp/seeddms-$(VERSION)
|
|
|
|
cp -a $(SRC) tmp/seeddms-$(VERSION)
|
2017-01-06 06:21:02 +00:00
|
|
|
(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))
|
2011-01-10 17:08:44 +00:00
|
|
|
rm -rf tmp
|
|
|
|
|
|
|
|
pear:
|
2013-02-14 11:10:53 +00:00
|
|
|
(cd SeedDMS_Core/; pear package)
|
|
|
|
(cd SeedDMS_Lucene/; pear package)
|
|
|
|
(cd SeedDMS_Preview/; pear package)
|
2015-08-10 19:39:40 +00:00
|
|
|
(cd SeedDMS_SQLiteFTS/; pear package)
|
2011-01-10 17:08:44 +00:00
|
|
|
|
|
|
|
webdav:
|
2013-02-14 11:10:53 +00:00
|
|
|
mkdir -p tmp/seeddms-webdav-$(VERSION)
|
|
|
|
cp webdav/* tmp/seeddms-webdav-$(VERSION)
|
|
|
|
(cd tmp; tar --exclude=.svn -czvf ../seeddms-webdav-$(VERSION).tar.gz seeddms-webdav-$(VERSION))
|
2011-01-10 17:08:44 +00:00
|
|
|
rm -rf tmp
|
|
|
|
|
2013-05-29 16:16:38 +00:00
|
|
|
webapp:
|
|
|
|
mkdir -p tmp/seeddms-webapp-$(VERSION)
|
|
|
|
cp -a restapi webapp tmp/seeddms-webapp-$(VERSION)
|
|
|
|
(cd tmp; tar --exclude=.svn -czvf ../seeddms-webapp-$(VERSION).tar.gz seeddms-webapp-$(VERSION))
|
|
|
|
rm -rf tmp
|
|
|
|
|
2011-01-10 17:08:44 +00:00
|
|
|
doc:
|
2014-11-19 16:03:34 +00:00
|
|
|
$(PHPDOC) -d SeedDMS_Core --ignore 'getusers.php,getfoldertree.php,config.php,reverselookup.php' --force -t html
|
2011-01-10 17:08:44 +00:00
|
|
|
|
2015-06-24 10:41:26 +00:00
|
|
|
apidoc:
|
2016-09-23 10:47:02 +00:00
|
|
|
apigen generate -s SeedDMS_Core --exclude tests -d html
|
2015-06-24 10:41:26 +00:00
|
|
|
|
2013-05-29 16:16:38 +00:00
|
|
|
.PHONY: webdav webapp
|