summaryrefslogtreecommitdiff
path: root/Makefile
blob: b42734129df360cadbf4662d060003abb52c305b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.POSIX:

ifndef PREFIX
  PREFIX = /usr/local
endif

install:
	mkdir -p $(DESTDIR)$(PREFIX)/bin
	cp -f bin/new-repo $(DESTDIR)$(PREFIX)/bin/
	chmod 755 $(DESTDIR)$(PREFIX)/bin/new-repo

uninstall:
	rm $(DESTDIR)$(PREFIX)/bin/new-repo

.PHONY: install uninstall