aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rwxr-xr-xpinentry-rofi.scm2
2 files changed, 5 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index f9c7c38..42d59de 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,8 @@
-ifeq ($(filter $(.FEATURES),guile),)
- $(error No guile support bailing out)
-endif
-
-GUILE_SITE_CCACHE ?= $(guile (%site-ccache-dir))
PREFIX ?=
PREFIX_BIN ?= $(PREFIX)/usr/bin
+
+.PHONY: install
install:
- @install -d $(PREFIX_BIN) $(PREFIX)$(GUILE_SITE_CCACHE)
- @install -T pinentry-rofi.scm $(PREFIX_BIN)/pinentry-rofi-guile
- @guild compile pinentry-rofi.scm -o $(PREFIX)$(GUILE_SITE_CCACHE)/pinentry-rofi-guile.go
+ @install -DT pinentry-rofi.scm $(PREFIX_BIN)/pinentry-rofi-guile
+
diff --git a/pinentry-rofi.scm b/pinentry-rofi.scm
index b19eede..a669c79 100755
--- a/pinentry-rofi.scm
+++ b/pinentry-rofi.scm
@@ -1,5 +1,5 @@
#! /usr/bin/guile \
--e main -s
+--no-auto-compile -e main -s
!#
;; Copyright © 2016 Quentin "Sardem FF7" Glidic