diff --git a/HACKING b/HACKING index da5e771bd3..d765be9339 100644 --- a/HACKING +++ b/HACKING @@ -73,9 +73,10 @@ things). and don't care much about released versions. (5) Run the automated tests on your code before submitting any changes. In -particular, configure with compile warnings set to -Werror: +particular, configure with compile warnings set to -Werror. This is done +automatically for a git checkout; from a tarball, use: - ./configure --enable-compile-warnings=error + ./configure --enable-werror and run the tests: diff --git a/docs/hacking.html.in b/docs/hacking.html.in index a97dc225f4..9de5eb1962 100644 --- a/docs/hacking.html.in +++ b/docs/hacking.html.in @@ -74,9 +74,11 @@
  • Make sure your patches apply against libvirt GIT. Developers only follow GIT and don't care much about released versions.
  • Run the automated tests on your code before submitting any changes. - In particular, configure with compile warnings set to -Werror:

    + In particular, configure with compile warnings set to + -Werror. This is done automatically for a git checkout; from a + tarball, use:

    -  ./configure --enable-compile-warnings=error
    +  ./configure --enable-werror
     

    and run the tests: