aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/highlight/files/patch-makefile
blob: 4f8f21d3d645f38a363f444177e2a60110f8db70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
--- makefile.orig   2017-03-30 18:12:23 UTC
+++ makefile
@@ -4,10 +4,10 @@
 # Installation directories:
 
 # Destination directory for installation (intended for packagers)
-DESTDIR =
+DESTDIR ?=
 
 # Root directory for final installation
-PREFIX = /usr
+PREFIX ?= /usr
 
 # Location of the highlight data files:
 data_dir = ${PREFIX}/share/highlight/
@@ -16,7 +16,7 @@ data_dir = ${PREFIX}/share/highlight/
 bin_dir = ${PREFIX}/bin/
 
 # Location of the highlight man page:
-man_dir = ${PREFIX}/share/man/man1/
+man_dir = ${PREFIX}/man/man1/
 
 # Location of the highlight documentation:
 doc_dir = ${PREFIX}/share/doc/highlight/
@@ -25,8 +25,8 @@ doc_dir = ${PREFIX}/share/doc/highlight/
 examples_dir = ${doc_dir}examples/
 
 # Location of the highlight config files:
-conf_dir = /etc/highlight/
-#conf_dir = ${PREFIX}/etc/highlight/
+#conf_dir = /etc/highlight/
+conf_dir = ${PREFIX}/etc/highlight/
 
 # Location of additional gui files
 desktop_apps = ${PREFIX}/share/applications/