Many modifications for mdsms -> sms9110 branch transition.
[mdsms.git] / autogen.sh
index 75602a8..0b46813 100755 (executable)
@@ -2,20 +2,10 @@
 # Run this to generate all the initial makefiles, etc.
 
 # $Id$
-#
-# $Log$
-# Revision 1.2  1999/06/02 18:26:32  short
-# Makefile target dist-tarZ added for 'compress'-ed archives.
-#
-# Revision 1.1.1.1  1999/05/26 13:06:26  short
-# First alpha release.
-#
 
 CONFDEFS="--enable-maintainer-mode --enable-debug"
 
-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 \
        install-sh \
        mkinstalldirs \
@@ -40,17 +30,20 @@ rm -r -f \
        getopt.c \
        getopt.h \
        getopt1.c \
-       mdsms-$VER.tar.gz \
-       mdsms-$VER.tar.Z \
+       sms9110 \
+       sms9110.1 \
+       sms9110-[0-9]*.tar.gz \
+       sms9110-[0-9]*.tar.Z \
        manfmt \
        .deps \
        ChangeLog \
+       *.o \
 
 
 if [ "$1" = clean ];then exit;fi
 
 cp ../getopt/getopt{1.c,.{c,h}} .
-aclocal
+aclocal -I .
 autoheader
 touch ChangeLog
 automake --gnu -c --add-missing