diff --git a/Repositories/otago_eprints/Makefile b/Repositories/otago_eprints/Makefile new file mode 100755 index 0000000..e8b7587 --- /dev/null +++ b/Repositories/otago_eprints/Makefile @@ -0,0 +1,13 @@ +SHELL=/bin/sh + +DEPLOY_ROOT=/usr/lcoal/eprints/archives +DEPLOY_DIR=$(DEPLOY_DIR)/otago_eprints + +.PHONY: deploy + +deploy: otago_eprints.xml + sudo -u www cp $< /usr/local/eprints/archives + sudo -u www chown www:www /usr/local/eprints/archives/$< + sudo -u www /usr/local/eprints/bin/generate_apacheconf + sudo /usr/sbin/apachectl stop + sudo /usr/sbin/apachectl start