From e0bef4d397c0c88dd052466be2e12dc8b1d73813 Mon Sep 17 00:00:00 2001 From: seth Date: Thu, 4 Aug 2022 04:12:21 -0400 Subject: initial commit --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..66a5f47 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +shell = /usr/bin/env bash +CONFIG = $(HOME)/.config +ifeq ($(XDG_CONFIG_HOME),) + CONFIG = $(XDG_CONFIG_HOME) +endif + +install: + install -Dm755 bin/hiccup $(DESTDIR)$(PREFIX)/bin/hiccup + install -Dm644 default-config.json $(DESTDIR)$(CONFIG)/hiccup/config.json + +uninstall: + rm $(DESTDIR)$(PREFIX)/bin/hiccup + rm $(DESTDIR)$(CONFIG)/hiccup/config.json -- cgit v1.2.3