summaryrefslogtreecommitdiff
path: root/Makefile
blob: 44d698a29f9907e8d61894956aea2d3553f29480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ifeq ($(PREFIX),)
	PREFIX := /usr/local
endif

ifeq ($(BINDIR),)
	BINDIR := /bin
endif

CMD=git-update-agent

install:
	mkdir -p $(DESTDIR)$(PREFIX)$(BINDIR)/
	install -D -m 755 $(CMD) $(DESTDIR)$(PREFIX)$(BINDIR)/

uninstall:
	rm -rf $(DESTDIR)$(PREFIX)$(BINDIR)/$(CMD)

.PHONY: install uninstall $(CMD)