blob: 8a7ad9b1905ba4e8d3a107f1ba88bcb082163f15 (
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
34
35
36
37
38
39
40
41
42
43
44
45
|
$NetBSD: patch-ah,v 1.2 2000/08/15 16:08:25 wennmach Exp $
Install xfs_mod.o into $(lkmdir), not $(bindir).
Do not strip xfs_mod.o while installing it.
--- xfs/bsd/Makefile.in.orig Thu Jun 22 04:24:42 2000
+++ xfs/bsd/Makefile.in Wed Aug 9 16:09:04 2000
@@ -18,6 +18,7 @@
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_LKM = ${INSTALL_PROGRAM:C/-s//}
INSTALL_DATA = @INSTALL_DATA@
MKINSTALLDIRS = @top_srcdir@/mkinstalldirs
@@ -26,6 +27,7 @@
libdir = @libdir@
libexecdir = @libexecdir@
bindir = @bindir@
+lkmdir = $(exec_prefix)/lkm
transform = @program_transform_name@
EXECSUFFIX = @EXECSUFFIX@
@@ -111,10 +113,10 @@
./bin/umount_xfs /afs
install: all
- $(MKINSTALLDIRS) $(DESTDIR)$(bindir)
+ $(MKINSTALLDIRS) $(DESTDIR)$(lkmdir)
PROG_BIN='$(XFS_BIN)'; for x in $$PROG_BIN; do \
f=`echo $$x | sed '$(transform)'`; \
- $(INSTALL_PROGRAM) $$x $(DESTDIR)$(bindir)/$$f; \
+ $(INSTALL_LKM) $$x $(DESTDIR)$(lkmdir)/$$f; \
done
for i in lkm subsys modules; do \
if test -d /$$i; then \
@@ -126,7 +128,7 @@
uninstall:
PROG_BIN='$(XFS_BIN)'; for x in $$PROG_BIN; do \
f=`echo $$x | sed '$(transform)'`; \
- rm -f $(DESTDIR)$(bindir)/$$f; \
+ rm -f $(DESTDIR)$(lkmdir)/$$f; \
done
for i in lkm subsys modules; do \
if test -d /$$i; then \
|