/[svn]/website/trunk/Makefile
ViewVC logotype

Contents of /website/trunk/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4003 - (show annotations)
Wed Sep 10 13:12:40 2008 UTC (4 years, 9 months ago) by beppe
File size: 1204 byte(s)
Updated Makefile to dev.cduce.org
1 #CDUCE=$(HOME)/cduce/cduce
2 CDUCE=cduce
3 HTML_DIR=/tmp/public_html.$(LOGNAME)
4 REMOTE_HTML_DIR=dev.cduce.org:/home/web/wwwcduce/public_html/
5 all: install_web
6
7 webpages: web/site.cdo
8 (cd web; $(CDUCE) --run site.cdo --arg site.xml)
9
10 install_web: webpages
11 mkdir -p $(HTML_DIR)/img
12 cp web/www/*.html web/demo.js web/cduce.css $(HTML_DIR)/
13 cp web/img/*.* $(HTML_DIR)/img
14
15
16 install_web_distant: install_web
17 # rsync -acvz web/www/*.html web/demo.js web/cduce.css $(REMOTE_HTML_DIR)
18 # rsync -acvz web/img/*.* $(REMOTE_HTML_DIR)/img
19 scp -r web/img/*.* web/www/*.html web/demo.js web/cduce.css $(REMOTE_HTML_DIR)
20
21 web/xhtml.cdo: web/xhtml.cd
22 $(CDUCE) -I web/ --compile web/xhtml.cd
23
24 web/site.cdo: web/xhtml.cdo web/site.cd web/siteTypes.cd
25 $(CDUCE) -I web/ --compile web/site.cd
26
27
28 web_fetch_tralala:
29 # wget -O /tmp/tralala.1 http://www.grappa.univ-lille3.fr/bibtex/tralalamachine.php && sed '{s/&/&/g}' /tmp/tralala.1 > web/tralala_documents_lille.inc && rm /tmp/tralala.1
30 # The above is a temporary patch waiting that Lille will change their entries
31 # it should be:
32 wget -O web/tralala_documents_lille.inc http://www.grappa.univ-lille3.fr/bibtex/tralalamachine.php
33
34 clean:
35 rm -f web/*.cdo web/www/*

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.5