mirror of
https://gitlab.gnome.org/GNOME/glade.git
synced 2025-10-04 00:03:06 -04:00
* autogen.sh: require automake 1.9 * Makefile.am, doc/Makefile.am, doc/.cvsignore, configure.in: Added environment for gtk-doc generation. * doc/glade-docs.sgml, doc/glade-sections.txt, doc/glade.types, doc/version.xml.in, doc/tmpl/*: Added initial documentation metadata. * src/*.h: Line break LIBGLADEUI_API everywhere so that documentation generation works (wierd trade, I know). * po/POTFILES.in: Added glade-custom.c Modified Files: ChangeLog Makefile.am autogen.sh configure.in po/POTFILES.in src/glade-app.h src/glade-catalog.h src/glade-clipboard-view.h src/glade-clipboard.h src/glade-command.c src/glade-command.h src/glade-editor-property.c src/glade-editor-property.h src/glade-editor.c src/glade-editor.h src/glade-fixed-manager.h src/glade-gtk.c src/glade-palette.h src/glade-parameter.h src/glade-placeholder.h src/glade-popup.c src/glade-project-view.c src/glade-project-view.h src/glade-project-window.c src/glade-project.c src/glade-project.h src/glade-property-class.c src/glade-property-class.h src/glade-property.c src/glade-property.h src/glade-signal-editor.h src/glade-signal.c src/glade-utils.c src/glade-utils.h src/glade-widget-class.h src/glade-widget.c src/glade-widget.h src/glade-xml-utils.h Added Files: doc/.cvsignore doc/Makefile.am doc/glade-docs.sgml doc/glade-sections.txt doc/glade.types doc/version.xml.in doc/tmpl/glade-app.sgml doc/tmpl/glade-catalog.sgml doc/tmpl/glade-clipboard-view.sgml doc/tmpl/glade-clipboard.sgml doc/tmpl/glade-command.sgml doc/tmpl/glade-editor-property.sgml doc/tmpl/glade-editor.sgml doc/tmpl/glade-fixed-manager.sgml doc/tmpl/glade-palette.sgml doc/tmpl/glade-parameter.sgml doc/tmpl/glade-parser.sgml doc/tmpl/glade-placeholder.sgml doc/tmpl/glade-project-view.sgml doc/tmpl/glade-project.sgml doc/tmpl/glade-property-class.sgml doc/tmpl/glade-property.sgml doc/tmpl/glade-signal-editor.sgml doc/tmpl/glade-signal.sgml doc/tmpl/glade-utils.sgml doc/tmpl/glade-widget-class.sgml doc/tmpl/glade-widget.sgml
54 lines
1.3 KiB
Bash
Executable File
54 lines
1.3 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
|
|
|
|
automake_version=1.9
|
|
|
|
#case `uname` in
|
|
#CYGWIN*)
|
|
# automake 1.4 of cygwin does not define EGREP in libtool.m4, and
|
|
# fails to do the file magic test when -rpath is given
|
|
# automake_version=1.7
|
|
# ;;
|
|
#esac
|
|
|
|
REQUIRED_AUTOMAKE_VERSION="$automake_version" GNOME_DATADIR="$gnome_datadir" USE_GNOME2_MACROS=1 . $gnome_autogen
|