summarylogtreecommitdiffstats
path: root/01-fix-man-location.patch
blob: 4dba01a3e2d8b91f8e3e4f2407ed3cee053689f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/Makefile.in b/Makefile.in
index 8515939..c66c309 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -32,8 +32,8 @@ clean:
 install: bgpq3
 	if test ! -d @bindir@ ; then mkdir -p @bindir@ ; fi
 	${INSTALL} -c -s -m 755 bgpq3 @bindir@
-	if test ! -d @prefix@/man/man8 ; then mkdir -p @prefix@/man/man8 ; fi
-	${INSTALL} -m 644 bgpq3.8 @prefix@/man/man8
+	if test ! -d @mandir@/man8 ; then mkdir -p @mandir@/man8 ; fi
+	${INSTALL} -m 644 bgpq3.8 @mandir@/man8
 
 depend: 
 	makedepend -- $(CFLAGS) -- $(SRCS)