mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-09 00:07:00 -04:00
2002-04-27 Carlos Perello Marin <carlos@gnome-db.org> * Makefile.am, configure.in, src/glade-packing.c, src/glade-project-window.c, src/glade-widget-class.c, src/main.c: Changed all references from glade2 to glade3 * glade-2.desktop.in: Renamed to glade-3.desktop.in * glade-2.png: Renamed to glade-3.png * configure.in: Changed all references from glade2 to glade3 and added version number to the directory where all data is stored. Updated the version to 2.1.90
43 lines
1.0 KiB
Bash
Executable File
43 lines
1.0 KiB
Bash
Executable File
#!/bin/sh
|
|
# Run this to generate all the initial makefiles, etc.
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
PKG_NAME="glade"
|
|
|
|
(test -f $srcdir/configure.in \
|
|
&& test -f $srcdir/autogen.sh) || {
|
|
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
|
|
echo " top-level $PKG_NAME directory"
|
|
exit 1
|
|
}
|
|
|
|
DIE=0
|
|
|
|
# This is a bit complicated here since we can't use gnome-config yet.
|
|
# It'll be easier after switching to pkg-config since we can then
|
|
# use pkg-config to find the gnome-autogen.sh script.
|
|
|
|
gnome_autogen=
|
|
gnome_datadir=
|
|
|
|
ifs_save="$IFS"; IFS=":"
|
|
for dir in $PATH ; do
|
|
test -z "$dir" && dir=.
|
|
if test -f $dir/gnome-autogen.sh ; then
|
|
gnome_autogen="$dir/gnome-autogen.sh"
|
|
gnome_datadir=`echo $dir | sed -e 's,/bin$,/share,'`
|
|
break
|
|
fi
|
|
done
|
|
IFS="$ifs_save"
|
|
|
|
if test -z "$gnome_autogen" ; then
|
|
echo "You need to install the gnome-common module and make"
|
|
echo "sure the gnome-autogen.sh script is in your \$PATH."
|
|
exit 1
|
|
fi
|
|
|
|
GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen
|