blob: 71657a77a6380c6aab0f4f4088acecb46f13e413 (
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
|
diff --git a/Makefile.in b/Makefile.in
index b0c1fc6..c21da84 100755
--- a/Makefile.in
+++ b/Makefile.in
@@ -35,7 +35,7 @@ COMMON_H = config.h ${srcdir}/slirp.h
BINDIR = @prefix@/bin
-MANDIR = @prefix@/man/man1
+MANDIR = @prefix@/share/man/man1
MANEXT = 1
@@ -45,11 +45,10 @@ slirp: $(PROTO) $(OBJ)
$(CC) @LDFLAGS@ -o slirp $(OBJ) $(LIBS)
install: slirp install.man
- strip slirp
- cp slirp $(BINDIR)
+ install -D slirp $(DESTDIR)$(BINDIR)/slirp
install.man:
- cp slirp.man $(MANDIR)/slirp.$(MANEXT)
+ install -D -m 644 slirp.man $(DESTDIR)$(MANDIR)/slirp.$(MANEXT)
objclean:
rm -f $(OBJ)
|