Simplify mkauto.sh to use autoreconf -i, by putting the 'foreign'
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Jul 2011 18:39:25 +0000 (18:39 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 26 Jul 2011 18:39:25 +0000 (18:39 +0000)
option in configure.ac where it doesn't have to be specified manually
every time.

git-svn-id: svn://svn.tartarus.org/sgt/agedu@9251 cda61777-01e9-0310-a592-d414129be87e

Buildscr
configure.ac
mkauto.sh

index 29075e4..829468e 100644 (file)
--- a/Buildscr
+++ b/Buildscr
@@ -7,7 +7,6 @@ module agedu
 in agedu do sed '/AC_INIT/s/6.66/r$(revision)/' configure.ac > tmp.ac
 in agedu do mv tmp.ac configure.ac
 in agedu do ./mkauto.sh
-in agedu do rm -rf autom4te.cache
 
 # Build the man page. This also tests the automake setup to ensure
 # configure actually works; but we use a self-delegation (i.e. do all
index 5d774b0..96a813f 100644 (file)
@@ -4,7 +4,7 @@ AC_INIT([agedu], [6.66], [anakin@pobox.com])
 AC_CONFIG_SRCDIR([agedu.c])
 AC_CONFIG_HEADER([config.h])
 
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE(foreign)
 
 # Checks for programs.
 AC_PROG_CC
index 93670e9..52251d0 100755 (executable)
--- a/mkauto.sh
+++ b/mkauto.sh
@@ -1,2 +1,2 @@
 #!/bin/sh
-aclocal && autoconf && autoheader && automake -a --foreign
+autoreconf -i && rm -rf autom4te.cache