mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
73 lines
2.7 KiB
Makefile
73 lines
2.7 KiB
Makefile
VERSION=6.0.6
|
|
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc styles TODO LICENSE webdav install restapi pdfviewer
|
|
# webapp
|
|
|
|
NODISTFILES=utils/importmail.php utils/seedddms-importmail utils/remote-email-upload utils/remote-upload utils/da-bv-reminder.php utils/seeddms-da-bv-reminder .svn .gitignore styles/blue styles/hc styles/clean views/blue views/hc views/clean views/pca
|
|
|
|
EXTENSIONS := \
|
|
dynamic_content.tar.gz\
|
|
login_action.tar.gz\
|
|
example.tar.gz\
|
|
tbs_template.tar.gz
|
|
|
|
PHPDOC=~/Downloads/phpDocumentor-2.8.1/bin/phpdoc
|
|
|
|
dist:
|
|
mkdir -p tmp/seeddms-$(VERSION)
|
|
cp -a $(SRC) tmp/seeddms-$(VERSION)
|
|
(cd tmp/seeddms-$(VERSION); rm -rf $(NODISTFILES); mv conf conf.template)
|
|
(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)
|
|
(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
|
|
|
|
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
|
|
|
|
repository:
|
|
mkdir -p tmp/seeddms-repository-$(VERSION)
|
|
cp -a repository/www repository/utils repository/doc tmp/seeddms-repository-$(VERSION)
|
|
rm -f tmp/seeddms-repository/utils/update-repository.log
|
|
mkdir -p tmp/seeddms-repository-$(VERSION)/files
|
|
mkdir -p tmp/seeddms-repository-$(VERSION)/accounts
|
|
cp -a repository/files/.htaccess tmp/seeddms-repository-$(VERSION)/files
|
|
cp -a repository/accounts/.htaccess tmp/seeddms-repository-$(VERSION)/accounts
|
|
cp inc/inc.ClassExtensionMgr.php tmp/seeddms-repository-$(VERSION)/utils
|
|
(cd tmp; tar --exclude=.svn -czvf ../seeddms-repository-$(VERSION).tar.gz seeddms-repository-$(VERSION))
|
|
rm -rf tmp
|
|
|
|
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
|
|
|
|
login_action.tar.gz: ext/login_action
|
|
tar czvf login_action.tar.gz ext/login_action
|
|
|
|
tbs_template.tar.gz: ext/tbs_template
|
|
tar czvf tbs_template.tar.gz ext/tbs_template
|
|
|
|
extensions: $(EXTENSIONS)
|
|
|
|
doc:
|
|
$(PHPDOC) -d SeedDMS_Core --ignore 'getusers.php,getfoldertree.php,config.php,reverselookup.php' --force -t html
|
|
|
|
apidoc:
|
|
apigen generate -s SeedDMS_Core --exclude tests -d html
|
|
|
|
.PHONY: webdav webapp repository
|