[libvirt] [PATCH] build: fix syntax-check problems

Eric Blake eblake at redhat.com
Mon Apr 12 22:46:37 UTC 2010


* .x-sc_prohibit_gettext_noop: Add new exemption.
* .x-sc_prohibit_test_minus_ao: Likewise.
* Makefile.am (EXTRA_DIST): Distribute new files.
* .gitignore: Ignore built file.
---

Pushing as obvious, since otherwise 'make syntax-check' fails,
and with my name prominently listed in the failure message,
even though I wasn't the one that touched docs/news.html.in.
It's interesting that documenting the commit logs for what we
fixed introduces new instances of the broken semantics.  :)

 .gitignore                   |    1 +
 .x-sc_prohibit_gettext_noop  |    2 ++
 .x-sc_prohibit_test_minus_ao |    1 +
 Makefile.am                  |    2 ++
 4 files changed, 6 insertions(+), 0 deletions(-)
 create mode 100644 .x-sc_prohibit_gettext_noop
 create mode 100644 .x-sc_prohibit_test_minus_ao

diff --git a/.gitignore b/.gitignore
index a638e0d..a7466fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -44,4 +44,5 @@ stamp-h
 stamp-h.in
 stamp-h1
 tests/*.log
+tests/nwfilterxml2xmltest
 update.log
diff --git a/.x-sc_prohibit_gettext_noop b/.x-sc_prohibit_gettext_noop
new file mode 100644
index 0000000..c40474e
--- /dev/null
+++ b/.x-sc_prohibit_gettext_noop
@@ -0,0 +1,2 @@
+ChangeLog*
+docs/news.html.in
diff --git a/.x-sc_prohibit_test_minus_ao b/.x-sc_prohibit_test_minus_ao
new file mode 100644
index 0000000..3939616
--- /dev/null
+++ b/.x-sc_prohibit_test_minus_ao
@@ -0,0 +1 @@
+docs/news.html.in
diff --git a/Makefile.am b/Makefile.am
index dd334b5..286b13b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,12 +27,14 @@ EXTRA_DIST = \
   .x-sc_prohibit_asprintf \
   .x-sc_prohibit_gethostby \
   .x-sc_prohibit_gethostname \
+  .x-sc_prohibit_gettext_noop \
   .x-sc_prohibit_have_config_h \
   .x-sc_prohibit_HAVE_MBRTOWC \
   .x-sc_prohibit_nonreentrant \
   .x-sc_prohibit_strcmp \
   .x-sc_prohibit_strcmp_and_strncmp \
   .x-sc_prohibit_strncpy \
+  .x-sc_prohibit_test_minus_ao \
   .x-sc_prohibit_VIR_ERR_NO_MEMORY \
   .x-sc_require_config_h \
   .x-sc_require_config_h_first \
-- 
1.6.6.1




More information about the libvir-list mailing list