diff options
| author | seth <[email protected]> | 2022-08-04 04:12:21 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2022-08-04 04:26:49 -0400 |
| commit | e0bef4d397c0c88dd052466be2e12dc8b1d73813 (patch) | |
| tree | 028c6d8479234fd4cf09678c4894bfa08e757584 /Makefile | |
initial commit
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
