diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2010-07-02 16:22:16 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2010-07-06 16:22:43 +0100 |
commit | 3e10a3b03709bf755bd658427520db28cb7eb93f (patch) | |
tree | e9d098d0906b6fe49b71cebee11975c0870e2268 | |
parent | 99fc1822c67380b2c873786d617588d255ce9146 (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.
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |