[hackers] [lsw] ensure manpage dir exists (thanks petr) || Connor Lane Smith

From: <hg_AT_suckless.org>
Date: Mon, 6 Jun 2011 13:52:10 +0200 (CEST)

changeset: 10:dba17963073c
tag: tip
user: Connor Lane Smith <cls_AT_lubutu.com>
date: Mon Jun 06 12:52:04 2011 +0100
files: Makefile
description:
ensure manpage dir exists (thanks petr)

diff -r 81a779008ac9 -r dba17963073c Makefile
--- a/Makefile Sat Jun 04 21:34:47 2011 +0100
+++ b/Makefile Mon Jun 06 12:52:04 2011 +0100
@@ -40,6 +40,7 @@
         @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
 
Received on Mon Jun 06 2011 - 13:52:10 CEST

This archive was generated by hypermail 2.2.0 : Mon Jun 06 2011 - 14:00:10 CEST