aboutsummaryrefslogblamecommitdiffstats
path: root/multicall-hardlinks.mk
blob: b225a849fa00dc236a7b0ea1b563c74bca74fded (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 -- contacts "$(DESTDIR)$(PREFIX)/bin/$$1" &&\
		linkto="$$1" &&\
		shift 1 &&\
		cd -- "$(DESTDIR)$(PREFIX)/bin/" &&\
			for f; do\
				ln -- "$$linkto" "$$f" || exit 1;\
			done