config

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

commit 2bc41675b34c9dae19399c45352e5244fe2c02a0
parent ba27c46ca95f3a2909c510c9857eddf01fe9ef60
Author: Jacob R. Edwards <jacobouno@protonmail.com>
Date:   Sun, 21 Mar 2021 09:07:41 -0700

Simplify README

Diffstat:
MREADME | 24+++++++++---------------
1 file changed, 9 insertions(+), 15 deletions(-)

diff --git a/README b/README @@ -1,19 +1,13 @@ OpenBSD [and UNIX] system configurations -There are two packages, local, for user-specific modules, and global, -for system-wide modules. In each package there are multiple modules -such as ksh for ksh(1) related files and vi for vi(1) related files. +The Makefiles have two special variables, PKGS and MODULES, which +may be defined to restrict operations to a specific set of files. +For example, to install the `vi' and `ksh' modules from the `local' +package you may use the following: -To select packages use the PKGS variable, e.g. make PKGS=local, to -select modules use the MODULES variable, e.g. make MODULES=vi. By -default the selected modules from the selected packages are installed -using cast(1) (see my cast project), but you may use GNU stow(1) -on the local package by defining STOW, e.g. make STOW=1. + $ make PKGS=local MODULES='vi ksh' -An example to install only the vi and ksh modules from the local -package: - - $ make PKGS=local MODULES='vi ksh' - -Note that you may omit 'PKGS=local' since PKGS is defined as local -by default. +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.