diff options
| author | Paul C. Buetow <paul@buetow.org> | 2014-04-15 21:12:22 +0200 |
|---|---|---|
| committer | Paul C. Buetow <paul@buetow.org> | 2014-04-15 21:12:22 +0200 |
| commit | 98e01c261c1933dd1cf2ad4eff5f1f04a6a12e8d (patch) | |
| tree | 7a69c8d97416f8ec4ef12937abb40a3504fedb9f | |
| parent | 997d81221b547804527fc7ccac2ac2b7aed5b5b6 (diff) | |
| parent | 723ec4880e7bcc1ae47bdb1ed65767ae14aa927c (diff) | |
Merge branch 'master' of github.com:rantanplan/fapi
| -rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -12,9 +12,11 @@ install: cp ./bin/$(NAME) $(DESTDIR)/usr/bin/$(NAME) cp ./bin/$(NAME) $(DESTDIR)/usr/bin/f cp $(NAME).conf.sample $(DESTDIR)/usr/share/$(NAME) + test -z '$(DESTDIR)' && gzip -c ./docs/$(NAME).1 > /usr/share/man/man1/$(NAME).1.gz deinstall: - test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/bin/$(NAME) && rm $(DESTDIR)/usr/bin/$(NAME) || exit 0 - test ! -z "$(DESTDIR)" && test -f $(DESTDIR)/usr/share/$(NAME) && rm -r $(DESTDIR)/usr/share/$(NAME) || exit 0 + test ! -z '$(DESTDIR)' && test -f $(DESTDIR)/usr/bin/$(NAME) && rm $(DESTDIR)/usr/bin/$(NAME) || exit 0 + test ! -z '$(DESTDIR)' && test -f $(DESTDIR)/usr/share/$(NAME) && rm -r $(DESTDIR)/usr/share/$(NAME) || exit 0 + test -z '$(DESTDIR)' && rm /usr/share/man/man1/$(NAME).1.gz clean: rm bin/* # Parses the version out of the Debian changelog |
