aboutsummaryrefslogtreecommitdiffstats
path: root/multicall-symlinks.mk
blob: 2cd918c69140799b9308f0d48f4001f55e68e11c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
all: contacts

install: contacts
	mkdir -p -- "$(DESTDIR)$(PREFIX)/lib"
	mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
	cp -- contacts "$(DESTDIR)$(PREFIX)/lib/"
	cd -- "$(DESTDIR)$(PREFIX)/bin/" &&\
		for f in $(BIN); do\
			ln -s -- ../lib/contacts "$$f" || exit 1;\
		done