aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 16:47:24 +0530
committerAryadev Chavali <aryadev@aryadevchavali.com>2024-04-23 16:47:24 +0530
commita87d7a9bb7b6219c563a66f966b24763bb5f10cc (patch)
tree52cb2e870d32aa092e56fe61ddda8f8b80da1798
parentfea55bbc70f0e3caaa071190282b11d23949b127 (diff)
downloaddwm-a87d7a9bb7b6219c563a66f966b24763bb5f10cc.tar.gz
dwm-a87d7a9bb7b6219c563a66f966b24763bb5f10cc.tar.bz2
dwm-a87d7a9bb7b6219c563a66f966b24763bb5f10cc.zip
Added Makefile recipe just for manpages
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 77bcbc0..8945f99 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,9 @@ install: all
mkdir -p ${DESTDIR}${PREFIX}/bin
cp -f dwm ${DESTDIR}${PREFIX}/bin
chmod 755 ${DESTDIR}${PREFIX}/bin/dwm
+ $(MAKE) manpage
+
+manpage:
mkdir -p ${DESTDIR}${MANPREFIX}/man1
sed "s/VERSION/${VERSION}/g" < dwm.1 > ${DESTDIR}${MANPREFIX}/man1/dwm.1
chmod 644 ${DESTDIR}${MANPREFIX}/man1/dwm.1