Skip to content
This repository has been archived by the owner on Mar 5, 2022. It is now read-only.

Commit

Permalink
Makefile: Patch for Debian packaging
Browse files Browse the repository at this point in the history
* Add an empty `all' target (default) so that `make' does nothing;
* Add support for DESTDIR (https://www.gnu.org/prep/standards/html_node/DESTDIR.html).
  • Loading branch information
zmwangx committed Apr 30, 2016
1 parent 2b8fe3a commit dfe0476
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
PREFIX=/usr/local
BINDIR=$(PREFIX)/bin
MANDIR=$(PREFIX)/share/man/man1
DOCDIR=$(PREFIX)/share/doc/googler
BINDIR=$(DESTDIR)$(PREFIX)/bin
MANDIR=$(DESTDIR)$(PREFIX)/share/man/man1
DOCDIR=$(DESTDIR)$(PREFIX)/share/doc/googler
UNAME_S:=$(shell uname -s)


.PHONY: install uninstall
.PHONY: all install uninstall

all:

install:
install -m755 -d $(BINDIR)
Expand Down

0 comments on commit dfe0476

Please sign in to comment.