Commit f0d8eca7 authored by Guenter Paul Peters's avatar Guenter Paul Peters
Browse files

bugs


git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@282 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent ba28c70a
......@@ -232,7 +232,7 @@ release: web test $(DOCDIR) $(RELDIR)/$(NAME).jar $(RELDIR)/$(NAME).tgz $(RELDIR
@status=`svn status -u 2>&1 | grep -v "?" | head -n -1`; \
if [ -n "$$status" ]; then \
echo "STOP: Synchronize with repository first!"; exit 1 ;\
else echo " - svn is synchronized"; fi
else echo "- svn is synchronized"; fi
@grep `cat $(RELDIR)/current.txt` releasenotes.txt 1>/dev/null 2>&1 || \
if [ -f releasenotes.txt ]; then mv releasenotes.txt releasenotes-old.txt; fi; \
cat $(RELDIR)/current.txt > releasenotes.txt; \
......@@ -243,12 +243,12 @@ release: web test $(DOCDIR) $(RELDIR)/$(NAME).jar $(RELDIR)/$(NAME).tgz $(RELDIR
@$(call copy_to_website, $(RELDIR)/$(NAME).tgz,downloads/$(NAME)/$(NAME)_`cat $(RELDIR)/current.txt`.tgz)
@$(call copy_to_website, $(RELDIR)/$(NAME).zip,downloads/$(NAME)/$(NAME)_`cat $(RELDIR)/current.txt`.zip)
@$(call copy_to_website, $(RELDIR)/$(NAME)-api.tgz,downloads/$(NAME)/$(NAME)-api_`cat $(RELDIR)/current.txt`.tgz)
@$(call exec_on_server, if [ -d $(SRVDIR)/$(NAME)/api ]; then rm -rf $(SRVDIR)/$(NAME)/api; fi)
@$(call copy_to_website, $(DOCDIR), $(NAME)/api)
@$(call copy_to_website, $(RELDIR)/current.txt,downloads/$(NAME))
@$(call copy_to_website, releasenotes.txt,downloads/$(NAME))
@$(call exec_on_server, find $(SRVDIR) -user `whoami` | xargs chmod g+rw)
@echo " - release `cat rel/current.txt` succesfully deployed."
$(call exec_on_server, if [ -d $(SRVDIR)/$(NAME)/api ]; then rm -rf $(SRVDIR)/$(NAME)/api; fi)
$(call copy_to_website, $(DOCDIR), $(NAME)/api)
$(call copy_to_website, $(RELDIR)/current.txt,downloads/$(NAME))
$(call copy_to_website, releasenotes.txt,downloads/$(NAME))
$(call exec_on_server, find $(SRVDIR) -user `whoami` | xargs chmod g+rw)
echo " - release `cat rel/current.txt` succesfully deployed."
#jar of compiled classes
$(RELDIR)/$(NAME).jar: $(BINDIR) $(RELDIR)/manifest.txt
......
2009-07-28_rev281
2009-07-28_rev279
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