From 9440e6be2feadaf99ff68574ca7c4a4c6f60ff33 Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Thu, 3 Mar 2022 22:26:32 -0500 Subject: [PATCH] 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! --- Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0a049b8 --- /dev/null +++ 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 -- libgit2 1.1.1