Archived
1
0
Fork 0

Fix project creation

This commit is contained in:
Mercier Pierre-Olivier 2013-09-09 14:02:59 +02:00
parent b27e8e45ae
commit 67b5a79301
3 changed files with 9 additions and 3 deletions

View file

@ -1,5 +1,6 @@
COPY=cp -v
DEST=/usr/local/share/perl/`ls -1 /usr/lib/perl/ | tail -1`/
GITOLITE_DEST=/srv/git/repositories/.gitolite
MAKEDIR=mkdir
PROVER=prove -f
RM=rm
@ -8,9 +9,11 @@ TESTDIR=t
install:
$(MAKEDIR) -p $(DEST)
$(COPY) -r ACU/ $(DEST)
test -d $(GITOLITE_DEST)/src && $(COPY) hooks/* $(GITOLITE_DEST)/src
unstall:
$(RM) -r $(DEST)/ACU/
test -d $(GITOLITE_DEST)/src && $(RM) $(GITOLITE_DEST)/src/*
test:
$(PROVER) $(TESTDIR)