From 72efa6cd47e413b671905ba68221e8c4cc702190 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 23 Sep 2025 18:13:41 +0200 Subject: [PATCH] add install target --- Makefile | 7 ++++++- build.xml | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 32b6570f8..ce0b36bc4 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,8 @@ NODISTFILES=utils/importmail.php utils/seedddms-importmail utils/remote-email-up PHPDOC=~/Downloads/phpDocumentor.phar +INSTALL_PATH=/home/www-data/seeddms-test + all: dist olddist: @@ -34,6 +36,9 @@ quickstart: quickstart-dev: php vendor/bin/phing -Dversion=$(VERSION) -Dmode=development package +install: + php vendor/bin/phing -Dversion=$(VERSION) -Dinstallpath=$(INSTALL_PATH) -Ddomain=dms.seeddms.org install + unittest: vendor/bin/phing -Dversion=$(VERSION) phpunitfast @@ -103,4 +108,4 @@ PKGFILE=SeedDMS_Core/package.xml changelog: @sgrep 'stag("DATE") .. etag("DATE") or ((stag("RELEASE") .. etag("RELEASE")) in (stag("VERSION") .. etag("VERSION"))) or inner(stag("NOTES") __ etag("NOTES"))' ${PKGFILE} | sed -e 's#^ *\([-0-9]*\)\([0-9.preRC]*\)#\n\n\2 (\1)\n---------------------#' | awk -F'\n' -vRS='' -vOFS='|' '{$$1=$$1}1' | sort -V -r | sed 's/$$/\n/' | tr '|' '\n' -.PHONY: doc webdav webapp repository changelog +.PHONY: doc webdav webapp repository changelog install diff --git a/build.xml b/build.xml index 9e3a9ac9c..b6dd8be87 100644 --- a/build.xml +++ b/build.xml @@ -294,4 +294,26 @@ + + + + + + + + + + + + + + + + + + + + + +