aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: f252c8e583269aeca44e86ef1e5658d9677a4c0b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

GUILE_SUPPORT = $(filter $(.FEATURES),guile)

ifeq ($(GUILE_SUPPORT),)
  $(error No guile support bailing out)
endif

GUILE_SITE_CCACHE=$(guile (%site-ccache-dir))
PREFIX ?=
PREFIX_BIN ?= $(PREFIX)/usr/bin
install:
	@install -d $(PREFIX_BIN) $(PREFIX)$(GUILE_SITE_CCACHE)
	@install -T rofi-pinentry.scm $(PREFIX_BIN)/pinentry-rofi
	@guild compile rofi-pinentry.scm -o $(PREFIX)$(GUILE_SITE_CCACHE)/pinentry-rofi.go