diff --git a/Repositories/otago_eprints/Makefile b/Repositories/otago_eprints/Makefile index ec3d131..82027a1 100755 --- a/Repositories/otago_eprints/Makefile +++ b/Repositories/otago_eprints/Makefile @@ -2,7 +2,7 @@ # Load in machine-specific environment settings from environment_config.make. -# This include file MUST be created and MUST define the following variable: +# This include file MUST be created and MUST define the following variables: # # Used in Makefile # EPRINTS_ROOT: /path/to/eprints/installation @@ -30,12 +30,14 @@ ARCHIVE_ROOT:=$(EPRINTS_ROOT)/archives/$(ARCHIVE_NAME) ARCHIVE_CONFIG:=$(EPRINTS_ROOT)/archives/$(ARCHIVE_NAME).xml +GENERATED_FILES:=$(ARCHIVE_NAME).xml $(ARCHIVE_NAME)/cfg/apachevhost.conf + .PHONY: deploy generate_apacheconf import_subjects generate_static \ generate_abstracts generate_views restart_apache index stats -deploy: $(ARCHIVE_NAME).xml $(ARCHIVE_NAME)/cfg/apachevhost.conf +deploy: $(GENERATED_FILES) @announce "Copying files..." @sudo rsync --verbose --cvs-exclude --exclude=Makefile \ --exclude='*.make' --exclude='*_src.*' \