aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 4 insertions, 8 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
+