blob: 295812fa208e26b606fdfc1d94717f1217b95c89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
PREFIX?=/usr/local
BINDIR?=$(PREFIX)/bin
DATADIR?=$(PREFIX)/share
MANDIR?=$(DATADIR)/man/man1
all: mirror
clean:
rm -f mirror
install:
mkdir -p $(DESTDIR)$(BINDIR)
mkdir -p $(DESTDIR)$(MANDIR)
cp -f mirror $(DESTDIR)$(BINDIR)/mirror
cp -f mirror.1 $(DESTDIR)$(MANDIR)/mirror.1
uninstall:
rm -f $(DESTDIR)$(BINDIR)/mirror
rm -f $(DESTDIR)$(MANDIR)/mirror.1
.PHONY: all clean install uninstall
|