diff options
author | EuAndreh <eu@euandre.org> | 2024-08-21 13:11:52 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2024-08-21 14:51:58 -0300 |
commit | 1a746358768cd84eaa32f0066a6791cd8380ad70 (patch) | |
tree | 272837745888d5aa7ab412a6d3e063f0b78cacd9 /Makefile | |
parent | mv src/tld.txt src/config/ (diff) | |
download | server-1a746358768cd84eaa32f0066a6791cd8380ad70.tar.gz server-1a746358768cd84eaa32f0066a6791cd8380ad70.tar.xz |
src/config/offsite-ssh.txt: Derive from Makefile and include in /etc/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 $@ |