From 59d56ea49861eaebb2afef1c1a87649eb5e51bbe Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 23 Mar 2018 17:45:32 +0100 Subject: [PATCH] add target to create repository --- Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 696af4d6c..dad42bf62 100644 --- a/Makefile +++ b/Makefile @@ -36,6 +36,16 @@ webapp: (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) + 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 + (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 @@ -53,4 +63,4 @@ doc: apidoc: apigen generate -s SeedDMS_Core --exclude tests -d html -.PHONY: webdav webapp +.PHONY: webdav webapp repository