]>
Commit | Line | Data |
---|---|---|
1 | diff --git a/Makefile b/Makefile | |
2 | index 9e9a4b4..5343428 100644 | |
3 | --- a/Makefile | |
4 | +++ b/Makefile | |
5 | @@ -135,13 +135,14 @@ from_local: CPPFLAGS += -DTEST | |
6 | portmap.man : portmap.8 | |
7 | sed $(MAN_SED) < portmap.8 > portmap.man | |
8 | ||
9 | +DESTDIR = $(BASEDIR) | |
10 | install: all | |
11 | - install -o root -g root -m 0755 -s portmap ${BASEDIR}/sbin | |
12 | - install -o root -g root -m 0755 -s pmap_dump ${BASEDIR}/sbin | |
13 | - install -o root -g root -m 0755 -s pmap_set ${BASEDIR}/sbin | |
14 | - install -o root -g root -m 0644 portmap.man ${BASEDIR}/usr/share/man/man8/portmap.8 | |
15 | - install -o root -g root -m 0644 pmap_dump.8 ${BASEDIR}/usr/share/man/man8 | |
16 | - install -o root -g root -m 0644 pmap_set.8 ${BASEDIR}/usr/share/man/man8 | |
17 | + install -o root -g root -m 0755 portmap $(DESTDIR)/sbin | |
18 | + install -o root -g root -m 0755 pmap_dump $(DESTDIR)/sbin | |
19 | + install -o root -g root -m 0755 pmap_set $(DESTDIR)/sbin | |
20 | + install -o root -g root -m 0644 portmap.man $(DESTDIR)/usr/share/man/man8/portmap.8 | |
21 | + install -o root -g root -m 0644 pmap_dump.8 $(DESTDIR)/usr/share/man/man8 | |
22 | + install -o root -g root -m 0644 pmap_set.8 $(DESTDIR)/usr/share/man/man8 | |
23 | ||
24 | clean: | |
25 | rm -f *.o portmap pmap_dump pmap_set from_local \ |