File: dont-force-set-prefix

package info (click to toggle)
signify 1.14-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 208 kB
  • sloc: perl: 892; makefile: 36
file content (14 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: allow override of the PREFIX
Author: Mattia Rizzolo <mattia@debian.org>
Last-Update 2015-12-23
Forwarded: no

--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 
-PREFIX = /usr/local
+PREFIX ?= /usr/local
 
 BINDIR = $(PREFIX)/bin
 MANDIR = $(PREFIX)/man