File: 05_install.pike.dpatch

package info (click to toggle)
pike7.6 7.6.112-dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 50,916 kB
  • ctags: 23,544
  • sloc: ansic: 257,802; xml: 82,717; makefile: 2,503; sh: 1,891; lisp: 655; asm: 237; pascal: 66; sed: 34; perl: 3
file content (28 lines) | stat: -rw-r--r-- 973 bytes parent folder | download | duplicates (2)
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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 05_install.pike.dpatch by  <magnus@proffe.kibibyte.se>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Allow include_prefix to be separately overridden in install.pike

@DPATCH@
diff -urNad trunk~/src/Makefile.in trunk/src/Makefile.in
--- trunk~/src/Makefile.in	2006-10-20 15:40:28.000000000 +0200
+++ trunk/src/Makefile.in	2007-09-26 09:51:13.000000000 +0200
@@ -53,7 +53,7 @@
 # TESTARGS = -F -a
 
 # Arguments for install.pike used by the install targets.
-INSTALLARGS = --new-style
+INSTALLARGS ?= --new-style
 
 #
 # use bison please, yacc isn't good enough.
@@ -506,7 +506,7 @@
 	MANDIR_SRC="$(MANDIR_SRC)" \
 	man_prefix="$(man_prefix)" pike_name=$(pike_name) \
 	fakeroot="$(buildroot)" PIKE_MODULE_RELOC="$(PIKE_MODULE_RELOC)" \
-	$(INSTALLARGS)
+	include_prefix="$(include_prefix)" $(INSTALLARGS)
 
 install_interactive: pike tools
 	@$(RUNPIKE) $(TMP_BINDIR)/install.pike --interactive \