Package: funtools / 1.4.8-1

Copy-files-to-the-correct-destinations-according-to-multi.patch Patch series | download
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