summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-09-01 06:51:43 +0000
committerru <ru@FreeBSD.org>2004-09-01 06:51:43 +0000
commit4bddde21ccd09a6fac32bfaf7d5c00e0864e6129 (patch)
tree3557e60a9ca788ef08c54e054d71a9bc326b1cca
parent8354ba9e3ae8db8ce805e66f768b37de9f172dce (diff)
downloadFreeBSD-src-4bddde21ccd09a6fac32bfaf7d5c00e0864e6129.zip
FreeBSD-src-4bddde21ccd09a6fac32bfaf7d5c00e0864e6129.tar.gz
bsd.kmod.mk knows how to clean up opt_*.h files automatically,
and has the necessary magic to create empty opt_*.h files.
-rw-r--r--sys/modules/coda/Makefile5
-rw-r--r--sys/modules/coda5/Makefile4
2 files changed, 1 insertions, 8 deletions
diff --git a/sys/modules/coda/Makefile b/sys/modules/coda/Makefile
index 60992c9..919213a 100644
--- a/sys/modules/coda/Makefile
+++ b/sys/modules/coda/Makefile
@@ -8,9 +8,4 @@ SRCS= vnode_if.h \
coda_venus.c coda_vfsops.c coda_vnops.c \
opt_coda.h
-CLEANFILES= opt_coda.h
-
-opt_coda.h:
- echo > ${.TARGET}
-
.include <bsd.kmod.mk>
diff --git a/sys/modules/coda5/Makefile b/sys/modules/coda5/Makefile
index c8f1956..f974cc0 100644
--- a/sys/modules/coda5/Makefile
+++ b/sys/modules/coda5/Makefile
@@ -8,9 +8,7 @@ SRCS= vnode_if.h \
coda_venus.c coda_vfsops.c coda_vnops.c \
opt_coda.h
-CLEANFILES= opt_coda.h
-
opt_coda.h:
- echo "#define CODA_COMPAT_5" >> ${.TARGET}
+ echo "#define CODA_COMPAT_5" > ${.TARGET}
.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud