Honour MANINSTALL.

This commit is contained in:
joerg 2012-03-04 19:49:41 +00:00
parent dcb265371e
commit 0b1f219c48
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.26 2009/04/09 00:48:10 joerg Exp $
# $NetBSD: Makefile,v 1.27 2012/03/04 19:49:41 joerg Exp $
DISTNAME= tnftp-20070806
SVR4_PKGNAME= tnftp
@ -23,6 +23,8 @@ CHECK_PERMS= no
OPSYSVARS+= MAKE_ENV
MAKE_ENV.SunOS+= CPPFLAGS=""
MAKE_ENV+= MANINSTALL=${MANINSTALL:Q}
.include "options.mk"
do-extract:

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile.in,v 1.6 2008/03/06 04:45:58 jlam Exp $
# $NetBSD: Makefile.in,v 1.7 2012/03/04 19:49:41 joerg Exp $
#
srcdir = @srcdir@
@ -42,8 +42,10 @@ ${OBJS}: ${srcdir}/../tnftp.h ../config.h
install: all
-mkdir -p ${DESTDIR}${bindir}
${INSTALL} -m 555 ${PROG} ${DESTDIR}${bindir}/`echo ${PROG}|sed '$(transform)'`
.if !empty(MANINSTALL:Mcatinstall)
-mkdir -p ${DESTDIR}${mandircat1}
${INSTALL} -m 444 ${srcdir}/${PROG}.cat1 ${DESTDIR}${mandircat1}/`echo ${PROG}|sed '$(transform)'`.0
.endif
clean:
rm -f core ${PROG} ${OBJS}