diff options
author | jlam <jlam@pkgsrc.org> | 2003-09-06 11:41:31 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-09-06 11:41:31 +0000 |
commit | 560972425917454fc5c6119dfca3e03c6fbd52cd (patch) | |
tree | 47df86a8f686a98396f201efaafabd9f52c1c89e /mk/bsd.pkg.install.mk | |
parent | f4014b072032c2e209e5e21d34df1c04fead137d (diff) | |
download | pkgsrc-560972425917454fc5c6119dfca3e03c6fbd52cd.tar.gz |
Add .PHONY targets for Makefile correctness.
Diffstat (limited to 'mk/bsd.pkg.install.mk')
-rw-r--r-- | mk/bsd.pkg.install.mk | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mk/bsd.pkg.install.mk b/mk/bsd.pkg.install.mk index 65e9968fbcc..eac8fdadf33 100644 --- a/mk/bsd.pkg.install.mk +++ b/mk/bsd.pkg.install.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.install.mk,v 1.47 2003/09/05 11:34:25 jlam Exp $ +# $NetBSD: bsd.pkg.install.mk,v 1.48 2003/09/06 11:41:31 jlam Exp $ # # This Makefile fragment is included by package Makefiles to use the common # INSTALL/DEINSTALL scripts. To use this Makefile fragment, simply: @@ -270,6 +270,8 @@ FILES_SUBST_SED= ${FILES_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} INSTALL_SCRIPTS_ENV= PKG_PREFIX=${PREFIX} +.PHONY: pre-install-script post-install-script + pre-install-script: generate-install-scripts ${_PKG_SILENT}${_PKG_DEBUG}${SETENV} ${INSTALL_SCRIPTS_ENV} \ ${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} PRE-INSTALL @@ -278,6 +280,7 @@ post-install-script: install-rcd-scripts ${_PKG_SILENT}${_PKG_DEBUG}${SETENV} ${INSTALL_SCRIPTS_ENV} \ ${_PKG_DEBUG_SCRIPT} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL +.PHONY: generate-install-scripts post-build: generate-install-scripts generate-install-scripts: # do nothing @@ -313,8 +316,11 @@ ${INSTALL_FILE}: ${INSTALL_SRC} # If the source rc.d script is not present, then the automatic handling # doesn't occur. +.PHONY: generate-rcd-scripts post-build: generate-rcd-scripts generate-rcd-scripts: # do nothing + +.PHONY: install-rcd-scripts install-rcd-scripts: # do nothing .for _script_ in ${RCD_SCRIPTS} |