pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/flavor/pkg Rename the generate-metadata and clean-m...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dddb76677b37
branches: trunk
changeset: 532025:dddb76677b37
user: jlam <jlam%pkgsrc.org@localhost>
date: Fri Aug 10 04:03:23 2007 +0000
description:
Rename the generate-metadata and clean-metadata targets to _flavor- style
names to indicate that they are purely private to flavor/pkg.
diffstat:
mk/flavor/pkg/install.mk | 6 +++---
mk/flavor/pkg/metadata.mk | 22 +++++++++++-----------
2 files changed, 14 insertions(+), 14 deletions(-)
diffs (70 lines):
diff -r 34669e5c7c2a -r dddb76677b37 mk/flavor/pkg/install.mk
--- a/mk/flavor/pkg/install.mk Fri Aug 10 04:00:43 2007 +0000
+++ b/mk/flavor/pkg/install.mk Fri Aug 10 04:03:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.11 2007/08/10 04:00:43 jlam Exp $
+# $NetBSD: install.mk,v 1.12 2007/08/10 04:03:23 jlam Exp $
#
# _flavor-check-conflicts:
# Checks for conflicts between the package and installed packages.
@@ -57,7 +57,7 @@
AWK=${TOOLS_AWK:Q} \
${SH} ${PKGSRCDIR}/mk/flavor/pkg/register-dependencies
-_flavor-register: .PHONY generate-metadata ${_RDEPENDS_FILE}
+_flavor-register: .PHONY _flavor-generate-metadata ${_RDEPENDS_FILE}
@${STEP_MSG} "Registering installation for ${PKGNAME}"
${_PKG_SILENT}${_PKG_DEBUG}${RM} -fr ${_PKG_DBDIR}/${PKGNAME}
${_PKG_SILENT}${_PKG_DEBUG}${MKDIR} ${_PKG_DBDIR}/${PKGNAME}
@@ -70,4 +70,4 @@
${_PKG_SILENT}${_PKG_DEBUG}${_FULL_DEPENDS_CMD} | \
${SORT} -u | ${_REGISTER_DEPENDENCIES} ${PKGNAME}
-_flavor-install-clean: .PHONY clean-metadata
+_flavor-install-clean: .PHONY _flavor-clean-metadata
diff -r 34669e5c7c2a -r dddb76677b37 mk/flavor/pkg/metadata.mk
--- a/mk/flavor/pkg/metadata.mk Fri Aug 10 04:00:43 2007 +0000
+++ b/mk/flavor/pkg/metadata.mk Fri Aug 10 04:03:23 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: metadata.mk,v 1.24 2007/07/02 14:54:10 joerg Exp $
+# $NetBSD: metadata.mk,v 1.25 2007/08/10 04:03:23 jlam Exp $
######################################################################
### The targets below are all PRIVATE.
@@ -374,10 +374,10 @@
${PKG_CREATE} ${_PKG_ARGS_INSTALL} -O ${PKGFILE:T} > ${.TARGET}
######################################################################
-### generate-metadata (PRIVATE)
+### _flavor-generate-metadata (PRIVATE)
######################################################################
-### generate-metadata is a convenience target for generating all of
-### the pkgsrc binary package meta-data files. It populates
+### _flavor-generate-metadata is a convenience target for generating
+### all of the pkgsrc binary package meta-data files. It populates
### ${PKG_DB_TMPDIR} with the following files:
###
### +BUILD_INFO
@@ -392,15 +392,15 @@
###
### See the targets above for descriptions of each of those files.
###
-.PHONY: generate-metadata
-generate-metadata: ${_METADATA_TARGETS}
+.PHONY: _flavor-generate-metadata
+_flavor-generate-metadata: ${_METADATA_TARGETS}
######################################################################
-### clean-metadata (PRIVATE)
+### _flavor-clean-metadata (PRIVATE)
######################################################################
-### clean-metadata is a convenience target for removing the meta-data
-### directory.
+### _flavor-clean-metadata is a convenience target for removing the
+### meta-data directory.
###
-.PHONY: clean-metadata
-clean-metadata:
+.PHONY: _flavor-clean-metadata
+_flavor-clean-metadata:
${_PKG_SILENT}${_PKG_DEBUG}${RM} -fr ${PKG_DB_TMPDIR}
Home |
Main Index |
Thread Index |
Old Index