Archived
1
0
This repository has been archived on 2021-10-08. You can view files and clone it, but cannot push or open issues or pull requests.
ACU/Makefile

37 lines
823 B
Makefile
Raw Normal View History

2013-09-09 11:51:53 +00:00
COPY=cp -v
DEST=/usr/local/share/perl/`ls -1 /usr/lib/perl/ | tail -1`/
2013-09-14 08:52:59 +00:00
GIT=/usr/bin/git
2013-09-12 10:53:02 +00:00
GITOLITE_DEST=/usr/share/gitolite/hooks/common
2013-09-09 11:51:53 +00:00
MAKEDIR=mkdir
PROVER=prove -f
RM=rm
TESTDIR=t
SHELL=/bin/sh
launch:
2013-09-15 10:52:20 +00:00
$(SHELL) ./process/launch.sh
2013-09-09 11:51:53 +00:00
install:
2013-09-14 08:52:59 +00:00
$(SHELL) commands/first-install.sh
2013-09-09 11:51:53 +00:00
$(MAKEDIR) -p $(DEST)
$(COPY) -r ACU/ $(DEST)
! test -d $(GITOLITE_DEST) || $(MAKEDIR) -p $(GITOLITE_DEST)/update.secondary.d
! test -d $(GITOLITE_DEST) || $(COPY) hooks/* $(GITOLITE_DEST)/update.secondary.d/
2013-09-09 11:51:53 +00:00
update:
2013-09-14 08:56:31 +00:00
$(GIT) pull
$(SHELL) commands/first-install.sh
upgrade: install
2013-09-14 08:52:59 +00:00
2013-09-09 11:51:53 +00:00
unstall:
$(RM) -r $(DEST)/ACU/
! test -d $(GITOLITE_DEST) || $(RM) -rf $(GITOLITE_DEST)/update.secondary.d
! test -d $(GITOLITE_DEST) || $(MAKEDIR) -p $(GITOLITE_DEST)/update.secondary.d
2013-09-09 11:51:53 +00:00
test:
$(PROVER) $(TESTDIR)
testv:
$(PROVER) -v $(TESTDIR)