summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 6d74789e97..e78133d6d6 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,6 @@ fastclean :
clean :
$(RM) -r $(main_OBJECTDIR)
- $(RM) -r $(PROJECT_APIDOCDIR)
distclean :
$(RM) $(LATEST_PREFIX)-*
@@ -405,7 +404,7 @@ LIBRARY_SC_CLASSPATH = $(LIBRARY_JC_CLASSPATH):$(PROJECT_SOURCEDIR)
LIBRARY_SDC_FLAGS += -windowtitle "Scala Library Documentation"
LIBRARY_SDC_FLAGS += -doctitle "Scala<br/>$(PROJECT_VERSION)"
LIBRARY_SDC_FILES += $(LIBRARY_SC_FILES)
-LIBRARY_SDC_OUTPUTDIR = $(PROJECT_APIDOCDIR)
+LIBRARY_SDC_OUTPUTDIR = $($(prefix)_OBJECTDIR)/doc/api
LIBRARY_JAR_ARCHIVE = $(LIBRARY_CLASSDIR).jar
LIBRARY_JAR_INPUTDIR = $(LIBRARY_CLASSDIR)
LIBRARY_JAR_FILES += .