summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2010-07-02 16:22:16 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2010-07-06 16:22:43 +0100
commit3e10a3b03709bf755bd658427520db28cb7eb93f (patch)
treee9d098d0906b6fe49b71cebee11975c0870e2268 /Makefile
parent99fc1822c67380b2c873786d617588d255ce9146 (diff)
Generate FIXME.out
The GEN stuff looks a bit odd given that everything else is un-quieted. But it's better than two pages of paths being passed to egrep.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5ffa44a2..31139213 100644
--- a/Makefile
+++ b/Makefile
@@ -42,6 +42,7 @@ GENERATED_FILES = \
$(patsubst %.txt,%.html,$(RST)) \
doc/spec.html \
doc/spec/index.html \
+ FIXME.out \
$(INTROSPECT) \
$(CANONICAL_NAMES)
@@ -73,7 +74,7 @@ test/output/introspect.canon: test/output/_Test.introspect.xml
CHECK_FOR_UNRELEASED = NEWS $(filter-out spec/template.xml,$(XMLS))
-check: all $(TEST_GENERATED_FILES) $(TEST_CANONICALIZED_FILES)
+check: all $(TEST_GENERATED_FILES) $(TEST_CANONICALIZED_FILES) FIXME.out
@e=0; \
diff -u test/expected/introspect.canon test/output/introspect.canon || e=1; \
exit $$e
@@ -89,6 +90,11 @@ check: all $(TEST_GENERATED_FILES) $(TEST_CANONICALIZED_FILES)
;; \
esac
+FIXME.out: $(XMLS)
+ @echo ' GEN ' $@
+ @egrep -A 5 '[F]IXME|[T]ODO|[X]XX' $(XMLS) \
+ > FIXME.out || true
+
clean:
rm -f $(GENERATED_FILES)
rm -fr introspect