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

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

CMD=git-update-agent

make:

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

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

.PHONY: install uninstall make