aboutsummaryrefslogblamecommitdiffstats
path: root/multicall-hardlinks.mk
blob: be6ca66fef140d69014428cfdf4df3f3f470ddc2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                                                  
all: contacts

install: contacts
	mkdir -p -- "$(DESTDIR)$(PREFIX)/bin"
	set -- $(BIN) &&\
		cp -- "$$1" "$(DESTDIR)$(PREFIX)/bin/$$1" &&\
		linkto="$$1" &&\
		shift 1 &&\
		cd -- "$(DESTDIR)$(PREFIX)/bin/" &&\
			for f; do\
				ln -- "$$linkto" "$$f" || exit 1;\
			done