GitBucket
4.21.2
Toggle navigation
Snippets
Sign in
Files
Branches
1
Releases
Issues
Pull requests
Labels
Priorities
Milestones
Wiki
Forks
nigel.stanger
/
Digital_Repository
Browse code
- Added BINDIR variable.
- Added more options to rsync command.
master
1 parent
3c8adac
commit
445bb1863ad2baba4d101e6c43fe654e632af8f8
nstanger
authored
on 15 Nov 2005
Patch
Showing
1 changed file
Repositories/otago_eprints/Makefile
Ignore Space
Show notes
View
Repositories/otago_eprints/Makefile
SHELL=/bin/sh ARCHIVE_NAME:=otago_eprints EPRINTS:=/usr/local/eprints BINDIR:=$(EPRINTS)/bin ARCHIVE_ROOT:=$(EPRINTS)/archives/$(ARCHIVE_NAME) ARCHIVE_CONFIG:=$(EPRINTS)/archives/$(ARCHIVE_NAME).xml .PHONY: deploy restart deploy: @sudo rsync --verbose --cvs-exclude --exclude=Makefile --recursive \ --times --delete --delete-excluded . $(EPRINTS)/archives sudo chown -R www:www $(ARCHIVE_CONFIG) $(ARCHIVE_ROOT) restart: sudo /usr/sbin/apachectl stop while [ -f /var/run/httpd/pid ]; do; done debug: @echo "ARCHIVE_NAME = [$(ARCHIVE_NAME)]" @echo "EPRINTS = [$(EPRINTS)]" @echo "ARCHIVE_ROOT = [$(ARCHIVE_ROOT)]" @echo "ARCHIVE_CONFIG = [$(ARCHIVE_CONFIG)]"
SHELL=/bin/sh ARCHIVE_NAME:=otago_eprints EPRINTS:=/usr/local/eprints ARCHIVE_ROOT:=$(EPRINTS)/archives/$(ARCHIVE_NAME) ARCHIVE_CONFIG:=$(EPRINTS)/archives/$(ARCHIVE_NAME).xml .PHONY: deploy restart deploy: @sudo rsync --verbose --cvs-exclude --exclude=Makefile --recursive --times . $(EPRINTS)/archives sudo chown -R www:www $(ARCHIVE_CONFIG) $(ARCHIVE_ROOT) restart: sudo /usr/sbin/apachectl stop while [ -f /var/run/httpd/pid ]; do; done debug: @echo "ARCHIVE_NAME = [$(ARCHIVE_NAME)]" @echo "EPRINTS = [$(EPRINTS)]" @echo "ARCHIVE_ROOT = [$(ARCHIVE_ROOT)]" @echo "ARCHIVE_CONFIG = [$(ARCHIVE_CONFIG)]"
Show line notes below