Package: funtools / 1.4.4+dfsg2-1

multiarch.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
Author: Ole Streicher <debian@liska.ath.cx>
Description: Copy files to the correct destinations according to multiarch.
 The corresponding variables are set with debhelper compat 9.
 tcl-funtools is not multiarch yet.
--- a/Makefile.in
+++ b/Makefile.in
@@ -37,20 +37,20 @@
 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