summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2009-01-21 21:02:51 +0000
committerShawn Routhier <sar@isc.org>2009-01-21 21:02:51 +0000
commit15ed31f58dcd5f77f84dc4ffb380e67bac8e279e (patch)
treed82b11e19d72acad6a646bd2936e56d1cac1aad9
parentaa22de1aaa12b263d05c808e7f3269be5778fc85 (diff)
downloadisc-dhcp-15ed31f58dcd5f77f84dc4ffb380e67bac8e279e.tar.gz
Remove extra copy of omshell man page and correct suffix for man pages on
freebsd
-rw-r--r--Makefile.conf8
-rw-r--r--dhcpctl/Makefile.dist10
2 files changed, 8 insertions, 10 deletions
diff --git a/Makefile.conf b/Makefile.conf
index e50e3c59..86ea13cf 100644
--- a/Makefile.conf
+++ b/Makefile.conf
@@ -27,13 +27,13 @@ USERBINDIR = /usr/bin
BINDIR = /usr/sbin
CLIENTBINDIR=/sbin
ADMMANDIR = /usr/share/man/cat8
-ADMMANEXT = .0
+ADMMANEXT = .8
FFMANDIR = /usr/share/man/cat5
-FFMANEXT = .0
+FFMANEXT = .5
LIBMANDIR = /usr/share/man/cat3
-LIBMANEXT = .0
+LIBMANEXT = .3
USRMANDIR = /usr/share/man/cat1
-USRMANEXT = .0
+USRMANEXT = .1
MANCAT = cat
INSTALL = install -c -m 444
MANINSTALL = install -c
diff --git a/dhcpctl/Makefile.dist b/dhcpctl/Makefile.dist
index e024dc33..5c5f5cfd 100644
--- a/dhcpctl/Makefile.dist
+++ b/dhcpctl/Makefile.dist
@@ -63,14 +63,12 @@ install: all $(CATMANPAGES)
$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libdhcpctl.a
$(INSTALL) dhcpctl.h $(DESTDIR)$(INCDIR)
$(CHMOD) 644 $(DESTDIR)$(INCDIR)/dhcpctl.h
- for man in $(MAN); do \
- prefix=`echo $$man |sed -e 's/\.[0-9]$$//'`; \
- suffix=`echo $$man |sed -e 's/.*\.\([0-9]\)$$/\1/'`; \
- $(MANINSTALL) $(MANFROM) $${prefix}.$(MANCAT)$${suffix} $(MANTO) \
- $(DESTDIR)$(LIBMANDIR)/$${prefix}$(LIBMANEXT); \
- done
+
$(INSTALL) omshell $(DESTDIR)$(USERBINDIR)
$(CHMOD) 755 $(DESTDIR)$(USERBINDIR)/omshell
+
+ $(MANINSTALL) $(MANFROM) dhcpctl.$(MANCAT)3 $(MANTO) \
+ $(DESTDIR)$(LIBMANDIR)/dhcpctl$(LIBMANEXT)
$(MANINSTALL) $(MANFROM) omshell.$(MANCAT)1 $(MANTO) \
$(DESTDIR)$(USRMANDIR)/omshell$(USRMANEXT)