summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorpaltherr <paltherr@epfl.ch>2003-08-11 12:01:44 +0000
committerpaltherr <paltherr@epfl.ch>2003-08-11 12:01:44 +0000
commitca32e4de8ee8f260d3b002ab7f76519b75afeec4 (patch)
tree399cc6c8b498fc06018daed912d5167e56d6a1cf /Makefile
parent20e31b0d76744c2ddfd98771c05e8f44feee237a (diff)
downloadscala-ca32e4de8ee8f260d3b002ab7f76519b75afeec4.tar.gz
scala-ca32e4de8ee8f260d3b002ab7f76519b75afeec4.tar.bz2
scala-ca32e4de8ee8f260d3b002ab7f76519b75afeec4.zip
- Added command show-missing
- Moved compilation of documentation after compilation of scaladoc
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 0afe90c8f7..208ed990a5 100644
--- a/Makefile
+++ b/Makefile
@@ -130,6 +130,7 @@ all : library
all : interpreter
all : scaladoc
all : dtd2scala
+all : library-doc
force : fastclean
@$(make) all
@@ -165,10 +166,10 @@ generate : .latest-generate
compiler : .latest-compiler
library : .latest-library-jc
library : .latest-library-sc
-library : .latest-library-sdc
interpreter : .latest-interpreter
scaladoc : .latest-scaladoc
dtd2scala : .latest-dtd2scala
+library-doc : .latest-library-sdc
.PHONY : fastclean
.PHONY : scripts
@@ -180,6 +181,7 @@ dtd2scala : .latest-dtd2scala
.PHONY : interpreter
.PHONY : scaladoc
.PHONY : dtd2scala
+.PHONY : library-doc
##############################################################################
# Targets
@@ -303,3 +305,18 @@ include $(PROJECT_SUPPORTDIR)/make/sc.mk
include $(PROJECT_SUPPORTDIR)/make/sdc.mk
##############################################################################
+# Beta code
+
+show-missing :
+ @$(RM) /tmp/check.tmp.log /tmp/check.mkf.log /tmp/check.lst.log
+ @for filename in $(LIBRARY_SC_FILES:%='%'); do \
+ echo $$filename | $(TR) " " "\n" >> /tmp/check.tmp.log; \
+ done
+ @$(SORT) /tmp/check.tmp.log > /tmp/check.mkf.log
+ @$(FIND) $(LIBRARY_ROOT) -name '*.scala' | $(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
+
+.PHONY : show-missing
+
+##############################################################################