summaryrefslogtreecommitdiff
path: root/mk/plist
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2012-05-27 14:32:28 +0000
committercheusov <cheusov@pkgsrc.org>2012-05-27 14:32:28 +0000
commit6562382ae0c293340cb9e2b822fe77c6423489eb (patch)
tree2d5ac1dcc597b56b5a2acf31f3dea1459d4c88bb /mk/plist
parent179c3c5086ca783bb019104ed682cfb36711e248 (diff)
downloadpkgsrc-6562382ae0c293340cb9e2b822fe77c6423489eb.tar.gz
"rebuild" and "retest" targets were added (by analogy with "reinstall").
rebuild is a special target to re-run the build target. retest is a special target to re-run the test target.
Diffstat (limited to 'mk/plist')
-rw-r--r--mk/plist/plist.mk12
1 files changed, 11 insertions, 1 deletions
diff --git a/mk/plist/plist.mk b/mk/plist/plist.mk
index db9a5adf255..ff0417fa580 100644
--- a/mk/plist/plist.mk
+++ b/mk/plist/plist.mk
@@ -1,4 +1,4 @@
-# $NetBSD: plist.mk,v 1.42 2012/05/13 12:39:47 obache Exp $
+# $NetBSD: plist.mk,v 1.43 2012/05/27 14:32:28 cheusov Exp $
#
# This Makefile fragment handles the creation of PLISTs for use by
# pkg_create(8).
@@ -292,3 +292,13 @@ INFO_FILES_cmd= \
${PKGSRC_SETENV} ${_PLIST_AWK_ENV} ${AWK} ${_PLIST_INFO_AWK} | \
${AWK} '($$0 !~ "-[0-9]*(\\.gz)?$$") { print }'
.endif
+
+######################################################################
+### plist-clean (PRIVATE)
+######################################################################
+### plist-clean removes the files for the "plist"
+### so that the "plist" target may be re-invoked.
+###
+.PHONY: plist-clean
+plist-clean:
+ ${RUN} ${RM} -f ${PLIST} ${_PLIST_NOKEYWORDS} ${_DEPENDS_PLIST}