[-]
[+]
|
Added |
xen-shell.spec
|
|
[-]
[+]
|
Added |
xen-shell-makefile.diff
^
|
@@ -0,0 +1,38 @@
+--- Makefile.orig 2008-03-27 09:44:54.000000000 +0100
++++ Makefile 2008-03-27 09:47:30.000000000 +0100
+@@ -34,14 +34,14 @@
+ # Install into /usr/bin, then remove the old install from /usr/local/bin
+ #
+ install: manpages
+- cp bin/xm-reimage /usr/bin
+- cp bin/xen-login-shell /usr/bin
+- cp bin/xen-shell /usr/bin
+- if [ ! -d /etc/xen-shell ]; then mkdir /etc/xen-shell ; fi
+- cp misc/_screenrc /etc/xen-shell
+- cp misc/xen-shell.conf /etc/xen-shell
+- if [ ! -d /etc/bash_completion.d ]; then mkdir /etc/bash_completion.d/ ; fi
+- cp misc/xen-shell /etc/bash_completion.d
++ cp bin/xm-reimage ${DESTDIR}/usr/bin
++ cp bin/xen-login-shell ${DESTDIR}/usr/bin
++ cp bin/xen-shell ${DESTDIR}/usr/bin
++ if [ ! -d ${DESTDIR}/etc/xen-shell ]; then mkdir ${DESTDIR}/etc/xen-shell ; fi
++ cp misc/_screenrc ${DESTDIR}/etc/xen-shell
++ cp misc/xen-shell.conf ${DESTDIR}/etc/xen-shell
++ if [ ! -d ${DESTDIR}/etc/bash_completion.d ]; then mkdir ${DESTDIR}/etc/bash_completion.d/ ; fi
++ cp misc/xen-shell ${DESTDIR}/etc/bash_completion.d
+ @if [ -e /usr/local/bin/xm-reimage ]; then chmod -x /usr/local/bin/xm-reimage; echo "Obsolete software in /usr/local/bin/xm-reimage - please remove"; fi
+ @if [ -e /usr/local/bin/xen-shell ]; then chmod -x /usr/local/bin/xen-shell ; echo "Obsolete software in /usr/local/bin/xm-reimage - please remove"; fi
+ @if [ -e /usr/local/bin/xen-login-shell ]; then chmod -x /usr/local/bin/xen-login-shell; echo "Obsolete software in /usr/local/bin/xm-reimage - please remove"; fi
+@@ -55,9 +55,9 @@
+
+
+ manpages: makemanpages
+- for i in man/*.man; do file=`basename $$i .man` ; cp $$i /usr/share/man/man1/$$file.1; done
+- for i in /usr/share/man/man1/*.1; do gzip -f -9 $$i; done
+- rm /usr/share/man/man1/xen-add-user.1.gz
++ for i in man/*.man; do file=`basename $$i .man` ; cp $$i ${DESTDIR}/usr/share/man/man1/$$file.1; done
++ for i in ${DESTDIR}/usr/share/man/man1/*.1; do gzip -f -9 $$i; done
++ rm ${DESTDIR}/usr/share/man/man1/xen-add-user.1.gz
+
+ #
+ # Make a new release tarball.
|