diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..71c66b3 --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +PREFIX ?= $(HOME)/.local +APPS ?= $(PREFIX)/share/applications + +install: + install -Dm755 dvm $(PREFIX)/bin/dvm + install -Dm644 -t $(APPS) applications/*.desktop + -update-desktop-database $(APPS) 2>/dev/null + +uninstall: + rm -f $(PREFIX)/bin/dvm $(addprefix $(APPS)/,$(notdir $(wildcard applications/*.desktop))) + +.PHONY: install uninstall |