commit 9440e6be2feadaf99ff68574ca7c4a4c6f60ff33 (patch) parent 21e683ef26b23840431d4b3991bdea16123b6687 Author: Alex Karle <alex@alexkarle.com> Date: Thu, 3 Mar 2022 22:26:32 -0500 Add Makefile with install recipe I'm not sure if the default should be PREFIX/man (like an OpenBSD package) or PREFIX/share/man .. I'll google around a bit! Diffstat:
A | Makefile | | | 8 | ++++++++ |
1 file changed, 8 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile @@ -0,0 +1,8 @@ +DESTDIR = +PREFIX = /usr/local + +.PHONY: install +install: + mkdir -p $(DESTDIR)$(PREFIX)/man/man1 $(DESTDIR)$(PREFIX)/bin + install -m 555 today $(DESTDIR)$(PREFIX)/bin/today + install -m 555 today.1 $(DESTDIR)$(PREFIX)/man/man1/today.1