Garrett Wollman <[EMAIL PROTECTED]> writes:
> <<On 22 Jun 2000 03:35:01 +0200, Assar Westerlund <[EMAIL PROTECTED]> said:
>
> > So I propose the patch below, to create vnode_if.h and then add it to CVS.
>
> There are too many generated files in CVS as it is.
>
> If there is a problem here, the correct fix is to supply the source
> files, not the generated output.
The problem is that the source files are hidden in the kernel source
directory and not installed. Where should vnode_if.{src,pl} get
installed? It seems much simpler just to install vnode_if.h in
/usr/include/sys. Patch appended.
/assar
Index: Makefile
===================================================================
RCS file: /home/ncvs/src/include/Makefile,v
retrieving revision 1.113
diff -u -w -r1.113 Makefile
--- Makefile 2000/05/19 22:08:18 1.113
+++ Makefile 2000/06/22 03:55:52
@@ -6,7 +6,7 @@
# The ``rm -rf''s used below are safe because rm doesn't follow symbolic
# links.
-CLEANFILES= osreldate.h version vers.c
+CLEANFILES= osreldate.h version vers.c vnode_if.h
SUBDIR= rpcsvc
FILES= a.out.h ar.h assert.h bitstring.h ctype.h db.h dirent.h disktab.h \
dlfcn.h elf.h err.h fnmatch.h fstab.h \
@@ -57,7 +57,7 @@
#SHARED= symlinks
SHARED?= copies
-all: osreldate.h
+all: osreldate.h vnode_if.h
osreldate.h: ${.CURDIR}/../sys/conf/newvers.sh \
${.CURDIR}/../sys/sys/param.h
@@ -68,6 +68,11 @@
echo \#'undef __FreeBSD_version' >> osreldate.h; \
echo \#'define __FreeBSD_version' $$RELDATE >> osreldate.h
+vnode_if.h: ${.CURDIR}/../sys/kern/vnode_if.pl \
+ ${.CURDIR}/../sys/kern/vnode_if.src
+ @${ECHO} creating vnode_if.h
+ perl ${.CURDIR}/../sys/kern/vnode_if.pl -h ${.CURDIR}/../sys/kern/vnode_if.src
+
beforeinstall: ${SHARED}
@rm -f ${DESTDIR}/usr/include/timepps.h
cd ${.CURDIR}; \
@@ -85,6 +90,9 @@
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.OBJDIR}/osreldate.h \
${DESTDIR}/usr/include
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.OBJDIR}/vnode_if.h \
+ ${DESTDIR}/usr/include/sys
.for i in ${LFILES}
ln -sf sys/$i ${DESTDIR}/usr/include/$i
.endfor
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message