aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index c63bb41..e63f1bd 100644
--- a/Makefile
+++ b/Makefile
@@ -28,14 +28,13 @@ paku.lock: src/bin/paku Makefile
touch $@
-guix: src/org/euandre/packages.scm channel-key.sentinel \
+guix: src/org/euandre/packages.scm guix.mk \
result-packages.sentinel result-services.sentinel
+ @$(MAKE) -f guix.mk
+
+guix.mk: paku.lock
+ paku guix-channel-key > $@
-channel-key.sentinel: paku.lock
- F="$$( perl -MJSON -0777 -E 'say $${decode_json <>}{maintainer}{name}' < paku.lock).key"; \
- ID="$$(perl -MJSON -0777 -E 'say $${decode_json <>}{maintainer}{email}' < paku.lock)"; \
- gpg --armour --export "$$ID" > "$$F"
- touch $@
src/org/euandre/packages.scm: paku.lock
paku guix > src/org/euandre/packages.scm
@@ -101,8 +100,7 @@ upload: public
clean:
rm -rf \
- $(derived-assets) result* .paku/ public/ debian.mk \
- *.sentinel \
+ $(derived-assets) result* *.mk .paku/ public/ \
local-files = \