summaryrefslogtreecommitdiff
path: root/src/librefetch/Makefile
blob: 04ca685fe79c195456da5a0a37fe253dd502f1d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
include $(dir $(lastword $(MAKEFILE_LIST)))/../../config.mk
include $(topsrcdir)/build-aux/Makefile.head.mk

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

files.sys.$(libretools.pkg) += /etc/makepkg.d/librefetch.conf

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

$(DESTDIR)/etc/makepkg.d/librefetch.conf: $(outdir)/makepkg-librefetch.conf
	install -T -Dm644 '$<' '$@'

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