summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Lebl <jirka@src.gnome.org>2002-06-02 19:59:33 +0000
committerGeorge Lebl <jirka@src.gnome.org>2002-06-02 19:59:33 +0000
commit92dfeff9625ac5e5d9001b62ba6b8a0b865e04b6 (patch)
tree9f2913980751dd82bc4be649a766c2dce456842f
parentd15a2918690c82901fdeea82fd773a823b9b7454 (diff)
downloadgdm-92dfeff9625ac5e5d9001b62ba6b8a0b865e04b6.tar.gz
Small script to build gdm out of cvs
-George
-rwxr-xr-xgdm-build.sh53
1 files changed, 53 insertions, 0 deletions
diff --git a/gdm-build.sh b/gdm-build.sh
new file mode 100755
index 00000000..f209903c
--- /dev/null
+++ b/gdm-build.sh
@@ -0,0 +1,53 @@
+#!/bin/sh
+# Simple script I use to rebuild gdm on my system. Should work on redhat
+# and redhat like systems
+if [ x$UPDATE = xyes ] ; then
+ if [ x$CLEAN = xyes ] ; then
+ echo make distclean
+ if ! make distclean ; then
+ echo
+ echo '*********' make distclean failed '*********'
+ echo
+ exit 1
+ fi
+ CLEAN=no
+ fi
+ echo cvs -z3 update -dP
+ if ! cvs -z3 update -dP ; then
+ echo
+ echo '*********' cvs update failed '*********'
+ echo
+ exit 1
+ fi
+fi
+
+echo ./autogen.sh --prefix=/usr --sysconfdir=/etc/X11 --localstatedir=/var --enable-console-helper --with-pam-prefix=/etc
+if ! ./autogen.sh --prefix=/usr --sysconfdir=/etc/X11 --localstatedir=/var --enable-console-helper --with-pam-prefix=/etc ; then
+ echo
+ echo '*********' autogen.sh failed '*********'
+ echo
+ exit 1
+fi
+
+if [ x$CLEAN = xyes ] ; then
+ echo make clean
+ if ! make clean ; then
+ echo
+ echo '*********' make clean failed '*********'
+ echo
+ exit 1
+ fi
+fi
+echo make
+if ! make ; then
+ echo
+ echo '*********' make failed '*********'
+ echo
+ exit 1
+fi
+
+echo
+echo '******************************************************'
+echo 'Build of gdm finished, now type "make install" as root'
+echo '******************************************************'
+echo