Explorar el Código

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 hace 6 años
padre
commit
a1a4c52a5d
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3
    1
      Makefile

+ 3
- 1
Makefile Ver fichero

@@ -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