aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 55d389e..709364c 100644
--- a/Makefile
+++ b/Makefile
@@ -38,12 +38,17 @@ manpages = $(manpages.in:.in=)
all: $(manpages) src/gistatic
check: all src/gistatic.t
+ rm -f tests/resources/repo-1/.git
+ rm -f tests/resources/repo-2/.git
+ ln -s .gitdir tests/resources/repo-1/.git
+ ln -s .gitdir tests/resources/repo-2/.git
./src/gistatic.t
sh aux/assert-catgets.sh src/gistatic.c
clean:
rm -rf public/ $(manpages) README.*.md CHANGELOG.*.md messages.mo \
- src/gistatic src/gistatic.t vgcore.*
+ src/gistatic src/gistatic.t vgcore.* \
+ tests/resources/repo-1/.git tests/resources/repo-2/.git
install: all
mkdir -p $(DESTDIR)$(PREFIX)/bin