Commit 6eb5cd8e authored by Guenter Paul Peters's avatar Guenter Paul Peters

bug in compile classes fixed

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@503 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 9b2520db
......@@ -92,7 +92,7 @@ DOWNLOADDEPS=$(JTEMURL)/downloads
#function to copy to SRVDIR
ifeq ($(strip $(SERVER)),)
copy_to_website=cp $(1) $(SRVDIR)/$(strip $(2)); echo " - copy \"$(1)\" to \" $(SRVDIR)/$(strip $(2))\" "
copy_to_website=cp -R $(1) $(SRVDIR)/$(strip $(2)); echo " - copy \"$(1)\" to \" $(SRVDIR)/$(strip $(2))\" "
else
copy_to_website=scp -r $(1) $(SERVER):$(SRVDIR)/$(strip $(2)); echo " - copy \"$(1)\" to \" $(SRVDIR)/$(strip $(2))\" "
endif
......@@ -152,7 +152,7 @@ binaries: $(BINDIR)
$(BINDIR): $(SOURCEFILES) | $(DEPS)
@if [ ! -d $(BINDIR) ]; then mkdir $(BINDIR); fi
@cp=`find $(LIBDIR) -name '*.jar' -printf %p: 2> /dev/null` ; \
@javac $(JAVACOPTS) \
javac $(JAVACOPTS) \
`if [ -n "$${cp}" ]; then echo -classpath "$${cp}"; fi` \
-d $(BINDIR)/ \
$(SOURCEFILES) || { rm -rf $(BINDIR); echo "ERROR: compilation failed, folder \"$(BINDIR)\" removed"; exit 1; }
......
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