config

OpenBSD system configuration
git clone git://jacobedwards.org/config
Log | Files | Refs | README

commit 0bed841db295a628b7306405a738ce5d37d63e19
parent 6c272be4cfc487770bbce17de5ddba2d89fa6d04
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Thu, 25 Mar 2021 21:34:06 -0700

Cleanup Makefiles and update README

- Remove HOME variable in global/Makefile
- Remove stow(1) support

Diffstat:
MREADME | 5-----
Mglobal/Makefile | 5++---
Mlocal/Makefile | 9---------
3 files changed, 2 insertions(+), 17 deletions(-)

diff --git a/README b/README @@ -6,8 +6,3 @@ For example, to install the `vi' and `ksh' modules from the `local' package you may use the following: $ make PKGS=local MODULES='vi ksh' - -When installing modules from the local package the special variable -STOW may be defined to use GNU stow(1) instead of cast(1), one of -my projects. This is not available in the global package because -stow(1) only supports symlinks which I believe are insecure. diff --git a/global/Makefile b/global/Makefile @@ -1,4 +1,3 @@ -HOME = / MODULES =\ cron\ doas\ @@ -10,7 +9,7 @@ MODULES =\ all: install install: - chown root:wheel `cast -cf ${MODULES} ${HOME}` + chown root:wheel `cast -cf ${MODULES} /` uninstall: - rm -v `cast -v ${MODULES} ${HOME}` + rm -v `cast -v ${MODULES} /` diff --git a/local/Makefile b/local/Makefile @@ -1,4 +1,3 @@ -STOW = MODULES =\ bin\ dalias\ @@ -24,15 +23,7 @@ MODULES =\ all: install install: -.ifdef ${STOW} - stow -S -t${HOME} ${MODULES} -.else cast -p ${MODULES} ${HOME} -.endif uninstall: -.ifdef ${STOW} - stow -D -t${HOME} ${MODULES} -.else rm -v `cast -v ${MODULES} ${HOME}` -.endif