diff options
-rw-r--r-- | Makefile | 12 | ||||
-rwxr-xr-x | pinentry-rofi.scm | 2 |
2 files changed, 5 insertions, 9 deletions
@@ -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 |