From a87d7a9bb7b6219c563a66f966b24763bb5f10cc Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 23 Apr 2024 16:47:24 +0530 Subject: Added Makefile recipe just for manpages --- Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-13-gbd6f