aboutsummaryrefslogtreecommitdiffstats
path: root/net/wide-dhcp/files/patch-aq
blob: ba80d96d5705054628017f7eaeffdf1841f6036d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- tools/Makefile.FreeBSD.org  Sat Jan 20 21:44:16 1996
+++ tools/Makefile.FreeBSD  Sat Jan 20 21:48:39 1996
@@ -2,9 +2,17 @@
-CFLAGS = -g -Wall -I. -I../server
+CFLAGS += -Wall -I. -I../server
 #CC = cc
 #CFLAGS = -g -I. -I../server
+SBIN=      ${PREFIX}/sbin
+LIBEXEC=   ${PREFIX}/libexec
+MAN=       ${PREFIX}/man
 
 dhcpm: dhcpm.c ../server/dhcp.h
    $(CC) $(CFLAGS) dhcpm.c -o dhcpm
+
+install: dhcpm
+   ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
+   cp dhcpm.8 ${MAN}/man8/dhcpm.8
+   gzip -9nf ${MAN}/man8/dhcpm.8
 
 clean:
    rm -rf *~ *.o *core* dhcpm