diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5e08a1e --- /dev/null +++ b/Makefile @@ -0,0 +1,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 |