1 From 6831024a247fd89c7f7adcbee8a0be991b3caaf4 Mon Sep 17 00:00:00 2001
2 From: Samuel Martin <s.martin49@gmail.com>
3 Date: Sun, 2 Mar 2014 23:45:44 +0100
4 Subject: [PATCH] Makefile: allow to override python interpreter
6 Signed-off-by: Samuel Martin <s.martin49@gmail.com>
9 1 file changed, 2 insertions(+), 1 deletion(-)
11 diff --git a/Makefile b/Makefile
12 index 1d34bde..d7134ff 100644
15 @@ -42,6 +42,7 @@ LDLIBS += -lgcrypt
16 reglib.o: keys-gcrypt.c
23 @@ -103,7 +104,7 @@ $(REG_BIN):
24 keys-%.c: utils/key2pub.py $(wildcard $(PUBKEY_DIR)/*.pem)
26 $(NQ) ' Trusted pubkeys:' $(wildcard $(PUBKEY_DIR)/*.pem)
27 - $(Q)./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
28 + $(Q)$(PYTHON) ./utils/key2pub.py --$* $(wildcard $(PUBKEY_DIR)/*.pem) $@
30 %.o: %.c regdb.h reglib.h