summaryrefslogtreecommitdiff
path: root/Makefile.dist
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-09-05 23:48:00 +0000
committerTed Lemon <source@isc.org>1996-09-05 23:48:00 +0000
commitfa1b6a5d3c1fa323510507db349529abf3700ad6 (patch)
tree7b31aa4f7c36d108c5c126825b1b499171d0d8be /Makefile.dist
parent968d1ceb5217069958914b82cd388eed949ff339 (diff)
downloadisc-dhcp-fa1b6a5d3c1fa323510507db349529abf3700ad6.tar.gz
Hacks for Linux
Diffstat (limited to 'Makefile.dist')
-rw-r--r--Makefile.dist12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile.dist b/Makefile.dist
index 7cad77d0..744764e2 100644
--- a/Makefile.dist
+++ b/Makefile.dist
@@ -130,7 +130,8 @@ VARDB = /var/db
#ADMMANEXT = .8
#FFMANDIR = /usr/man/man5
#FFMANEXT = .5
-#VARRUN = /etc
+#VARRUN = /var/run
+#VARDB = /var/dhcpd
##--linux--
## SCO
@@ -193,6 +194,10 @@ install: dhcpd $(CATMANPAGES)
mkdir $(FFMANDIR); \
chmod 755 $(FFMANDIR); \
fi
+ if [ ! -d $(VARDB) ]; then \
+ mkdir $(VARDB); \
+ chmod 755 $(VARDB); \
+ fi
$(MANINSTALL) $(MANFROM) dhcpd.cat8 $(MANTO) \
$(ADMMANDIR)/dhcpd$(ADMMANEXT)
$(MANINSTALL) $(MANFROM) dhcpd.conf.cat5 $(MANTO) \
@@ -202,7 +207,10 @@ clean:
-rm -f $(OBJS) $(COBJ) $(XOBJ) dhclient.o
realclean: clean
- -rm -f dhcpd dhclient dhcpxlt $(CATMANPAGES)
+ -rm -f dhcpd dhclient dhcpxlt $(CATMANPAGES) *~ #*
+
+distclean: clean
+ -rm -f dhcpd dhclient dhcpxlt $(CATMANPAGES) Makefile
# These should only be done on 4.4 BSD-based systems, since the mandoc
# macros aren't available on older unices. Catted man pages are