From 816c3d50011c50d0bf48931f87f936591d51d3ba Mon Sep 17 00:00:00 2001 From: paltherr Date: Thu, 27 Jan 2005 14:41:14 +0000 Subject: - Added show-missing-examples and show-missing --- Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Makefile b/Makefile index 8782f403d9..c995f26f04 100644 --- a/Makefile +++ b/Makefile @@ -718,9 +718,22 @@ show-missing-library : done @$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log @$(FIND) $(LIBRARY_ROOT) -name "tools" -prune -o \( -name '*.java' -o -name '*.scala' \) -print | $(SORT) > /tmp/check.lst.log + @$(ECHO) Missing library source files: @$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log + @$(ECHO) @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log +show-missing-examples : + @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log + @for filename in $(EXAMPLES_FILES:%='%'); do \ + echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \ + done + @$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log + @$(FIND) $(EXAMPLES_ROOT) -name '*.scala' | $(SORT) >/tmp/check.lst.log + @$(ECHO) Missing examples: + @$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log + @$(ECHO) + @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log show-missing-test : @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log @@ -729,9 +742,18 @@ show-missing-test : done @$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log @$(FIND) $(TEST_ROOT) -name '*.scala' | $(SORT) > /tmp/check.lst.log + @$(ECHO) Missing tests: @$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log + @$(ECHO) @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log +show-missing : show-missing-library +show-missing : show-missing-examples +show-missing : show-missing-test + +.PHONY : show-missing-library +.PHONY : show-missing-examples +.PHONY : show-missing-test .PHONY : show-missing ############################################################################## -- cgit v1.2.3