summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2004-09-29 12:42:20 +0000
committerpaltherr <paltherr@epfl.ch>2004-09-29 12:42:20 +0000
commita7d877a4ef9ce9109841e0394a688ff1ddb1f150 (patch)
tree03f482495d69702e8d646b2bc814462694ffcdc1 /Makefile
parent4b5ad663722908e0f0363240148e4a4f318f6feb (diff)
downloadscala-a7d877a4ef9ce9109841e0394a688ff1ddb1f150.tar.gz
scala-a7d877a4ef9ce9109841e0394a688ff1ddb1f150.tar.bz2
scala-a7d877a4ef9ce9109841e0394a688ff1ddb1f150.zip
- Added rule show-missing-library
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cae9b0eb10..8bf956d895 100644
--- a/Makefile
+++ b/Makefile
@@ -711,7 +711,18 @@ include $(PROJECT_SUPPORTDIR)/make/sdc.mk
##############################################################################
# Beta code
-show-missing :
+show-missing-library :
+ @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+ @for filename in $(LIBRARY_SOURCES:%='%'); do \
+ echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \
+ 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
+ @$(COMM) -1 -3 /tmp/check.mkf.log /tmp/check.lst.log
+ @$(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
@for filename in $(TEST_FILES:%='%'); do \
echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \