commit 6f321d7fb63fb80b4726e706cdab5d1807d55976
parent 1a04cca41f66fbf66d996d37309027d8937ecd2d
Author: Connor Lane Smith <cls@lubutu.com>
Date: Mon, 6 Jun 2011 12:52:04 +0100
ensure manpage dir exists (thanks petr)
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -40,6 +40,7 @@ install: all
@cp -f lsw ${DESTDIR}${PREFIX}/bin
@chmod 755 ${DESTDIR}${PREFIX}/bin/lsw
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1/lsw.1
+ @mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/VERSION/${VERSION}/g" < lsw.1 > ${DESTDIR}${MANPREFIX}/man1/lsw.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/lsw.1