Localization added together with Czech catalog. Czech man page missing.
[mdsms.git] / autogen.sh
index deb107a..e17d0ce 100755 (executable)
@@ -3,19 +3,25 @@
 
 # $Id$
 
 
 # $Id$
 
-CONFDEFS="--enable-maintainer-mode --enable-debug"
+# /lib/gconv/ISO8859-2.so is apparently clashing with EFence. :-(
+CONFDEFS="--enable-maintainer-mode --enable-debug --without-efence"
 
 
-if [ -f Makefile ];then touch ChangeLog;make maintainer-clean;fi
-VER="`sed <configure.in -n 's/^AM_INIT_AUTOMAKE(.*, *\([^ ]*\) *)$/\1/p'`"
-echo "Detected version: $VER"
+# if [ -f Makefile ];then touch ChangeLog;make maintainer-clean;fi
 rm -r -f \
 rm -r -f \
+       `find -name "*~"` \
+       errs* \
+       `find po -type f -not '(' -name POTFILES.in -o -name "*.po" -o -path "po/CVS*" ')'` \
+       intl \
        install-sh \
        mkinstalldirs \
        missing \
        INSTALL \
        COPYING \
        install-sh \
        mkinstalldirs \
        missing \
        INSTALL \
        COPYING \
+       ABOUT-NLS \
        Makefile \
        Makefile.in \
        Makefile \
        Makefile.in \
+       */Makefile \
+       */Makefile.in \
        configure \
        configure.scan \
        config.guess \
        configure \
        configure.scan \
        config.guess \
@@ -23,6 +29,7 @@ rm -r -f \
        config.sub \
        config.log \
        config.h \
        config.sub \
        config.log \
        config.h \
+       confdefs.h \
        autoh[0-9]* \
        config.cache \
        config.h.in \
        autoh[0-9]* \
        config.cache \
        config.h.in \
@@ -32,23 +39,41 @@ rm -r -f \
        getopt.c \
        getopt.h \
        getopt1.c \
        getopt.c \
        getopt.h \
        getopt1.c \
-       mdsms-$VER.tar.gz \
-       mdsms-$VER.tar.Z \
+       need-declaration.m4 \
+       strdup.c \
+       usleep.c \
+       memmove.c \
+       mdsms.1 \
+       mdsms.1.in2 \
+       mdsms \
+       mdsms-[0-9]*.tar.gz \
+       mdsms-[0-9]*.tar.Z \
        manfmt \
        .deps \
        ChangeLog \
        manfmt \
        .deps \
        ChangeLog \
+       *.o \
 
 
 if [ "$1" = clean ];then exit;fi
 
 
 
 if [ "$1" = clean ];then exit;fi
 
-cp ../getopt/getopt{1.c,.{c,h}} .
+       d="`pwd`"
+       (cd $HOME/src/misc
+        (cd getopt
+               cp getopt.c getopt.h getopt1.c $d
+        )
+        (cd macros
+               cp need-declaration.m4 $d
+        )
+        cp strdup.c usleep.c memmove.c $d
+       )
+
 aclocal -I .
 aclocal -I .
+gettextize --copy
 autoheader
 touch ChangeLog
 automake --gnu -c --add-missing
 autoheader
 touch ChangeLog
 automake --gnu -c --add-missing
-#--include-deps
 rm -f ChangeLog
 rm -f ChangeLog
-cp ../LGPL2.1 COPYING
+cp $HOME/src/misc/LGPL2.1 COPYING
 autoheader
 autoconf
 
 autoheader
 autoconf