move rc scripts to extra/p9p/, set shebang to /usr/local/plan9/bin/rc, remove 9PREFIX

don't expect anything to work, files are missing now
This commit is contained in:
Georg Neis 2006-02-25 19:12:09 +01:00
parent 506c7a8835
commit 215ac62fd7
6 changed files with 6 additions and 7 deletions

View File

@ -37,14 +37,14 @@ clean:
install: all
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f ${BIN} ${DESTDIR}${PREFIX}/bin
@sed 's|CONFPREFIX|${CONFPREFIX}|; s|9PREFIX|${9PREFIX}|' <cmd/wm/wmii >${DESTDIR}${PREFIX}/bin/wmii
@sed 's|CONFPREFIX|${CONFPREFIX}|' <cmd/wm/wmii >${DESTDIR}${PREFIX}/bin/wmii
@for i in ${BIN}; do \
chmod 755 ${DESTDIR}${PREFIX}/bin/`basename $$i`; \
done
@echo installed executable files to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${CONFPREFIX}/wmii-3
@cd rc; for i in *; do \
sed 's|CONFPREFIX|${CONFPREFIX}|; s|9PREFIX|${9PREFIX}|' <$$i >${DESTDIR}${CONFPREFIX}/wmii-3/$$i; \
sed 's|CONFPREFIX|${CONFPREFIX}|' <$$i >${DESTDIR}${CONFPREFIX}/wmii-3/$$i; \
chmod 755 ${DESTDIR}${CONFPREFIX}/wmii-3/$$i; \
done
@echo installed rc scripts to ${DESTDIR}${CONFPREFIX}/wmii-3

View File

@ -4,7 +4,6 @@
PREFIX = /usr/local
CONFPREFIX = ${PREFIX}/etc
MANPREFIX = ${PREFIX}/share/man
9PREFIX = ${PREFIX}/9
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib

View File

@ -1,4 +1,4 @@
#!9PREFIX/bin/rc
#!/usr/local/plan9/bin/rc
# clean the environment and execute the given command
path=$old_path

View File

@ -1,4 +1,4 @@
#!9PREFIX/bin/rc
#!/usr/local/plan9/bin/rc
# periodically print date and load average to the bar
PIDFILE=/tmp/ns.$USER.$DISPLAY/statuspid

View File

@ -1,4 +1,4 @@
#!9PREFIX/bin/rc
#!/usr/local/plan9/bin/rc
# display a welcome message that contains the wmii tutorial
xmessage -file - <<END

View File

@ -1,4 +1,4 @@
#!9PREFIX/bin/rc
#!/usr/local/plan9/bin/rc
# configure wmii
PIDFILE=/tmp/ns.$USER.$DISPLAY/wmiircpid