[wmii] [patch] add prefix DESTDIR in wmii script

From: David Guibert <David.Guibert_AT_cdcsp.univ-lyon1.fr>
Date: Wed, 29 Mar 2006 21:08:34 +0200

hi,

I've tried to install wmii to a specific path using DESTDIR.
But the wmii script is not updated to take into account the new path for
the scripts such as status (those installed in CONFPREFIX).

The following patch correct the wmii script with the right default path.

diff -r f18af601652d Makefile
--- a/Makefile Wed Mar 29 13:05:18 2006 +0200
+++ b/Makefile Wed Mar 29 20:59:28 2006 +0200
@@ -37,7 +37,7 @@ install: all
 install: all
         @mkdir -p ${DESTDIR}${PREFIX}/bin
         @cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
 - @sed 's|CONFPREFIX|${CONFPREFIX}|' <cmd/wm/wmii >${DESTDIR}${PREFIX}/bin/wmii
 + @sed 's|CONFPREFIX|${DESTDIR}${CONFPREFIX}|' <cmd/wm/wmii >${DESTDIR}${PREFIX}/bin/wmii
         @for i in ${BIN}; do \
                 chmod 755 ${DESTDIR}${PREFIX}/bin/`basename $$i`; \
         done
 
cheers

-- 
David Gubiert
Received on Wed Mar 29 2006 - 21:06:19 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:01:43 UTC