1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/sbin/reboot/Makefile
Joerg Wunsch d16b647e7f Totally revamp the man page, update to the state of affairs.
Make a link from boot_${ARCH}.8 to boot.8, so people will get what
they expect when asking "man boot".

I think David will lynch me when i'm requesting this to go into 2.1... :-)
1995-10-07 12:05:00 +00:00

27 lines
798 B
Makefile

# @(#)Makefile 8.1 (Berkeley) 6/5/93
PROG= reboot
DPADD= ${LIBUTIL}
LDADD= -lutil
MAN8= reboot.8 boot_hp300.8 boot_i386.8 boot_sparc.8 boot_tahoe.8 boot_vax.8
MLINKS= reboot.8 halt.8 reboot.8 fastboot.8 reboot.8 fasthalt.8
ARCH!= uname -m
.if exists (${.CURDIR}/boot_${ARCH}.8)
MLINKS+= boot_${ARCH}.8 boot.8
.endif
LINKS= ${BINDIR}/reboot ${BINDIR}/halt ${BINDIR}/reboot ${BINDIR}/fastboot \
${BINDIR}/reboot ${BINDIR}/fasthalt
XXXBROKENafterinstall:
${MINSTALL} boot_hp300.8 ${DESTDIR}${MANDIR}8/hp300/boot.8
${MINSTALL} boot_i386.8 ${DESTDIR}${MANDIR}8/i386/boot.8
${MINSTALL} boot_sparc.8 ${DESTDIR}${MANDIR}8/sparc/boot.8
${MINSTALL} boot_tahoe.8 ${DESTDIR}${MANDIR}8/tahoe/boot.8
${MINSTALL} boot_vax.8 ${DESTDIR}${MANDIR}8/vax/boot.8
.include <bsd.man.mk>
.include <bsd.prog.mk>