Commit 0528d8f7 authored by Guenter Paul Peters's avatar Guenter Paul Peters
Browse files

clean does not remove dependencies

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@181 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 39c75c59
......@@ -48,7 +48,8 @@ JAVADOCOPTS= -author -protected -nodeprecated -nodeprecatedlist \
#things that are removed recursively by the clean target
CLEAN=$(BINDIR) $(DOCDIR) $(WEBDIR) $(DEPS) $(RELDIR) .testscompiled `find $(TESTDIR) -name '*.class' 2> /dev/null`
CLEAN=$(BINDIR) $(DOCDIR) $(WEBDIR) $(RELDIR) .testscompiled `find $(TESTDIR) -name '*.class' 2> /dev/null` \
$(LIBDIR)/.lastUpdateDepsPlusADay $(LIBDIR)/.lastUpdateDepsCheck
#jtem site url
JTEMURL=http://www.math.tu-berlin.de/jtem
......@@ -136,7 +137,7 @@ $(DEPS):
binaries: $(BINDIR)
$(BINDIR): $(SOURCEFILES) | $(DEPS)
@if [ ! -d $(BINDIR) ]; then mkdir $(BINDIR); fi
cp=`find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null` ; \
@cp=`find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null` ; \
javac $(JAVACOPTS) \
`if [ -n "$${cp}" ]; then echo -classpath $${cp}; fi` \
-d $(BINDIR)/ \
......@@ -160,7 +161,7 @@ endif
#only compile tests if $(TESTDIR) is non empty
ifneq ($(strip $(TESTDIR)),)
@if [ ! -d $(TESTBINDIR) ]; then mkdir $(TESTBINDIR); fi
javac $(JAVACOPTS) \
@javac $(JAVACOPTS) \
-classpath `find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null`$(JUNIT):$(BINDIR) \
-d $(TESTBINDIR)/ \
$(TESTSOURCEFILES)
......@@ -172,7 +173,7 @@ endif
javadoc: $(DOCDIR)
$(DOCDIR): $(shell find $(SRCDIRS)) | $(DEPS)
@if [ ! -d $(DOCDIR) ]; then mkdir $(DOCDIR); fi
javadoc $(JAVADOCOPTS) \
@javadoc $(JAVADOCOPTS) \
-d $(DOCDIR) -classpath $(BINDIR):`find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null ` \
-sourcepath `echo $(SRCDIRS) | tr \ :` \
$(DOCPACKAGES)
......@@ -208,12 +209,13 @@ blas.jar: $(BINDIR)
.PHONY: debug
debug:
@echo SOURCEFILES=$(SOURCEFILES); echo
@echo DEPS=$(DEPS); echo
@echo CLEAN=$(CLEAN); echo
@echo TESTSOURCEFILES=$(TESTSOURCEFILES); echo
@echo TESTS=$(TESTS); echo
@echo JUNIT=$(JUNIT); echo
@echo DOCPACKAGES=$(DOCPACKAGES); echo
@echo PACKAGEHTML=$(PACKAGEHTML); echo
@echo DEPS=$(DEPS); echo
.PHONY: clean
clean:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment