[libgdata] build: Clean up checking logic



commit c57da8c600e9581b3caa35955fbb0210935b30e3
Author: Philip Withnall <philip tecnocode co uk>
Date:   Wed Aug 25 09:28:54 2010 +0100

    build: Clean up checking logic

 docs/reference/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/docs/reference/Makefile.am b/docs/reference/Makefile.am
index 00dea4f..1c09278 100644
--- a/docs/reference/Makefile.am
+++ b/docs/reference/Makefile.am
@@ -117,7 +117,7 @@ check-xml-includes:
 	@any_missing=0; find $(srcdir) -name "*.xml" | while read x; do \
 		xml_file="$${x#./}"; \
 		if test "x$$xml_file" != "x$(DOC_MAIN_SGML_FILE)"; then \
-			if grep "\"$$xml_file\"" $(DOC_MAIN_SGML_FILE) >/dev/null; then :; else \
+			if ! grep "\"$$xml_file\"" $(DOC_MAIN_SGML_FILE) >/dev/null; then \
 				echo "$(DOC_MAIN_SGML_FILE) doesn't appear to include \"$$xml_file\""; \
 				any_missing=1; \
 			fi; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]