autotagging: fix a tiny quirk, and document autotagging properly
[guilt.git] / Makefile
blobaf53fb52bc6f695863856b5aca7f906475e8649b
1 PREFIX=/usr/local
2 DESTDIR=
4 SCRIPTS = guilt \
5 $(filter-out $(wildcard *~),$(wildcard guilt-*))
7 .PHONY: all
8 all: doc
9 @echo "Nothing to build, it is all bash :)"
10 @echo "Try make install"
12 .PHONY: install
13 install:
14 install -d $(DESTDIR)$(PREFIX)/bin/
15 install -m 755 $(SCRIPTS) $(DESTDIR)$(PREFIX)/bin/
17 .PHONY: uninstall
18 uninstall:
19 ./uninstall $(DESTDIR)$(PREFIX)/bin/ $(SCRIPTS)
21 .PHONY: doc
22 doc:
23 $(MAKE) -C Documentation all
25 .PHONY: install-doc
26 install-doc:
27 $(MAKE) -C Documentation install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR)
29 .PHONY: test
30 test:
31 make -C regression all
33 .PHONY: clean
34 clean:
35 $(MAKE) -C Documentation clean