about summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorCase Duckworth2022-06-30 17:28:12 -0500
committerCase Duckworth2022-06-30 17:28:22 -0500
commit4308699484e91053b471f64fdf29149087d8cd75 (patch)
tree8fb16136763edb0b509339f4fbaf3dd88c9e2a5d /Makefile
parentUpdate README (diff)
downloadlicensor-4308699484e91053b471f64fdf29149087d8cd75.tar.gz
licensor-4308699484e91053b471f64fdf29149087d8cd75.zip
Update to version 1.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
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
3PREFIX ?= /usr 3PREFIX = /usr/local
4 4
5.PHONY: def install uninstall 5.PHONY: help install uninstall
6 6
7def: 7help:
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
11install: licenser 15install: licensor
12 install -D $< $(DESTDIR)$(PREFIX)/bin 16 install -D $< $(DESTDIR)$(PREFIX)/bin
13 17
14uninstall: 18uninstall:
15 rm -f $(DESTDIR)$(PREFIX)/bin/licenser 19 rm -f $(DESTDIR)$(PREFIX)/bin/licensor
20 rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/licensor"