]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Put %%INFODIR%% in the man page so it's always swapped out with how dhcpcd is built.
authorRoy Marples <roy@marples.name>
Thu, 15 Nov 2007 12:04:28 +0000 (12:04 +0000)
committerRoy Marples <roy@marples.name>
Thu, 15 Nov 2007 12:04:28 +0000 (12:04 +0000)
Makefile
dhcpcd.8.in

index 7554b232731d0987279248d3f00683f019daa2c5..2103fcc027780eb4989ddd0520008f1750879e26 100644 (file)
--- 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) 
 
index ddb717bbfe879a46c1194ce54f80621fbd2d46da..7a69d380bd1163d0fe181ce021eb3b6a19d43834 100644 (file)
@@ -202,7 +202,7 @@ check on the IP address.
 .TP
 .BI \-E
 Will read 
-.I /var/lib/dhcpcd/dhcpcd-<interface>.info
+.I %%INFODIR%%/dhcpcd-<interface>.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-<interface>.info
+.I %%INFODIR%%/dhcpcd-<interface>.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-<interface>.info
+.BI %%INFODIR%%/dhcpcd-<interface>.info
 file containing information provided by the DHCP server than can be used in
 shell scripts.
 .SH SEE ALSO