]> git.sur5r.net Git - kconfig-frontends/commitdiff
autostuff: get rid of the bootstrap script
authorYann E. MORIN <yann.morin.1998@free.fr>
Sun, 29 Nov 2015 21:04:32 +0000 (22:04 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 2 Aug 2016 19:34:40 +0000 (21:34 +0200)
Running autoreconf when AC_CONFIG_MACRO_DIR does not exist ends up in a
failure. Unfortunately, git does not track empty directories. That's why
we have bootstrap, which creates it before running autoreconf.

Add an empty, dummy file in there and track it, so we can get rid of our
bootstrap script.

Update the README file accordingly.

We're left with a stray, generated autom4te.cache file, but that's a
minor annoyance.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
README
bootstrap [deleted file]
scripts/.autostuff/m4/.empty [new file with mode: 0644]

diff --git a/README b/README
index 4c8ade7f95a41e1e710264e23d5776edeaa94ac4..2a3ebd383703656aacec0d1cf67cb954b78bb473 100644 (file)
--- a/README
+++ b/README
@@ -39,3 +39,7 @@ For a list of known issues, please also refer to file docs/known-issues.txt.
 Note that, provided you have the required dependencies, all frontends are
 properly built if you link dynamically. The following just works as expected:
     ./configure && make
+
+Note: if using the git tree, or changing the autostuff sources, you'll first
+have to run:
+    autoreconf -fi
diff --git a/bootstrap b/bootstrap
deleted file mode 100755 (executable)
index 4dd9407..0000000
--- a/bootstrap
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-set -e
-
-printf "Creating macrodir...\n"
-macrodir="$( sed    -e '/^AC_CONFIG_MACRO_DIR(\[\(.*\)\])/!d;'  \
-                    -e 's//\1/;'                                \
-                    configure.ac                                \
-           )"
-mkdir -p "${macrodir}"
-
-printf "Running autoreconf...\n"
-autoreconf -f -i -Wall
-
-# Cleanup the useless stuff... :-(
-rm -rf autom4te.cache
-
-printf "Done. You may now run:\n    ./configure\n"
diff --git a/scripts/.autostuff/m4/.empty b/scripts/.autostuff/m4/.empty
new file mode 100644 (file)
index 0000000..e69de29