mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-29 13:28:14 +00:00
Install client script in (e.g.) /sbin.
This commit is contained in:
parent
38793a2633
commit
1dba919cf5
@ -51,8 +51,8 @@ install: all
|
||||
echo "No client script available."; \
|
||||
else \
|
||||
$(INSTALL) $(TOP)/client/scripts/$(SCRIPT)\
|
||||
$(DESTDIR)$(ETC)/dhclient-script; \
|
||||
$(CHMOD) 700 $(DESTDIR)$(ETC)/dhclient-script; \
|
||||
$(DESTDIR)$(CLIENTBINDIR)/dhclient-script; \
|
||||
$(CHMOD) 700 $(DESTDIR)$(CLIENTBINDIR)/dhclient-script; \
|
||||
fi
|
||||
$(MANINSTALL) $(MANFROM) dhclient.$(MANCAT)8 $(MANTO) \
|
||||
$(DESTDIR)$(ADMMANDIR)/dhclient$(ADMMANEXT)
|
||||
@ -92,6 +92,7 @@ dhclient.cat8: dhclient.man8
|
||||
|
||||
dhclient.man8: dhclient.8
|
||||
sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
|
||||
-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
|
||||
-e "s#RUNDIR#$(VARRUN)#g" < dhclient.8 >dhclient.man8
|
||||
|
||||
dhclient-script.cat8: dhclient-script.man8
|
||||
@ -99,11 +100,13 @@ dhclient-script.cat8: dhclient-script.man8
|
||||
|
||||
dhclient-script.man8: dhclient-script.8
|
||||
sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
|
||||
-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
|
||||
-e "s#RUNDIR#$(VARRUN)#g" < dhclient-script.8 \
|
||||
>dhclient-script.man8
|
||||
|
||||
dhclient.conf.man5: dhclient.conf.5
|
||||
sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
|
||||
-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
|
||||
-e "s#RUNDIR#$(VARRUN)#g" < dhclient.conf.5 \
|
||||
>dhclient.conf.man5
|
||||
|
||||
@ -112,6 +115,7 @@ dhclient.conf.cat5: dhclient.conf.man5
|
||||
|
||||
dhclient.leases.man5: dhclient.leases.5
|
||||
sed -e "s#ETCDIR#$(ETC)#g" -e "s#DBDIR#$(VARDB)#g" \
|
||||
-e "s#CLIENTBINDIR#$(CLIENTBINDIR)#g" \
|
||||
-e "s#RUNDIR#$(VARRUN)#g" < dhclient.leases.5 \
|
||||
>dhclient.leases.man5
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user