File: 24-makefile_for_dh.diff

package info (click to toggle)
netpipes 4.2-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 940 kB
  • sloc: ansic: 11,895; makefile: 353
file content (21 lines) | stat: -rw-r--r-- 669 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: Let the makefile use DESTDIR for compatibility.
 Ease the use of automatic build using debhelper.
Author: Mats Erik Andersson <debian@gisladisker.se>
Forwarded: not-needed
Last-Update: 2010-04-23
--- netpipes-4.2.debian/Makefile
+++ netpipes-4.2/Makefile
@@ -17,10 +17,10 @@
 
 # You probably want to change this:
 #INSTROOT = ${HOME}
-INSTROOT = /depot/collections0/netpipes4.1
+DESTDIR = /depot/collections0/netpipes4.1
 #INSTROOT = /usr/local
-INSTBIN = ${INSTROOT}/bin
-INSTMAN = ${INSTROOT}/share/man
+INSTBIN = ${DESTDIR}/usr/bin
+INSTMAN = ${DESTDIR}/usr/share/man
 
 # For those who wish to use gcc instead of the vendor's compiler.
 #CC=gcc -Wall