blob: cca469c9ba90159a5215087cbb552e139ab89a53 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# licenser
PREFIX = /usr/local
.PHONY: help install uninstall
help:
@echo "licensor : drop urself a license"
@echo "(C) 2021--2022 Case Duckworth <acdw@acdw.net>"
@echo
@echo "TARGETS:"
@echo " install Install licensor to $(DESTDIR)$(PREFIX)/bin/licensor."
@echo " uninstall Uninstall licensor-related files."
install: licensor
install -D $< $(DESTDIR)$(PREFIX)/bin
uninstall:
rm -f $(DESTDIR)$(PREFIX)/bin/licensor
rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/licensor"
|