Don't forget the -c flag to install and -f flag to gzip so that "make
reinstall" works.
This commit is contained in:
parent
ea0204bd1f
commit
92c17b5329
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=3113
8 changed files with 22 additions and 22 deletions
|
@ -18,9 +18,9 @@
|
|||
${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
|
||||
+
|
||||
+install: dhcpc
|
||||
+ ${INSTALL} -m 755 -s dhcpc ${SBIN}/dhcpc
|
||||
+ ${INSTALL} -c -m 755 -s dhcpc ${SBIN}/dhcpc
|
||||
+ cp dhcpc.8 ${MAN}/man8/dhcpc.8
|
||||
+ gzip ${MAN}/man8/dhcpc.8
|
||||
+ gzip -9nf ${MAN}/man8/dhcpc.8
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *core* dhcpc
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
|
||||
+
|
||||
+install: dhcps
|
||||
+ ${INSTALL} -m 755 -s dhcps ${SBIN}/dhcps
|
||||
+ ${INSTALL} -c -m 755 -s dhcps ${SBIN}/dhcps
|
||||
+ cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
|
||||
+ gzip ${MAN}/man5/dhcpdb.pool.5
|
||||
+ gzip -9nf ${MAN}/man5/dhcpdb.pool.5
|
||||
+ cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
|
||||
+ gzip ${MAN}/man5/dhcpdb.relay.5
|
||||
+ gzip -9nf ${MAN}/man5/dhcpdb.relay.5
|
||||
+ cp dhcps.8 ${MAN}/man8/dhcps.8
|
||||
+ gzip ${MAN}/man8/dhcps.8
|
||||
+ gzip -9nf ${MAN}/man8/dhcps.8
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *core* dhcps
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
|
||||
+
|
||||
+install: relay
|
||||
+ ${INSTALL} -m 755 -s relay ${SBIN}/relay
|
||||
+ ${INSTALL} -c -m 755 -s relay ${SBIN}/relay
|
||||
+ cp relay.8 ${MAN}/man8/relay.8
|
||||
+ gzip ${MAN}/man8/relay.8
|
||||
+ gzip -9nf ${MAN}/man8/relay.8
|
||||
+ cp dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5
|
||||
+ gzip ${MAN}/man5/dhcpdb.server.5
|
||||
+ gzip -9nf ${MAN}/man5/dhcpdb.server.5
|
||||
|
||||
relay.o: relay.c common.h ../server/dhcp.h ../server/common_subr.h
|
||||
common_subr.o: ../server/common_subr.c ../server/dhcp.h common.h ../server/common_subr.h
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
|
||||
+
|
||||
+install: dhcpm
|
||||
+ ${INSTALL} -m 755 -s dhcpm ${SBIN}/dhcpm
|
||||
+ ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
|
||||
+ cp dhcpm.8 ${MAN}/man8/dhcpm.8
|
||||
+ gzip ${MAN}/man8/dhcpm.8
|
||||
+ gzip -9nf ${MAN}/man8/dhcpm.8
|
||||
|
||||
clean:
|
||||
rm -rf *~ *.o *core* dhcpm
|
||||
|
|
|
@ -18,9 +18,9 @@
|
|||
${CC} ${CFLAGS} -o dhcpc ${OBJ} ${LDFLAGS}
|
||||
+
|
||||
+install: dhcpc
|
||||
+ ${INSTALL} -m 755 -s dhcpc ${SBIN}/dhcpc
|
||||
+ ${INSTALL} -c -m 755 -s dhcpc ${SBIN}/dhcpc
|
||||
+ cp dhcpc.8 ${MAN}/man8/dhcpc.8
|
||||
+ gzip ${MAN}/man8/dhcpc.8
|
||||
+ gzip -9nf ${MAN}/man8/dhcpc.8
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *core* dhcpc
|
||||
|
|
|
@ -18,13 +18,13 @@
|
|||
${CC} ${CFLAGS} -o dhcps ${OBJ} ${LDFLAGS}
|
||||
+
|
||||
+install: dhcps
|
||||
+ ${INSTALL} -m 755 -s dhcps ${SBIN}/dhcps
|
||||
+ ${INSTALL} -c -m 755 -s dhcps ${SBIN}/dhcps
|
||||
+ cp dhcpdb.pool.5 ${MAN}/man5/dhcpdb.pool.5
|
||||
+ gzip ${MAN}/man5/dhcpdb.pool.5
|
||||
+ gzip -9nf ${MAN}/man5/dhcpdb.pool.5
|
||||
+ cp dhcpdb.relay.5 ${MAN}/man5/dhcpdb.relay.5
|
||||
+ gzip ${MAN}/man5/dhcpdb.relay.5
|
||||
+ gzip -9nf ${MAN}/man5/dhcpdb.relay.5
|
||||
+ cp dhcps.8 ${MAN}/man8/dhcps.8
|
||||
+ gzip ${MAN}/man8/dhcps.8
|
||||
+ gzip -9nf ${MAN}/man8/dhcps.8
|
||||
|
||||
clean:
|
||||
rm -f *~ *.o *core* dhcps
|
||||
|
|
|
@ -15,11 +15,11 @@
|
|||
${CC} ${CFLAGS} -o relay ${OBJ} ${LDFLAGS}
|
||||
+
|
||||
+install: relay
|
||||
+ ${INSTALL} -m 755 -s relay ${SBIN}/relay
|
||||
+ ${INSTALL} -c -m 755 -s relay ${SBIN}/relay
|
||||
+ cp relay.8 ${MAN}/man8/relay.8
|
||||
+ gzip ${MAN}/man8/relay.8
|
||||
+ gzip -9nf ${MAN}/man8/relay.8
|
||||
+ cp dhcpdb.server.5 ${MAN}/man5/dhcpdb.server.5
|
||||
+ gzip ${MAN}/man5/dhcpdb.server.5
|
||||
+ gzip -9nf ${MAN}/man5/dhcpdb.server.5
|
||||
|
||||
relay.o: relay.c common.h ../server/dhcp.h ../server/common_subr.h
|
||||
common_subr.o: ../server/common_subr.c ../server/dhcp.h common.h ../server/common_subr.h
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
$(CC) $(CFLAGS) dhcpm.c -o dhcpm
|
||||
+
|
||||
+install: dhcpm
|
||||
+ ${INSTALL} -m 755 -s dhcpm ${SBIN}/dhcpm
|
||||
+ ${INSTALL} -c -m 755 -s dhcpm ${SBIN}/dhcpm
|
||||
+ cp dhcpm.8 ${MAN}/man8/dhcpm.8
|
||||
+ gzip ${MAN}/man8/dhcpm.8
|
||||
+ gzip -9nf ${MAN}/man8/dhcpm.8
|
||||
|
||||
clean:
|
||||
rm -rf *~ *.o *core* dhcpm
|
||||
|
|
Loading…
Reference in a new issue