diff options
author | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2005-11-21 19:55:45 +0000 |
---|---|---|
committer | teuf <teuf@f01d2545-417e-4e96-918e-98f8d0dbbcb6> | 2005-11-21 19:55:45 +0000 |
commit | 0f1906b051fefc2d6969ee9a698abd0ca5fbd700 (patch) | |
tree | ffa995eb2b3efb824b66f8e8d22424b15b9b404b /autogen.sh | |
parent | 8cd9ff6ac80b0fdee3ec1c5b624885ae778c3033 (diff) | |
download | libgpod-0f1906b051fefc2d6969ee9a698abd0ca5fbd700.tar.gz libgpod-0f1906b051fefc2d6969ee9a698abd0ca5fbd700.tar.xz libgpod-0f1906b051fefc2d6969ee9a698abd0ca5fbd700.zip |
2005-11-21 Christophe Fergeau <teuf@gnome.org>
* autogen.sh:
* gnome-autogen.sh: use autogen.sh script from gnome-common since the
custom libgpod one keep having issues (this doesn't add a dependency
on gnome-common since I imported the necessary script to our CVS)
git-svn-id: https://gtkpod.svn.sf.net/svnroot/gtkpod/libgpod/trunk@1157 f01d2545-417e-4e96-918e-98f8d0dbbcb6
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 48 |
1 files changed, 8 insertions, 40 deletions
@@ -1,46 +1,14 @@ #!/bin/sh -# -# autogen.sh glue for hplip -# -# HPLIP used to have five or so different autotools trees. Upstream -# has reduced it to two. Still, this script is capable of cleaning -# just about any possible mess of autoconf files. -# -# BE CAREFUL with trees that are not completely automake-generated, -# this script deletes all Makefile.in files it can find. -# -# Requires: automake 1.9, autoconf 2.57+ -# Conflicts: autoconf 2.13 -set -e - -# Refresh GNU autotools toolchain. -echo Cleaning autotools files... -find . -type d -name autom4te.cache -print0 | xargs -0 rm -rf \; -find . -type f \( -name missing -o -name install-sh -o -name mkinstalldirs \ - -o -name depcomp -o -name ltmain.sh -o -name configure \ - -o -name config.sub -o -name config.guess \ - -o -name Makefile.in \) -print0 | xargs -0 rm -f - -echo Running autoreconf... -autoreconf --force --install - -echo Running glib-gettextize -glib-gettextize --force --copy - -echo "Running intltoolize" -intltoolize --copy --force --automake - -conf_flags="--enable-maintainer-mode" +# Run this to generate all the initial makefiles, etc. srcdir=`dirname $0` test -z "$srcdir" && srcdir=. -if test x$NOCONFIGURE = x; then - echo Running $srcdir/configure $conf_flags "$@" ... - $srcdir/configure $conf_flags "$@" \ - && echo Now type \`make\' to compile. || exit 1 -else - echo Skipping configure process. -fi +PKG_NAME="libgpod" -exit 0 +(test -f $srcdir/configure.ac) || { + echo -n "**Error**: Directory "\`$srcdir\'" does not look like the" + echo " top-level $PKG_NAME directory" + exit 1 +} +REQUIRED_AUTOMAKE_VERSION=1.7 . $srcdir/gnome-autogen.sh |