This is self-explanatory...

Signed-off-by: Petr Sabata <con...@redhat.com>
---
 Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile
index 1d2f43d..7a324ef 100644
--- 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
 
-- 
1.7.5.2


Reply via email to