summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authormycroft <mycroft>1998-11-07 16:08:41 +0000
committermycroft <mycroft>1998-11-07 16:08:41 +0000
commit42ec138134204b0d9194b85f2a4522e9638ae38e (patch)
treef3d663c6a15f40577d08829c985a348164f90267 /mk
parente59728e492b38254c9af57e2c52ac654625ede8c (diff)
downloadpkgsrc-42ec138134204b0d9194b85f2a4522e9638ae38e.tar.gz
Do the info file handling *after* the post-install target, just before doing
man pages.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index a9acdd5d4f5..99c3b865c17 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.190 1998/11/07 14:41:50 mycroft Exp $
+# $NetBSD: bsd.pkg.mk,v 1.191 1998/11/07 16:08:41 mycroft Exp $
#
# This file is in the public domain.
#
@@ -986,10 +986,6 @@ do-build:
.if !target(do-install)
do-install:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKEFILE} ${INSTALL_TARGET})
- @for f in ${INFO_FILES}; do \
- ${ECHO} "${LOCALBASE}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/$$f"; \
- ${LOCALBASE}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/$$f; \
- done
.endif
# Package
@@ -1140,6 +1136,10 @@ _PORT_USE: .USE
${SCRIPTDIR}/${.TARGET:S/^real-/post-/}; \
fi
.if make(real-install)
+ @for f in ${INFO_FILES}; do \
+ ${ECHO} "${LOCALBASE}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/$$f"; \
+ ${LOCALBASE}/bin/install-info --info-dir=${PREFIX}/info ${PREFIX}/info/$$f; \
+ done
@(newmanpages=`/usr/bin/egrep -h \
'^([^/]*/)*man/([^/]*/)?(man[1-9ln]/.*\.[1-9ln]|cat[1-9ln]/.*\.0)(\.gz)?$$' \
${PLIST_SRC} || /usr/bin/true`; \