summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeandro Lucarella <leandro.lucarella@sociomantic.com>2014-05-08 11:17:49 +0200
committerMihails Strasuns <mihails.strasuns@sociomantic.com>2014-05-12 16:22:29 +0200
commit865e1d6266ee0924fa07d10ae2af2baa881218d4 (patch)
tree0691d0e4730fee1ebb49f5a8c1bebe0c6537824c
parente8d946f5ef9f2ee72ef0f36317cb49ee7b7eafee (diff)
Install files in /usr in the Debian package
The Makefile `deb` rule is broken and is not setting the `prefix`. This causes the files to be installed in `/usr/local` instead of `/usr` as regular Debian packages should do.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 509f0a3..8994d50 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ all: man bash-completion
.PHONY: deb
deb:
- $(MAKE) DESTDIR=deb/install install
+ $(MAKE) prefix=/usr DESTDIR=deb/install install
deb/build
.PHONY: man