diff options
author | Case Duckworth | 2022-06-30 17:28:12 -0500 |
---|---|---|
committer | Case Duckworth | 2022-06-30 17:28:22 -0500 |
commit | 4308699484e91053b471f64fdf29149087d8cd75 (patch) | |
tree | 8fb16136763edb0b509339f4fbaf3dd88c9e2a5d /Makefile | |
parent | Update README (diff) | |
download | licensor-4308699484e91053b471f64fdf29149087d8cd75.tar.gz licensor-4308699484e91053b471f64fdf29149087d8cd75.zip |
Update to version 1.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/Makefile b/Makefile index 6f7723b..cca469c 100644 --- a/Makefile +++ b/Makefile | |||
@@ -1,15 +1,20 @@ | |||
1 | # licenser | 1 | # licenser |
2 | 2 | ||
3 | PREFIX ?= /usr | 3 | PREFIX = /usr/local |
4 | 4 | ||
5 | .PHONY: def install uninstall | 5 | .PHONY: help install uninstall |
6 | 6 | ||
7 | def: | 7 | help: |
8 | @echo "run 'make install' to install" | 8 | @echo "licensor : drop urself a license" |
9 | @echo "run 'make uninstall' to uninstall" | 9 | @echo "(C) 2021--2022 Case Duckworth <acdw@acdw.net>" |
10 | @echo | ||
11 | @echo "TARGETS:" | ||
12 | @echo " install Install licensor to $(DESTDIR)$(PREFIX)/bin/licensor." | ||
13 | @echo " uninstall Uninstall licensor-related files." | ||
10 | 14 | ||
11 | install: licenser | 15 | install: licensor |
12 | install -D $< $(DESTDIR)$(PREFIX)/bin | 16 | install -D $< $(DESTDIR)$(PREFIX)/bin |
13 | 17 | ||
14 | uninstall: | 18 | uninstall: |
15 | rm -f $(DESTDIR)$(PREFIX)/bin/licenser | 19 | rm -f $(DESTDIR)$(PREFIX)/bin/licensor |
20 | rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/licensor" | ||