From b01cc7ea6a6a931e3485fde7ec78b2c216918e11 Mon Sep 17 00:00:00 2001 From: Ferruccio Guidi Date: Fri, 16 Jan 2015 20:00:40 +0000 Subject: [PATCH] infrastructure to browse lambdadelta_1 remotely --- helm/www/lambdadelta/Makefile | 10 +++++++--- helm/www/lambdadelta/etc/to_text.sh | 3 +++ helm/www/lambdadelta/news.html | 17 ++++++++++++----- helm/www/lambdadelta/specification.html | 2 +- helm/www/lambdadelta/web/home/news.ldw.xml | 13 +++++++++---- 5 files changed, 32 insertions(+), 13 deletions(-) create mode 100644 helm/www/lambdadelta/etc/to_text.sh diff --git a/helm/www/lambdadelta/Makefile b/helm/www/lambdadelta/Makefile index f46fcdc30..d9563b664 100644 --- a/helm/www/lambdadelta/Makefile +++ b/helm/www/lambdadelta/Makefile @@ -3,7 +3,7 @@ H=@ TAGS = www up \ lint-xml index lddl install-xml \ test-html html install-html \ - install-jed install-bib install-contrib \ + install-jed install-bib install-contrib install-coq \ install-automath install-matita \ LDURL = http://lambdadelta.info/ @@ -29,7 +29,7 @@ RDIR = /projects/helm/public_html/lambdadelta RHOMEDIR = $(REMOTE):$(RDIR) RXMLDIR = $(RHOMEDIR)/xml RDOWNDIR = $(RHOMEDIR)/download -RHTMLDIR = /projects/helm/public_html/lambda-delta/static +RSTATICDIR = /projects/helm/public_html/lambda-delta/static SLS = helena.sl automath.sl BIB = lambdadelta.bib @@ -122,7 +122,7 @@ install-html $(DOWNDIR)/static_lddl.tar.bz2: $(ETCDIR)/exclude.txt $(ETCDIR)/mak @echo " INSTALL html" $(H)tar -cjf $(DOWNDIR)/static_lddl.tar.bz2 -C static -X $< lddl $(H)scp $(DOWNDIR)/static_lddl.tar.bz2 $(RDOWNDIR) - $(H)ssh $(REMOTE) "cd $(RHTMLDIR) && tar -xjf ../../lambdadelta/download/static_lddl.tar.bz2 + $(H)ssh $(REMOTE) "cd $(RSTATICDIR) && tar -xjf ../../lambdadelta/download/static_lddl.tar.bz2 install-jed: $(SLS:%=$(JEDDIR)/%) @echo " INSTALL $(SLS)" @@ -145,6 +145,10 @@ install-matita: $(MATITA:%=$(HELENADIR)/%) @echo " INSTALL matita" $(H)tar -C $(HELENADIR) -cjf $(DOWNDIR)/grundlagen_2.tar.bz2 $(MATITA) +install-coq: + @echo " INSTALL coq" + $(H)ssh $(REMOTE) "cd $(RSTATICDIR)/coq && tar -xzf ../../../lambdadelta/download/lambdadelta_1.tar.gz && . ../../../lambdadelta/etc/to_text.sh v + up: @echo " UPDATE $(RHOMEDIR)" $(H)ssh $(REMOTE) "svn up $(RDIR)" diff --git a/helm/www/lambdadelta/etc/to_text.sh b/helm/www/lambdadelta/etc/to_text.sh new file mode 100644 index 000000000..a09db612b --- /dev/null +++ b/helm/www/lambdadelta/etc/to_text.sh @@ -0,0 +1,3 @@ +for FILE in `find -name "*.$1"`; do + mv $FILE ${FILE/.$1/.txt}; +done diff --git a/helm/www/lambdadelta/news.html b/helm/www/lambdadelta/news.html index 5707823a2..ebd699892 100644 --- a/helm/www/lambdadelta/news.html +++ b/helm/www/lambdadelta/news.html @@ -98,6 +98,13 @@
Milestones [spacer]
+