setup

personal system configuration scripts
git clone git://git.pyratebeard.net/setup.git
Log | Files | Refs | README

commit 853e32f20d1aab15255d89af5a8255df2d5c45f4
parent 615a095b9ad60b772ebac2a844184123105e6a48
Author: pyratebeard <root@pyratebeard.net>
Date:   Mon, 11 Dec 2023 21:03:05 +0000

makefile

Diffstat:
Amakefile | 36++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+), 0 deletions(-)

diff --git a/makefile b/makefile @@ -0,0 +1,36 @@ +SERVER := localhost +FILESDIR = files + +.PHONY: share pkgs env user dots tools sshd motd sec tidy + +# https://blog.melski.net/2010/11/30/makefile-hacks-print-the-value-of-any-variable/ +share-%: + cd $* ; if [ ! -d ${FILESDIR} ] ; then mkdir ${FILESDIR} ; fi + cp 01-share/script $*/${FILESDIR}/share + +pkgs: share-02-pkgs + cd 02-pkgs ; drist ${SERVER} + +env: share-03-env + cd 03-env ; drist ${SERVER} + +user: share-04-user + cd 04-user ; drist ${SERVER} + +dots: share-05-dots + cd 05-dots ; drist ${SERVER} + +tools: share-06-tools + cd 06-tools ; drist ${SERVER} + +sshd: share-07-sshd + cd 07-sshd ; drist ${SERVER} + +motd: share-08-motd + cd 08-motd ; drist ${SERVER} + +sec: share-09-sec + cd 09-sec ; drist ${SERVER} + +tidy: share-10-tidy + cd 10-tidy ; drist ${SERVER}