aboutsummaryrefslogblamecommitdiffstats
path: root/Makefile
blob: 96d7462c7635bdac1d993b62589ab366e5207f15 (plain) (tree)
1
2
3
4
5
6
7
8






                                            
                                                





                                                                                          

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