浏览代码

Better Support for Overriding Install Prefix

By not always appending "/usr" to the path, it enables install into /usr/local
and better integration with tools like stow.
Matthew Andersen 6 年前
父节点
当前提交
a1a4c52a5d
共有 1 个文件被更改,包括 3 次插入1 次删除
  1. 3
    1
      Makefile

+ 3
- 1
Makefile 查看文件

@@ -1,4 +1,6 @@
1
-PREFIX=$(DESTDIR)/usr
1
+ifeq ($(PREFIX),)
2
+	PREFIX := /usr
3
+endif
2 4
 BINDIR=$(PREFIX)/bin
3 5
 MANDIR=$(PREFIX)/share/man/man1
4 6