[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-gawk] Question about git build system
From: |
Assaf Gordon |
Subject: |
[bug-gawk] Question about git build system |
Date: |
Fri, 14 Dec 2012 17:21:39 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) Gecko/20120510 Icedove/10.0.4 |
Hello,
I noticed many autotools-generated files are committed in the git repository of
gawk, is that on purpose, due to some technical complication ?
Seems like the following files could be removed from git:
aclocal.m4
autom4te.cache
configure
config.{status,guess,config,sub}
version.c
configh.in
config.h
extension/aclocal.m4
extension/autom4te.cache
extension/configure
extension/config.{status,log}
extension/build-aux/config.{guess,sub}
extension/configh.in
extension/config.h
po/Makefile.in
test/Makefile.in
doc/Makefile.in
awklib/Makefile.in
Makefile.in
extension/Makefile.in
And then changing "bootstrap" like this:
===
diff --git a/bootstrap.sh b/bootstrap.sh
index 535ae8f..f8b1f4b 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -22,17 +22,21 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
USA
-touch aclocal.m4
find awklib -type f -print | xargs touch
-sleep 1
-touch configure
-touch extension/configure
-sleep 2
-touch configh.in
-touch extension/configh.in
-sleep 1
+
+aclocal -I m4
+autoconf
+autoheader
+automake -a
+
+cd extension
+aclocal -I m4
+autoconf
+autoheader
+automake -a
+cd ..
+
touch test/Maketests
-find . -name Makefile.in -print | xargs touch
touch doc/*.info
touch po/*.gmo
touch po/stamp-po
===
Could re-generate those files ?
This would only affect building from git, not from a tarball release.
Compared with other autotools-based projects, it's a bit unexpected that
running "./bootstrap.sh" does not regenerate "configure" .
Thanks,
-gordon
- [bug-gawk] Question about git build system,
Assaf Gordon <=