File: Copy-files-to-the-correct-destinations-according-to-multi.patch

package info (click to toggle)
funtools 1.4.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,004 kB
  • sloc: ansic: 89,502; sh: 10,714; lex: 4,613; asm: 3,281; ada: 1,681; makefile: 1,468; pascal: 1,089; cpp: 1,001; cs: 879; perl: 161; python: 119; yacc: 64; sed: 38; csh: 10; tcl: 9
file content (41 lines) | stat: -rw-r--r-- 1,526 bytes parent folder | download | duplicates (3)
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
36
37
38
39
40
41
From: Ole Streicher <debian@liska.ath.cx>
Date: Tue, 25 Oct 2016 21:52:53 +0200
Subject: Copy files to the correct destinations according to multiarch.

The corresponding variables are set with debhelper compat
9. tcl-funtools is not multiarch yet.
---
 Makefile.in | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 6b9f117..543fc80 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,20 +37,20 @@ exec_prefix =		@exec_prefix@
 INSTALL_ROOT = $(DESTDIR)
 
 # Directory in which to install the .a or .so binary for the FUNTOOLS library:
-LIB_INSTALL_DIR =	$(INSTALL_ROOT)$(exec_prefix)/lib
-TCL_LIB_INSTALL_DIR =  $(LIB_INSTALL_DIR)/tcltk/funtools
+LIB_INSTALL_DIR =	$(INSTALL_ROOT)@libdir@
+TCL_LIB_INSTALL_DIR =   $(INSTALL_ROOT)$(exec_prefix)/lib/tcltk/funtools
 
 # Directory in which to install the program wish:
-BIN_INSTALL_DIR =	$(INSTALL_ROOT)$(exec_prefix)/bin
+BIN_INSTALL_DIR =	$(INSTALL_ROOT)@bindir@
 
 # Directory in which to install the funtools.h include file:
-INCLUDE_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/include/funtools
+INCLUDE_INSTALL_DIR =	$(INSTALL_ROOT)@includedir@/funtools
 
 # Top-level directory for manual entries:
-MAN_INSTALL_DIR =	$(INSTALL_ROOT)$(prefix)/share/man
+MAN_INSTALL_DIR =	$(INSTALL_ROOT)@mandir@
 
 # Top-level directory for share entries:
-MAN_SHARE_DIR =		$(INSTALL_ROOT)$(prefix)/share/funtools
+MAN_SHARE_DIR =		$(INSTALL_ROOT)@datadir@/funtools
 
 # util files are in the util subdirectory
 UTIL_INC =		-I./util