summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-03 08:01:04 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-03 08:01:04 +0000
commit10e4c37f04210f7e5bcfddd13c80438aba496c9f (patch)
tree1375c4fddb43ede53151ad40f511b0ec63c2c28a /mk/install
parent68fc847be288842884f776914b1c57b0d5baec75 (diff)
downloadpkgsrc-10e4c37f04210f7e5bcfddd13c80438aba496c9f.tar.gz
Add package-install. For non-DESTDIR builds, package and package-install
are identical. For DESTDIR builds, the package is not installed to PREFIX as part of the build, so package-install does exactly that after package is done. Change bin-install to call package-install.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/bin-install.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/bin-install.mk b/mk/install/bin-install.mk
index 775606967ae..c645244ceba 100644
--- a/mk/install/bin-install.mk
+++ b/mk/install/bin-install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bin-install.mk,v 1.5 2006/10/03 11:07:05 rillig Exp $
+# $NetBSD: bin-install.mk,v 1.6 2006/11/03 08:01:04 joerg Exp $
#
# This file provides the following targets:
@@ -71,6 +71,6 @@ do-bin-install-from-source:
: "Nothing to do"; \
else \
${STEP_MSG} "No binary package found for ${PKGNAME}; installing from source."; \
- ${RECURSIVE_MAKE} ${MAKEFLAGS} DEPENDS_TARGET=${DEPENDS_TARGET:Q} package \
+ ${RECURSIVE_MAKE} ${MAKEFLAGS} DEPENDS_TARGET=${DEPENDS_TARGET:Q} package-install \
&& ${RECURSIVE_MAKE} ${MAKEFLAGS} clean; \
fi