From 703a5dbc9526d3192c43bdd2ad742fb9bfe09410 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 24 Aug 2024 08:50:37 -0300 Subject: Makefile: Simplify building system.scm.sentinel --- Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index e7b5984..c4e9c23 100644 --- a/Makefile +++ b/Makefile @@ -42,10 +42,9 @@ src/config/tld.txt: Makefile 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 -system.scm.sentinel: - rm -f `basename $@ .sentinel`* - guix build -v3 -r`basename $@ .sentinel` -Kf src/guix/`basename $@ .sentinel` +system.scm.sentinel: src/guix/system.scm src/config/tld.txt src/config/offsite-ssh.txt + rm -f system.scm* + guix build -v3 -r system.scm -Kf src/guix/system.scm touch $@ .SUFFIXES: .stripped -- cgit v1.2.3