From: Roy Marples Date: Thu, 15 Nov 2007 12:04:28 +0000 (+0000) Subject: Put %%INFODIR%% in the man page so it's always swapped out with how dhcpcd is built. X-Git-Tag: v3.2.3~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aedfde99fb2a466fa1dc826355b90f69e850b63f;p=thirdparty%2Fdhcpcd.git Put %%INFODIR%% in the man page so it's always swapped out with how dhcpcd is built. --- diff --git a/Makefile b/Makefile index 7554b232..2103fcc0 100644 --- a/Makefile +++ b/Makefile @@ -115,8 +115,8 @@ dhcpcd: $(dhcpcd_H) .depend $(dhcpcd_OBJS) version.h: echo '#define VERSION "$(VERSION)"' > version.h -dhcpcd.8: - sed 's:/var/lib/dhcpcd:$(INFODIR):g' dhcpcd.8.in > dhcpcd.8 +dhcpcd.8: dhcpcd.8.in + sed 's:%%INFODIR%%:$(INFODIR):g' dhcpcd.8.in > dhcpcd.8 man: $(MAN_TARGETS) diff --git a/dhcpcd.8.in b/dhcpcd.8.in index ddb717bb..7a69d380 100644 --- a/dhcpcd.8.in +++ b/dhcpcd.8.in @@ -202,7 +202,7 @@ check on the IP address. .TP .BI \-E Will read -.I /var/lib/dhcpcd/dhcpcd-.info +.I %%INFODIR%%/dhcpcd-.info file and use last known good lease if .B dhcpcd is unable to reach the DHCP server and the lease has not expired. @@ -231,7 +231,7 @@ does not perform any DNS update, even when the server is requested to perform no updates. This can be easily implemented outside the client; all the necessary information is recorded in the -.I /var/lib/dhcpcd/dhcpcd-.info +.I %%INFODIR%%/dhcpcd-.info file. .TP .BI \-G @@ -274,7 +274,7 @@ Specifies the client identifier string. If not specified then .B dhcpcd will attempt to create a client identifier according to \fBRFC 4361\fR and store the DUID part in -.I /var/lib/dhcpcd/dhcpcd.duid\fR, otherwise +.I %%INFODIR%%/dhcpcd.duid\fR, otherwise .B dhcpcd uses the MAC address of the network interface. If \fB-I\fR is not given an option then we use the MAC address of the network interface. @@ -360,10 +360,10 @@ to which .B dhcpcd is attached. .TP -.BI /var/lib/dhcpcd/dhcpcd.duid +.BI %%INFODIR%%/dhcpcd.duid file containing the generated DUID for dhcpcd to use. .TP -.BI /var/lib/dhcpcd/dhcpcd-.info +.BI %%INFODIR%%/dhcpcd-.info file containing information provided by the DHCP server than can be used in shell scripts. .SH SEE ALSO