summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-08-17 12:23:32 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-08-17 12:23:32 +0100
commit4d8efdd4552874092263bf567701c3459b05a780 (patch)
tree0ec6865da75c17ba6123df10caff4f7371938559 /HACKING
parentd17bd636a8114498aa27ffd4d0dd38a1822fe7cd (diff)
downloadlibguestfs-4d8efdd4552874092263bf567701c3459b05a780.tar.gz
libguestfs-4d8efdd4552874092263bf567701c3459b05a780.tar.xz
libguestfs-4d8efdd4552874092263bf567701c3459b05a780.zip
HACKING: Document make targets and ./configure --enable-gcc-warnings.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING7
1 files changed, 7 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 3746ffda..a61de095 100644
--- a/HACKING
+++ b/HACKING
@@ -24,6 +24,13 @@ Please make sure that the code compiles without warnings.
Please test any changes.
+Useful targets:
+ make syntax-check Checks the syntax of the C code.
+ make check Runs the test suite.
+
+Enable warnings, and fix any you find:
+ ./configure --enable-gcc-warnings
+
Code indentation
----------------------------------------------------------------------
Our C source code generally adheres to some basic code-formatting