diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-11-20 05:44:15 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2006-11-20 05:44:15 +0000 |
commit | f57174cdf6d60a6fe7634df38adec47ccf888ca3 (patch) | |
tree | 111443a0b9aeba9ba61622340ebb58094e5c0a41 | |
parent | 2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-f57174cdf6d60a6fe7634df38adec47ccf888ca3.tar.bz2 |
2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.am: Add ampolish3.
* bootstrap: Add -r (autoreconf).
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.am | 1 | ||||
-rwxr-xr-x | bootstrap | 25 |
3 files changed, 31 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2006-11-20 Ralf Corsépius <ralf.corsepius@rtems.org> + + * Makefile.am: Add ampolish3. + * bootstrap: Add -r (autoreconf). + 2006-11-18 Ralf Corsépius <ralf.corsepius@rtems.org> * bootstrap: Add -p (regenerate preinstall.ams). diff --git a/Makefile.am b/Makefile.am index 611bb50528..a73aa21965 100644 --- a/Makefile.am +++ b/Makefile.am @@ -14,6 +14,7 @@ noinst_SCRIPTS = bootstrap EXTRA_DIST = README.configure SUPPORT VERSION LICENSE $(noinst_SCRIPTS) EXTRA_DIST += config-ml.in +EXTRA_DIST += ampolish3 dist-hook: @files=`(cd $(srcdir); find doc cpukit c scripts testsuites tools \ @@ -86,6 +86,9 @@ case $1 in -p|--pr|--pre|--prei|--prein|--preins|--preinst) mode="preinstall"; shift;; +-r|--re|--rec|--reco|--recon|--reconf) + mode="autoreconf"; + shift;; -*) echo "unknown option $1" ; usage ;; *) echo "invalid parameter $1" ; @@ -160,6 +163,28 @@ generate) done ;; +autoreconf) + AUTORECONF=${AUTORECONF-autoreconf} + if test -z "$AUTORECONF"; then + echo "You must have autoreconf installed to run $program" + exit 1 + fi + + confs=`find . -name 'configure.ac' -print` + for i in $confs; do + dir=`dirname $i`; + configure=`basename $i`; + ( test "$quiet" = "true" || echo "$dir"; + cd $dir; + test -n "`grep RTEMS_CHECK_BSPDIR ${configure}`" && \ + generate_bspdir_acinclude; + ${AUTORECONF} -i --no-recursive $verbose; + test -f Makefile.am && test -n "`grep 'stamp-h\.in' Makefile.in`" \ + && echo timestamp > stamp-h.in + ) + done + ;; + clean) test "$quiet" = "true" || echo "removing automake generated Makefile.in files" files=`find . -name 'Makefile.am' -print | sed -e 's%\.am%\.in%g'` ; |