blob: d74bbe148e8e070285657d805e4888b4b6061c53 (
plain)
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
|
$NetBSD: patch-ah,v 1.4 2005/03/15 15:58:52 wennmach Exp $
Install nnpfs_mod.o into $(lkmdir), not $(bindir).
Do not strip nnpfs_mod.o while installing it.
--- nnpfs/bsd/Makefile.in.orig 2004-07-20 07:28:23.000000000 -0400
+++ nnpfs/bsd/Makefile.in 2004-12-22 20:32:06.000000000 -0500
@@ -20,6 +20,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_LKMD = ${INSTALL_PROGRAM:C/-s//}
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
@@ -28,7 +29,7 @@
libdir = @libdir@
libexecdir = @libexecdir@
bindir = @bindir@
-lkmdir = @bindir@
+lkmdir = $(exec_prefix)/lkm
transform = @program_transform_name@
EXECSUFFIX = @EXECSUFFIX@
VARDB = /var/db
@@ -136,7 +137,7 @@
install-bsd:
$(MKINSTALLDIRS) $(DESTDIR)$(lkmdir)
LKM_BIN='$(NNPFS_BIN)'; for x in $$LKM_BIN; do \
- $(INSTALL_PROGRAM) $$x $(DESTDIR)$(lkmdir)/$$x; \
+ $(INSTALL_LKMD) $$x $(DESTDIR)$(lkmdir)/$$x; \
done
install: all $(INSTALL_LKM)
|