]> git.pld-linux.org Git - projects/rc-scripts.git/blobdiff - autogen.sh
sysconfig/i18n: C.UTF-8 locale added
[projects/rc-scripts.git] / autogen.sh
index 0b6b4fb49cb57448ad312782cf6aee265d1fc021..a7028c278f34ea251b972c2e03ff41c6ce2a55e9 100755 (executable)
@@ -1,22 +1,20 @@
 #!/bin/sh
-# $Id$
 # Run this to generate all the initial makefiles, etc.
 
 srcdir=`dirname $0`
 test -z "$srcdir" && srcdir=.
 
-cd "$srcdir"
-
 PKG_NAME="PLD Linux Distribution rc-scripts"
 
-if [ "$1" = "changelog" -a -x ~/bin/svn2log.py ]; then
-    rm -f ${TMPDIR:-/tmp}/svn2log.tmp
-    awk -F":" ' { login=$1; if ($3 != "") { name=$3 } else { name=$1 }; email=$2; printf "%s\t%s <%s@pld-linux.org>\n", login, name, login } ' ~/.CVS-PLD/CVSROOT/users > ${TMPDIR:-/tmp}/svn2log.tmp
-    svn log -v --xml | ~/bin/svn2log.py --domain "pld-linux.org" -p /rc-scripts/trunk -u ${TMPDIR:-/tmp}/svn2log.tmp --exclude ChangeLog -o ChangeLog
-    rm -f ${TMPDIR:-/tmp}/svn2log.tmp
-    exit 0
+if [ -x ./changelog.sh ]; then
+       ./changelog.sh
+else
+       echo "Error: missing script changelog.sh to generate ChangeLog" >&2
+       exit 1
 fi
-                                                       
+
+cd "$srcdir"
+
     
 (test -f $srcdir/configure.ac \
   && test -d $srcdir/src) || {
@@ -128,7 +126,7 @@ do
       fi
       echo "Running aclocal $aclocalinclude ..."
       aclocal $aclocalinclude
-      if grep "^AM_CONFIG_HEADER" configure.ac >/dev/null; then
+      if grep "^A[CM]_CONFIG_HEADER" configure.ac >/dev/null; then
        echo "Running autoheader..."
        autoheader
       fi
@@ -140,7 +138,7 @@ do
   fi
 done
 
-conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
+conf_flags="" #--enable-maintainer-mode --enable-compile-warnings --enable-iso-c
 
 if test x$NOCONFIGURE = x; then
   echo Running $srcdir/configure $conf_flags "$@" ...
This page took 0.051666 seconds and 4 git commands to generate.