File: makefile-prefix.patch

package info (click to toggle)
spline 1.2-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 136 kB
  • ctags: 57
  • sloc: ansic: 355; makefile: 132; sh: 32
file content (13 lines) | stat: -rw-r--r-- 296 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: make Makefile obey $(DESTDIR)
Author: Stuart Prescott <stuart+debian@nanonanonano.net>
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@
 SRCS    = utils.c
 OBJS	= ${SRCS:.c=.o}
 
-prefix  = /usr
+prefix  = $(DESTDIR)/usr
 BINDIR  = $(prefix)/bin
 MANDIR  = $(prefix)/share/man/man1