commit: new command to permanently commit patches
[guilt.git] / Makefile
blob8403a80786bccd0debeb77909b29d2a1a7eeed39
1 PREFIX=/usr/local
3 SCRIPTS = guilt \
4 $(filter-out $(wildcard *~),$(wildcard guilt-*))
6 .PHONY: all
7 all: doc
8 @echo "Nothing to build, it is all bash :)"
9 @echo "Try make install"
11 .PHONY: install
12 install:
13 install -d $(PREFIX)/bin/
14 install -m 755 $(SCRIPTS) $(PREFIX)/bin/
16 .PHONY: uninstall
17 uninstall:
18 ./uninstall $(PREFIX)/bin/ $(SCRIPTS)
20 .PHONY: doc
21 doc:
22 $(MAKE) -C Documentation all
24 .PHONY: install-doc
25 install-doc:
26 $(MAKE) -C Documentation install PREFIX=$(PREFIX)
28 .PHONY: test
29 test:
30 make -C regression all
32 .PHONY: clean
33 clean:
34 $(MAKE) -C Documentation clean