]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Change man page building to a suffix rule.
authorRoy Marples <roy@marples.name>
Thu, 17 Jan 2008 18:49:26 +0000 (18:49 +0000)
committerRoy Marples <roy@marples.name>
Thu, 17 Jan 2008 18:49:26 +0000 (18:49 +0000)
Makefile

index 22901a36a357cd309380b32a17761a977a3fd58d..a4e8e0db372bf318b55b6ead6ede0ddc18f6c0f9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,8 @@ CLEANFILES=   version.h dhcpcd.8
 
 BINDIR=                ${PREFIX}/sbin
 
+.SUFFIXES:     .in
+
 MK=            mk
 include ${MK}/os.mk
 include ${MK}/cc.mk
@@ -28,5 +30,5 @@ ${SRCS}:      version.h
 version.h:
        echo "#define VERSION \"${VERSION}\""> version.h
 
-dhcpcd.8: dhcpcd.8.in
+.in:
        sed 's:@PREFIX@:${PREFIX}:g; s:@INFODIR@:${INFOD}:g' $< > $@