2 # Run this to generate all the initial makefiles, etc.
6 CONFDEFS="--enable-maintainer-mode --enable-debug"
8 if [ -f Makefile ];then touch ChangeLog;make maintainer-clean;fi
9 VER="`sed <configure.in -n 's/^AM_INIT_AUTOMAKE(.*, *\([^ ]*\) *)$/\1/p'`"
10 echo "Detected version: $VER"
42 if [ "$1" = clean ];then exit;fi
44 cp ../getopt/getopt{1.c,.{c,h}} .
48 automake --gnu -c --add-missing
55 if [ "$1" != dist ];then ./configure $CONFDEFS;fi