From 0c4740b27735199f2c194b47c85ab321250631b4 Mon Sep 17 00:00:00 2001
From: Humm <hummsmith42@gmail.com>
Date: Wed, 5 Jan 2022 01:54:02 +0100
Subject: add dwl(1)

Documentation is good.  Man pages are documentation.  A program without
a man page is worthless.
---
 Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'Makefile')

diff --git a/Makefile b/Makefile
index 5ff69e9..536454f 100644
--- a/Makefile
+++ b/Makefile
@@ -15,10 +15,11 @@ clean:
 	rm -f dwl *.o *-protocol.h *-protocol.c
 
 install: dwl
-	install -D dwl $(PREFIX)/bin/dwl
+	install -Dm755 dwl $(PREFIX)/bin/dwl
+	install -Dm644 dwl.1 $(MANDIR)/man1/dwl.1
 
 uninstall:
-	rm -f $(PREFIX)/bin/dwl
+	rm -f $(PREFIX)/bin/dwl $(MANDIR)/man1/dwl.1
 
 .PHONY: all clean install uninstall
 
-- 
cgit v1.2.3