diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-25 18:54:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-25 18:54:57 +0000 |
commit | cfd5b704a70497d2c14d5e85256db8adea34f050 (patch) | |
tree | 895b5976ef443c572bca1e25ec9f9394da98bc5b /mk | |
parent | a51ad85b7fe2e8eb746073a8daefb6ffef4fa79d (diff) | |
download | pkgsrc-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')
-rw-r--r-- | mk/install/deinstall | 8 | ||||
-rw-r--r-- | mk/install/header | 6 |
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 |