aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-12-17 17:23:21 +0000
committerJim Meyering <meyering@redhat.com>2008-12-17 17:23:21 +0000
commit4cea12bb69743df58fa35b7ff8a9a7ac35f32ee5 (patch)
tree97c6cb1760dc82a112d5325aebc861ccd9c3f043 /Makefile.am
parentlet gcc's -Wformat do its job; avoid "make syntax-check" failure (diff)
downloadlibvirt-4cea12bb69743df58fa35b7ff8a9a7ac35f32ee5.tar.gz
libvirt-4cea12bb69743df58fa35b7ff8a9a7ac35f32ee5.tar.bz2
libvirt-4cea12bb69743df58fa35b7ff8a9a7ac35f32ee5.zip
enforce the "include <config.h> first" rule
* qemud/Makefile.am: Ensure that the generated remote_protocol.c includes <config.h> first. * Makefile.maint (sc_require_config_h_first): New rule, so that "make syntax-check" enforces this. * .x-sc_require_config_h_first: New file. * Makefile.am (.x-sc_require_config_h_first): Add it. * qemud/remote_protocol.x: Don't include <config.h> here. * qemud/remote_protocol.c: Regenerate.
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d40a151f5..758ad50ff 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,6 +14,7 @@ EXTRA_DIST = \
libvirt.pc libvirt.pc.in \
$(man_MANS) autobuild.sh \
.x-sc_avoid_if_before_free \
+ .x-sc_require_config_h_first \
.x-sc_prohibit_strcmp \
.x-sc_require_config_h \
autogen.sh