minix/usr.bin/mdocml/Makefile.inc
Ben Gras 0c3983b25a update/fix manpage support
. add bsd-style MLINKS to minix man set, restoring aliases
	  (e.g. man add64 -> int64)
	. update daily cron script to run makewhatis and restore makewhatis
	  in man Makefile (makedb), restores functionality of man -k
	. netbsd imports of man, mdocml, makewhatis, libutil, apropos
	. update man.conf with manpage locations, restoring man [-s] <section>
	. throws out some obsolete manpages
2011-09-28 15:24:15 +00:00

25 lines
541 B
Makefile

# $NetBSD: Makefile.inc,v 1.12 2010/07/25 19:16:18 joerg Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
VERSION!= cd ${.PARSEDIR}/dist && ${MAKE} -V VERSION
CPPFLAGS+= -DVERSION=\"${VERSION}\" -DUGLY
CPPFLAGS+= -DOSNAME=\"Minix\"
.if (${HOSTPROG:U} == "")
CPPFLAGE+= -DHAVE_STRLCAT -DHAVE_STRLCPY
.endif
DISTDIR:= ${.PARSEDIR}/dist
.PATH: ${DISTDIR}
.for _LIB in man mdoc roff
MDOCMLOBJDIR.${_LIB} != cd ${.PARSEDIR}/lib/lib${_LIB} && ${PRINTOBJDIR}
MDOCMLLIB.${_LIB}= ${MDOCMLOBJDIR.${_LIB}}/lib${_LIB}.a
.endfor
WARNS?= 4