From 4308699484e91053b471f64fdf29149087d8cd75 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 30 Jun 2022 17:28:12 -0500 Subject: Update to version 1.0 --- Makefile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 6f7723b..cca469c 100644 --- a/Makefile +++ b/Makefile @@ -1,15 +1,20 @@ # licenser -PREFIX ?= /usr +PREFIX = /usr/local -.PHONY: def install uninstall +.PHONY: help install uninstall -def: - @echo "run 'make install' to install" - @echo "run 'make uninstall' to uninstall" +help: + @echo "licensor : drop urself a license" + @echo "(C) 2021--2022 Case Duckworth " + @echo + @echo "TARGETS:" + @echo " install Install licensor to $(DESTDIR)$(PREFIX)/bin/licensor." + @echo " uninstall Uninstall licensor-related files." -install: licenser +install: licensor install -D $< $(DESTDIR)$(PREFIX)/bin uninstall: - rm -f $(DESTDIR)$(PREFIX)/bin/licenser + rm -f $(DESTDIR)$(PREFIX)/bin/licensor + rm -rf "${XDG_CACHE_HOME:-$HOME/.cache}/licensor" -- cgit 1.4.1-21-gabe81