include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk

libretools-bins      = librefetch librefetch-install
libretools-confs    += librefetch-makepkg.conf
libretools-libexecs +=                                     $(filter librefetchdir/%,$(detect-exec))
libretools-libs     += $(filter-out $(libretools-libexecs),$(filter librefetchdir/%,$(detect-all)))
pots                 = $(libretools-bins)

$(outdir)/librefetch-install: $(var)pkgconfdir
$(outdir)/librefetch-makepkg.conf: $(var)bindir

include $(topsrcdir)/build-aux/Makefile.tail.mk
