summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-03-08 23:06:37 +0000
committerrillig <rillig@pkgsrc.org>2007-03-08 23:06:37 +0000
commitdc31efeb7ac7f971924584f0e3e23ffb35e5db6d (patch)
tree3a9e7dca0cc325da1a6c54811e9d579d6635571d /mk/install
parent07e433310c62f6e0769c8780e7b29cdffa0079eb (diff)
downloadpkgsrc-dc31efeb7ac7f971924584f0e3e23ffb35e5db6d.tar.gz
Renamed replace-pkg to _flavor-replace and undo-replace-pkg to
_flavor-undo-replace. The leading underscore makes it obvious that these targets are private, which saves redundant comments.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/replace.mk12
1 files changed, 6 insertions, 6 deletions
diff --git a/mk/install/replace.mk b/mk/install/replace.mk
index 10fb3773d56..4c39181ea36 100644
--- a/mk/install/replace.mk
+++ b/mk/install/replace.mk
@@ -1,4 +1,4 @@
-# $NetBSD: replace.mk,v 1.8 2007/02/20 11:17:03 rillig Exp $
+# $NetBSD: replace.mk,v 1.9 2007/03/08 23:06:37 rillig Exp $
#
# Public targets:
#
@@ -13,11 +13,11 @@
#
# Private targets that must be defined by the package system flavor:
#
-# replace-pkg:
+# _flavor-replace:
# Updates a package in-place on the system.
#
-# undo-replace-pkg:
-# Undoes a previous "make replace-pkg".
+# _flavor-undo-replace:
+# Undoes a previous "make _flavor-replace".
_REPLACE_TARGETS+= ${_PKGSRC_BUILD_TARGETS}
_REPLACE_TARGETS+= replace-message
@@ -38,7 +38,7 @@ replace-message:
@${PHASE_MSG} "Replacing for ${PKGNAME}"
@${WARNING_MSG} "experimental target - DATA LOSS MAY OCCUR."
-su-replace: replace-pkg
+su-replace: _flavor-replace
MAKEFLAGS.su-replace= _UPDATE_RUNNING=yes
#
@@ -52,5 +52,5 @@ undo-replace-message:
@${PHASE_MSG} "Undoing replacement for ${PKGNAME}"
@${WARNING_MSG} "experimental target - DATA LOSS MAY OCCUR."
-su-undo-replace: undo-replace-pkg
+su-undo-replace: _flavor-undo-replace
MAKEFLAGS.su-undo-replace= _UPDATE_RUNNING=yes