Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (27 sloc) 638 Bytes
PREFIX=/usr/local
DESTDIR=
SCRIPTS = guilt \
$(filter-out $(wildcard *~),$(wildcard guilt-*))
.PHONY: all
all: doc
@echo "Nothing to build, it is all bash :)"
@echo "Try make install"
.PHONY: install
install:
install -d $(DESTDIR)$(PREFIX)/bin/
install -m 755 $(SCRIPTS) $(DESTDIR)$(PREFIX)/bin/
.PHONY: uninstall
uninstall:
./uninstall $(DESTDIR)$(PREFIX)/bin/ $(SCRIPTS)
.PHONY: doc
doc:
$(MAKE) -C Documentation all
.PHONY: install-doc
install-doc:
$(MAKE) -C Documentation install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR)
.PHONY: test
test:
make -C regression all
.PHONY: clean
clean:
$(MAKE) -C Documentation clean