[dev] [PATCH] [lsw] Create manpage directory if it's not there

From: Petr Sabata <contyk_AT_redhat.com>
Date: Mon, 6 Jun 2011 10:35:56 +0200

This is self-explanatory...

Signed-off-by: Petr Sabata <contyk_AT_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
Received on Mon Jun 06 2011 - 10:35:56 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 06 2011 - 10:48:02 CEST