diff options
author | Aki <please@ignore.pl> | 2024-08-18 17:35:31 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-08-18 17:35:31 +0200 |
commit | 885be0526dfb6635700e38c8b558932e87a4b139 (patch) | |
tree | 55cee3e492fea688a372a97b3754c78498193a50 /Makefile | |
download | noita-backup-885be0526dfb6635700e38c8b558932e87a4b139.zip noita-backup-885be0526dfb6635700e38c8b558932e87a4b139.tar.gz noita-backup-885be0526dfb6635700e38c8b558932e87a4b139.tar.bz2 |
Shell script to backup, restore and destroy Noita saves
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 |