Don't use ${INSTALL_PROGRAM} to install a shell script. While I'm here,

take out a bunch of @'s, this Makefile is so hard to debug because the
log contained no meaningful output.

PR:		17090 (report only, no fix)
This commit is contained in:
Satoshi Asami 2000-03-01 15:48:31 +00:00
parent 2b54222fb3
commit c339b4dbc8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26470

View file

@ -78,9 +78,9 @@ BOOTFILES= ${WRKSRC}/home ${WRKSRC}/home+df ${WRKSRC}/proc \
# Supplied by Stuart Henderson <stuart@internationalschool.co.uk>
BOOTFILES+= ${FILESDIR}/maildir
CONFIGUREFILES= ${WRKSRC}/install ${WRKSRC}/dnsfq ${WRKSRC}/hostname \
${WRKSRC}/dnsip ${WRKSRC}/ipmeprint ${WRKSRC}/dnsptr \
${WRKSRC}/config-fast
CONFIGUREPROGS= ${WRKSRC}/install ${WRKSRC}/dnsfq ${WRKSRC}/hostname \
${WRKSRC}/dnsip ${WRKSRC}/ipmeprint ${WRKSRC}/dnsptr
CONFIGUREFILES= ${WRKSRC}/config ${WRKSRC}/config-fast
.if (${PREFIX} == "/usr/local")
DOCDIR= share/doc/qmail
@ -106,17 +106,17 @@ do-install:
@PKG_PREFIX=${PREFIX} ${PERL5} ${PKGDIR}/INSTALL
@${MKDIR} ${PREFIX}/${DOCDIR} ${PREFIX}/configure
@cd ${WRKSRC} ; ./install
@${INSTALL_PROGRAM} ${CONFIGUREFILES} ${PREFIX}/configure
@${INSTALL_SCRIPT} ${WRKSRC}/config ${PREFIX}/configure
@${INSTALL_SCRIPT} ${BOOTFILES} ${PREFIX}/boot
${INSTALL_PROGRAM} ${CONFIGUREPROGS} ${PREFIX}/configure
${INSTALL_SCRIPT} ${CONFIGUREFILES} ${PREFIX}/configure
${INSTALL_SCRIPT} ${BOOTFILES} ${PREFIX}/boot
.for i in 1 5 7 8
@${MKDIR} ${PREFIX}/man/man$i
.for j in ${MAN${i}}
@${INSTALL_MAN} ${WRKSRC}/$j ${PREFIX}/man/man${i}
${INSTALL_MAN} ${WRKSRC}/$j ${PREFIX}/man/man${i}
.endfor
.endfor
.if !defined(NOPORTDOCS)
@${INSTALL_DATA} ${DOCFILES} ${PREFIX}/${DOCDIR}
${INSTALL_DATA} ${DOCFILES} ${PREFIX}/${DOCDIR}
.endif
.if defined(PACKAGE_BUILDING)
@${ECHO} "FreeBSD Binary package QMail installation" \
@ -129,7 +129,7 @@ do-install:
@${TOUCH} ${PREFIX}/alias/.qmail-${i}
.endfor
@# This is not part of qmail proper, hence the 2nd class citizenship
@${INSTALL_SCRIPT} ${FILESDIR}/mkaliasdir ${PREFIX}/${DOCDIR}
${INSTALL_SCRIPT} ${FILESDIR}/mkaliasdir ${PREFIX}/${DOCDIR}
@cd ${PREFIX}/configure ; ./config
@${MKDIR} /usr/local/etc/rc.d
@${LN} -sf ${PREFIX}/rc /usr/local/etc/rc.d/qmail.sh