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

_______________________________________________
[email protected] mailing list
http://wmii.de/cgi-bin/mailman/listinfo/wmii

Reply via email to