export: Create subdirectories before copying the patch files
[guilt.git] / Makefile
blobeb4e9ab60a920c29ded0919c228cd29575440ab4
1 PREFIX=/usr/local
3 SCRIPTS = guilt \
4 $(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