Sync 'make distribution' with an upgraded system, file-wise.
authorSascha Wildner <saw@online.de>
Wed, 23 Nov 2011 17:58:15 +0000 (18:58 +0100)
committerSascha Wildner <saw@online.de>
Wed, 23 Nov 2011 17:58:15 +0000 (18:58 +0100)
Two symlinks in /usr/include/machine are created via 'make upgrade' for
historical reasons detailed in a8f70ff21e2ea644b109f4ecb198b6cfa6fef8dc.

Add the creation of those to 'make distribution' too, so that a fresh
system off the CD has them. At some later point, we can remove it from
upgrade.

Reported-by: marino
etc/Makefile

index 2b97caa..2e817b1 100644 (file)
@@ -348,6 +348,8 @@ distribution:
            ${DESTDIR}/var/crash
        cd ${.CURDIR}/..; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
            ${FREEBSD} ${DESTDIR}/
+       ${LN} -s "../dev/video/bktr/ioctl_bt848.h" ${DESTDIR}/usr/include/machine/ioctl_bt848.h
+       ${LN} -s "../dev/video/meteor/ioctl_meteor.h" ${DESTDIR}/usr/include/machine/ioctl_meteor.h
 .if !defined(NOMAN)
        cd ${.CURDIR}/../share/man; ${MAKE} makedb
 .endif