summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5e08a1eae9a181c6ec3ed7d0c028cebf7a1848c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESTDIR=
PREFIX=/usr/local
PREFIX_EXEC=$(PREFIX)
BINDIR=$(PREFIX_EXEC)/bin

all:
	@echo Nothing to do

install:
	install -m755 -DT noita-backup $(DESTDIR)$(BINDIR)/backup-noita
	ln -fsr $(DESTDIR)$(BINDIR)/backup-noita $(DESTDIR)$(BINDIR)/destroy-noita
	ln -fsr $(DESTDIR)$(BINDIR)/backup-noita $(DESTDIR)$(BINDIR)/restore-noita

uninstall:
	rm -f $(DESTDIR)$(BINDIR)/backup-noita
	rm -f $(DESTDIR)$(BINDIR)/destroy-noita
	rm -f $(DESTDIR)$(BINDIR)/restore-noita

.PHONY: all install uninstall