From 1a746358768cd84eaa32f0066a6791cd8380ad70 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 21 Aug 2024 13:11:52 -0300 Subject: src/config/offsite-ssh.txt: Derive from Makefile and include in /etc/ --- Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e3a5e24..1b245a9 100644 --- a/Makefile +++ b/Makefile @@ -37,9 +37,12 @@ all: $(derived-assets) $(derived-assets): Makefile src/config/tld.txt: Makefile - echo '$(TLD)' > $@ + echo '$(TLD)' | ifnew $@ -system.scm.sentinel: src/guix/system.scm src/config/tld.txt +src/config/offsite-ssh.txt: Makefile + echo '$(OFFSITE_SSH)' | ifnew $@ + +system.scm.sentinel: src/guix/system.scm src/config/tld.txt src/config/offsite-ssh.txt rm -f `basename $@ .sentinel`* guix build -v3 -r`basename $@ .sentinel` -Kf src/guix/`basename $@ .sentinel` touch $@ -- cgit v1.2.3