summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-11-25 18:54:57 +0000
committerjlam <jlam@pkgsrc.org>2001-11-25 18:54:57 +0000
commitcfd5b704a70497d2c14d5e85256db8adea34f050 (patch)
tree895b5976ef443c572bca1e25ec9f9394da98bc5b /mk/install
parenta51ad85b7fe2e8eb746073a8daefb6ffef4fa79d (diff)
downloadpkgsrc-cfd5b704a70497d2c14d5e85256db8adea34f050.tar.gz
Allow ALL_{DIRS,FILES,MAKE_DIRS} to be appended to by the extra templates
so that the general INSTALL/DEINSTALL scripts can manage these extra files and directories.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/deinstall8
-rw-r--r--mk/install/header6
2 files changed, 9 insertions, 5 deletions
diff --git a/mk/install/deinstall b/mk/install/deinstall
index b67a9f09ea8..7119dae1ec7 100644
--- a/mk/install/deinstall
+++ b/mk/install/deinstall
@@ -1,8 +1,8 @@
# start of deinstall
#
-# $NetBSD: deinstall,v 1.5 2001/11/21 15:43:01 jlam Exp $
+# $NetBSD: deinstall,v 1.6 2001/11/25 18:54:57 jlam Exp $
-ALL_FILES="${CONF_FILES} ${SUPPORT_FILES}"
+ALL_FILES="${ALL_FILES} ${CONF_FILES} ${SUPPORT_FILES}"
set -- ${RCD_SCRIPTS}
while [ $# -gt 0 ]
do
@@ -19,7 +19,7 @@ do
ALL_FILES="${ALL_FILES} ${samplefile} ${file}"
done
-ALL_MAKE_DIRS="${MAKE_DIRS}"
+ALL_MAKE_DIRS="${ALL_MAKE_DIRS} ${MAKE_DIRS}"
set -- ${MAKE_DIRS_PERMS}
while [ $# -gt 0 ]
do
@@ -27,7 +27,7 @@ do
shift; shift; shift; shift
ALL_MAKE_DIRS="${ALL_MAKE_DIRS} ${dir}"
done
-ALL_DIRS="${ALL_MAKE_DIRS} ${OWN_DIRS}"
+ALL_DIRS="${ALL_DIRS} ${ALL_MAKE_DIRS} ${OWN_DIRS}"
set -- ${OWN_DIRS_PERMS}
while [ $# -gt 0 ]
do
diff --git a/mk/install/header b/mk/install/header
index 2f9a2fa08ba..726bc34b429 100644
--- a/mk/install/header
+++ b/mk/install/header
@@ -2,7 +2,7 @@
#
# start of header
#
-# $NetBSD: header,v 1.3 2001/11/21 15:43:01 jlam Exp $
+# $NetBSD: header,v 1.4 2001/11/25 18:54:57 jlam Exp $
PKGNAME=$1
STAGE=$2
@@ -50,4 +50,8 @@ MAKE_DIRS_PERMS="@MAKE_DIRS_PERMS@"
OWN_DIRS="@OWN_DIRS@"
OWN_DIRS_PERMS="@OWN_DIRS_PERMS@"
+ALL_FILES=
+ALL_MAKE_DIRS=
+ALL_DIRS=
+
# end of header