diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-11 23:51:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-06-11 23:51:50 +0000 |
commit | ad4a5629f894358c8139190d58591975e4be2574 (patch) | |
tree | ebaa57da1429f4ab759ffb29d827b1e8540ed658 | |
parent | 216723b4bd03c9c6f3ba31b98363f7e67b1536c2 (diff) |
includes target for pcvt include file
-rw-r--r-- | sys/arch/i386/isa/pcvt/Util/Makefile | 6 | ||||
-rw-r--r-- | sys/arch/i386/isa/pcvt/Util/Makefile.inc | 13 |
2 files changed, 6 insertions, 13 deletions
diff --git a/sys/arch/i386/isa/pcvt/Util/Makefile b/sys/arch/i386/isa/pcvt/Util/Makefile index 97bf6993fe6..dd8a268916d 100644 --- a/sys/arch/i386/isa/pcvt/Util/Makefile +++ b/sys/arch/i386/isa/pcvt/Util/Makefile @@ -6,4 +6,10 @@ SUBDIR+= vgaio kbdio set2061 SUBDIR+= demo .endif +includes: + -cd ${.CURDIR}; cmp -s ../pcvt_ioctl.h \ + ${DESTDIR}/usr/include/machine/pcvt_ioctl.h > /dev/null 2>&1 || \ + install -c -o ${BINOWN} -g ${BINGRP} -m 444 ../pcvt_ioctl.h \ + ${DESTDIR}/usr/include/machine + .include <bsd.subdir.mk> diff --git a/sys/arch/i386/isa/pcvt/Util/Makefile.inc b/sys/arch/i386/isa/pcvt/Util/Makefile.inc index bf448bc3a60..e292550b2e7 100644 --- a/sys/arch/i386/isa/pcvt/Util/Makefile.inc +++ b/sys/arch/i386/isa/pcvt/Util/Makefile.inc @@ -7,19 +7,6 @@ FONTDIR = /usr/share/misc/pcvtfonts LIBDIR = /usr/lib LIBMODE = 644 -# for pcvt_ioctl.h - -INCDIR = /usr/include/machine -INCOWN = bin -INCGRP = bin -INCMODE = 444 - -${INCDIR}/pcvt_ioctl.h: ${.CURDIR}/../../pcvt_ioctl.h - install ${COPY} -o ${INCOWN} -g ${INCGRP} -m ${INCMODE} \ - ${.CURDIR}/../../pcvt_ioctl.h ${INCDIR} - -.depend: ${INCDIR}/pcvt_ioctl.h - MAN3EXT = 3 MAN4EXT = 4 MAN5EXT = 5 |