From f235370d6a59f0215a12d9fb4ac4950e1c9a0716 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Fri, 24 Mar 2023 16:11:56 -0300 Subject: Makefile: Use debian.sentinel for better dependency tracking --- Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1063f9d..7218a2c 100644 --- a/Makefile +++ b/Makefile @@ -74,8 +74,12 @@ result result.sentinel: default.nix debian.mk: paku.lock paku debian > $@ -debian: debian.mk +debian.sentinel: debian.mk @$(MAKE) -f debian.mk + touch debian.sentinel + +debian: debian.sentinel + homebrew: Formula @@ -85,7 +89,7 @@ Formula: paku.lock touch $@ -public/debian: debian +public/debian: debian.sentinel mkdir -p $(@D) rsync -avzP --delete `$(MAKE) -s -f debian.mk public-dir`/ $@/ @@ -102,7 +106,7 @@ upload: public clean: src/bin/paku rm -rf "`paku -C datadir`" rm -rf \ - $(derived-assets) result* *.mk public/ + $(derived-assets) result* *.mk *.sentinel public/ local-files = \ -- cgit v1.2.3