seeddms-code/Makefile

57 lines
1.9 KiB
Makefile
Raw Normal View History

VERSION=5.1.2
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc styles TODO LICENSE webdav install restapi pdfviewer
2014-02-26 22:09:53 +00:00
# webapp
2017-01-13 07:43:18 +00:00
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
2013-07-23 04:35:04 +00:00
EXTENSIONS := \
dynamic_content.tar.gz\
2013-07-31 19:55:41 +00:00
login_action.tar.gz\
2013-07-23 04:35:04 +00:00
example.tar.gz
PHPDOC=~/Downloads/phpDocumentor-2.8.1/bin/phpdoc
dist:
mkdir -p tmp/seeddms-$(VERSION)
cp -a $(SRC) tmp/seeddms-$(VERSION)
2017-01-13 07:43:18 +00:00
(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:
(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)
webdav:
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))
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
2013-07-23 04:35:04 +00:00
dynamic_content.tar.gz: ext/dynamic_content
tar czvf dynamic_content.tar.gz ext/dynamic_content
example.tar.gz: ext/example
tar czvf example.tar.gz ext/example
2013-07-31 19:55:41 +00:00
login_action.tar.gz: ext/login_action
tar czvf login_action.tar.gz ext/login_action
2013-07-23 04:35:04 +00:00
extensions: $(EXTENSIONS)
doc:
$(PHPDOC) -d SeedDMS_Core --ignore 'getusers.php,getfoldertree.php,config.php,reverselookup.php' --force -t html
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