Source reconstructed at patch state 0 of 2 — not the installed (fully patched) source.
2 Debian patches touch this file
| 1 |
PREFIX?=/usr/local |
| 2 |
DESTDIR?= |
| 3 |
INSTALL?=install |
| 4 |
|
| 5 |
OSFILES = $(filter-out $(wildcard *~),$(wildcard os.*)) |
| 6 |
SCRIPTS = $(filter-out $(wildcard *~),$(wildcard guilt-*)) |
| 7 |
|
| 8 |
.PHONY: all |
| 9 |
all: |
| 10 |
@echo "Nothing to build, it is all bash :)" |
| 11 |
@echo "Try make install" |
| 12 |
|
| 13 |
.PHONY: install |
| 14 |
install: |
| 15 |
$(INSTALL) -d $(DESTDIR)$(PREFIX)/bin/ |
| 16 |
$(INSTALL) -m 755 guilt $(DESTDIR)$(PREFIX)/bin/ |
| 17 |
$(INSTALL) -d $(DESTDIR)$(PREFIX)/lib/guilt/ |
| 18 |
$(INSTALL) -m 755 $(SCRIPTS) $(DESTDIR)$(PREFIX)/lib/guilt/ |
| 19 |
$(INSTALL) -m 644 $(OSFILES) $(DESTDIR)$(PREFIX)/lib/guilt/ |
| 20 |
|
| 21 |
.PHONY: uninstall |
| 22 |
uninstall: |
| 23 |
./uninstall $(DESTDIR)$(PREFIX)/bin/ $(SCRIPTS) |
| 24 |
|
| 25 |
.PHONY: doc |
| 26 |
doc: |
| 27 |
$(MAKE) -C Documentation all |
| 28 |
|
| 29 |
.PHONY: install-doc |
| 30 |
install-doc: |
| 31 |
$(MAKE) -C Documentation install PREFIX=$(PREFIX) DESTDIR=$(DESTDIR) INSTALL=$(INSTALL) |
| 32 |
|
| 33 |
.PHONY: test |
| 34 |
test: |
| 35 |
make -C regression all |
| 36 |
|
| 37 |
.PHONY: clean |
| 38 |
clean: |
| 39 |
$(MAKE) -C Documentation clean |