bsd.kmod.mk knows how to clean up opt_*.h files automatically,
and has the necessary magic to create empty opt_*.h files.
This commit is contained in:
parent
6804a3ab6d
commit
5355cfee73
@ -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>
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user