build-sys: add script to bootstrap and configure
authorLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 12 Jan 2012 20:31:10 +0000 (18:31 -0200)
committerLucas De Marchi <lucas.demarchi@profusion.mobi>
Thu, 12 Jan 2012 20:33:05 +0000 (18:33 -0200)
README
bootstrap-configure [new file with mode: 0755]

diff --git a/README b/README
index 79b272e..5837054 100644 (file)
--- a/README
+++ b/README
@@ -31,6 +31,14 @@ Configure automatically searches for all required components and packages.
 To compile and install run:
        make && make install
 
+Hacking
+=======
+
+Run 'bootstrap' script before configure. If you want to accept the recommended
+flags, you just need to run 'bootstrap-configure'.
+
+Make sure to read the CODING-STYLE file.
+
 Information
 ===========
 
diff --git a/bootstrap-configure b/bootstrap-configure
new file mode 100755 (executable)
index 0000000..2bcd788
--- /dev/null
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+. ./bootstrap && \
+       exec ./configure CFLAGS="-g -O2 -Werror" $args $hackargs $*