Changeset 54 for trunk


Ignore:
Timestamp:
04/28/08 12:33:35 (16 years ago)
Author:
pinsard
Message:

get rid of tidy

Location:
trunk
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/makefile

    r53 r54  
    44# update : 
    55# $Id$ 
     6# fplod 2008-04-28T10:27:33Z aedon.locean-ipsl.upmc.fr (Darwin) 
     7# add .PHONY to make possible usage of makeppgraph 
     8# get rid of tidy 
     9# introduce URLPUBLISH 
    610# fplod 2008-04-18T10:24:13Z aedon.locean-ipsl.upmc.fr (Darwin) 
    711# add year_ploticus.xsl (replacing years_gnuplot.xsl) 
    812# fplod 2007-11-22T09:57:16Z aedon.locean-ipsl.upmc.fr (Darwin) 
    9 # replace --output parameter by --stringparam base.dir  
    10 # according to Bob Stayton recommandation in  
     13# replace --output parameter by --stringparam base.dir 
     14# according to Bob Stayton recommandation in 
    1115# http://lists.oasis-open.org/archives/docbook-apps/200711/msg00095.html 
    1216# fplod 2007-10-12T09:40:01Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    3236 
    3337DIRTMP = \ 
    34 . 
     38./ 
    3539 
    3640DIRXML = \ 
     
    4347/tmp/$(PRODUCT)/ 
    4448 
    45 # here are some examples of DIRPUBLISH, the first on for Seb on his Mac, 
    46 # the second one for me (Françoise) on mine 
    47 # the third for me (Françoise) on my home page http://www.locean-ipsl.upmc.fr/~fplod/superbibdemo/ 
     49# here are some examples of DIRPUBLISH/URLPUBLISH, the first on for Seb on his Mac, 
    4850# 
    4951# the real one for NEMO is opatlod@cerbere.locean-ispl.upmc.fr:NEMO/general/biblio_new/ 
     
    5153# comment all of them and define your own 
    5254# 
    53 #DIRPUBLISH = \ 
    54 #smasson@arete.locean-ipsl.upmc.fr:Sites/bibnemomaf/ 
    55  
     55DIRPUBLISH = \ 
     56smasson@arete.locean-ipsl.upmc.fr:Sites/bibnemomaf/ 
     57 
     58URLPUBLISH = \ 
     59none 
     60 
     61# the second one for me (Françoise) on my Mac aedon 
    5662#DIRPUBLISH = \ 
    5763#fplod@aedon.locean-ipsl.upmc.fr:Sites/$(PRODUCT)demo/ 
    5864 
    59 DIRPUBLISH = \ 
    60 fplod@cerbere.locean-ipsl.upmc.fr:./WWW/$(PRODUCT)demo/ 
     65#URLPUBLISH = \ 
     66#none 
     67 
     68# the third for me (Françoise) on my home page at LOCEAN 
     69# http://www.locean-ipsl.upmc.fr/~fplod/superbibdemo/ 
     70#DIRPUBLISH = \ 
     71#none 
     72 
     73#URLPUBLISH = \ 
     74#http://www.locean-ipsl.upmc/~fplod/$(PRODUCT)demo/ 
    6175 
    6276MAKEDATE = \ 
     
    7589$(DIRSRC)/images/globalicondl11x10_up.gif 
    7690 
     91.PHONY : \ 
     92all \ 
     93before \ 
     94clean \ 
     95doc \ 
     96help \ 
     97html_en \ 
     98htmllinkchecka \ 
     99htmllinkcheckb \ 
     100install \ 
     101pdf_en 
     102 
    77103help : 
    78104        @echo "Define in the makefile localisations of :" 
    79105        @echo " - sources (DIRSRC) where you \"svn checkout\" $(PRODUCT)" 
    80106        @echo " - temporary Web pages (DIRWWW), where you can check links before publication" 
    81         @echo "- published Web pages (DIRPUBLISH)" 
     107        @echo "- published Web pages (DIRPUBLISH/URLPUBLISH)" 
    82108        @echo "" 
    83109        @echo "Prepare output directories :" 
     
    133159 
    134160install : 
    135         @./install.sh -w $(DIRWWW) -p $(DIRPUBLISH) 
     161        ./install.sh -w $(DIRWWW) -p $(DIRPUBLISH) 
     162        ./install.sh -w $(DIRWWW) -u $(URLPUBLISH) 
    136163clean : 
    137164        -@rm -fr $(DIRWWW)/ 
    138         -@rm -f $(DIRTMP)/main_beforetidy.php 
    139         -@rm -f $(DIRTMP)/main_tidy_err 
    140165        -@rm -f $(DIRTMP)/$(DIRTMP)/select_id.xml 
    141166        -@rm -f $(DIRTMP)/main_full.xml 
    142167        -@rm -f $(DIRTMP)/$(PRODUCT)01.xml 
    143         -@rm -f $(DIRTMP)/$(PRODUCT)01_beforetidy.html 
    144168        -@rm -f $(DIRTMP)/$(PRODUCT)01_dblatex.log 
    145169        -@rm -f $(DIRTMP)/$(PRODUCT)01_dblatex.err 
    146         -@rm -f $(DIRTMP)/$(PRODUCT)01_tidy_err 
    147170        -@rm -f $(DIRTMP)/years_gnuplot.gnu 
    148171        -@rm -f $(DIRTMP)/years.ploticus 
    149172        -@rm -f $(DIRTMP)/$(PRODUCT)02.xml 
    150         -@rm -f $(DIRTMP)/$(PRODUCT)02_beforetidy.html 
    151         -@rm -f $(DIRTMP)/$(PRODUCT)02_tidy_err 
    152173        -@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.err 
    153174        -@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.log 
     
    156177        -@rm -f $(DIRTMP)/titlepage.$(PRODUCT).xsl 
    157178        -@rm -f $(DIRTMP)/user_db.xml 
    158         -@rm -f $(DIRTMP)/user_beforetidy.html 
    159         -@rm -f $(DIRTMP)/user_tidy_err 
    160         -@rm -f $(DIRTMP)/template_beforetidy.php 
    161         -@rm -f $(DIRTMP)/template_tidy_err 
     179        -@rm -f $(DIRTMP)/template_beforesed.php 
    162180        -@rm -f $(DIRTMP)/template_db.xml 
     181 
     182all : \ 
     183html_en 
    163184 
    164185doc : \ 
     
    171192htmllinkchecka : 
    172193        @linkchecker.sh -d $(DIRPUBLISH) 
     194        @linkchecker.sh -u $(URLPUBLISH) 
    173195 
    174196html_en : \ 
     
    194216 
    195217$(DIRWWW)/en/one/main.php : \ 
    196 $(DIRTMP)/main_beforetidy.php \ 
    197 $(DIRSRC)/configtidy.txt 
    198         -@tidy -config $(DIRSRC)/configtidy.txt \ 
    199         -f $(DIRTMP)/main_tidy_err \ 
    200         -xml \ 
    201         -clean \ 
    202         -output $@ \ 
    203         $(DIRTMP)/main_beforetidy.php 
    204  
    205 $(DIRTMP)/main_beforetidy.php : \ 
    206218$(DIRSRC)/$(PRODUCT).css \ 
    207219$(DIRSRC)/style.css \ 
     
    216228 
    217229$(DIRWWW)/en/one/$(PRODUCT)01.html : \ 
    218 $(DIRTMP)/$(PRODUCT)01_beforetidy.html \ 
    219 $(DIRSRC)/configtidy.txt \ 
    220 $(DIRWWW)/images/years.png 
    221         -@tidy -config $(DIRSRC)/configtidy.txt \ 
    222         -f $(DIRTMP)/$(PRODUCT)01_tidy_err \ 
    223         -clean \ 
    224         -xml \ 
    225         -o $@ \ 
    226         $(DIRTMP)/$(PRODUCT)01_beforetidy.html 
    227         # tidy supprime trop de blancs 
    228         @cp $(DIRTMP)/$(PRODUCT)01_beforetidy.html \ 
    229         $(DIRWWW)/en/one/$(PRODUCT)01.html 
    230  
    231 $(DIRTMP)/$(PRODUCT)01_beforetidy.html : \ 
     230$(DIRWWW)/images/years.png \ 
    232231$(DIRSRC)/$(PRODUCT).css \ 
    233232$(DIRSRC)/style.css \ 
     
    250249 
    251250$(DIRWWW)/en/one/$(PRODUCT)02.html : \ 
    252 $(DIRTMP)/$(PRODUCT)02_beforetidy.html \ 
    253 $(DIRSRC)/configtidy.txt 
    254         -@tidy -config $(DIRSRC)/configtidy.txt \ 
    255         -f $(DIRTMP)/$(PRODUCT)02_tidy_err \ 
    256         -clean \ 
    257         -xml \ 
    258         -o $@ \ 
    259         $(DIRTMP)/$(PRODUCT)02_beforetidy.html 
    260         # tidy ne fait pas la bonne conversion de charset 
    261         @cp $(DIRTMP)/$(PRODUCT)02_beforetidy.html \ 
    262         $(DIRWWW)/en/one/$(PRODUCT)02.html 
    263  
    264 $(DIRTMP)/$(PRODUCT)02_beforetidy.html : \ 
    265251$(DIRSRC)/$(PRODUCT).css \ 
    266252$(DIRSRC)/style.css \ 
     
    281267        $(XSLPARAMHTML) \ 
    282268        --param html.ext "'.php'" \ 
    283         --param base.dir "'$@'" \ 
     269        --param base.dir "'$@/'" \ 
    284270        $(DIRSRC)/$(PRODUCT)many02_html.xsl \ 
    285271        $(DIRTMP)/bibliomany02.xml 
     
    307293        @xsltproc \ 
    308294        $(XSLPARAMHTML) \ 
    309         --param base.dir "'$@'" \ 
     295        --param base.dir "'$@/'" \ 
    310296        $(DIRSRC)/$(PRODUCT)many01_html.xsl \ 
    311297        $(DIRTMP)/bibliomany01.xml 
     
    399385 
    400386$(DIRWWW)/en/one/user.html : \ 
    401 $(DIRTMP)/user_beforetidy.html \ 
    402 $(DIRSRC)/configtidy.txt 
    403         -@tidy -config $(DIRSRC)/configtidy.txt \ 
    404         -f $(DIRTMP)/user_tidy_err \ 
    405         -clean \ 
    406         -xml \ 
    407         -o $@ \ 
    408         $(DIRTMP)/user_beforetidy.html 
    409         # tidy supprime trop de blancs 
    410         @cp $(DIRTMP)/user_beforetidy.html \ 
    411         $(DIRWWW)/en/one/user.html 
    412  
    413 $(DIRTMP)/user_beforetidy.html : \ 
    414387$(DIRSRC)/$(PRODUCT).css \ 
    415388$(DIRSRC)/style.css \ 
     
    436409 
    437410$(DIRWWW)/en/one/template.php : \ 
    438 $(DIRTMP)/template_beforetidy.php \ 
    439 $(DIRSRC)/configtidy.txt 
    440         -@tidy -config $(DIRSRC)/configtidy.txt \ 
    441         -f $(DIRTMP)/template_tidy_err \ 
    442         -xml \ 
    443         -clean \ 
    444         -o $@ \ 
    445         $(DIRTMP)/template_beforetidy.php 
     411$(DIRTMP)/template_beforesed.php 
    446412        # affreux sed 
    447         @sed -f insertphp_one.sed $(DIRTMP)/template_beforetidy.php > \ 
    448         $(DIRTMP)/template_beforetidy.php_sed 
    449         mv $(DIRTMP)/template_beforetidy.php_sed \ 
    450         $(DIRTMP)/template_beforetidy.php 
    451         # tidy supprime trop de blancs 
    452         @cp \ 
    453         $(DIRTMP)/template_beforetidy.php \ 
    454         $(DIRWWW)/en/one/template.php 
    455  
    456 $(DIRTMP)/template_beforetidy.php : \ 
     413        @sed -f insertphp_one.sed $(DIRTMP)/template_beforesed.php > \ 
     414        $@ 
     415 
     416$(DIRTMP)/template_beforesed.php : \ 
    457417$(DIRSRC)/$(PRODUCT).css \ 
    458418$(DIRSRC)/style.css \ 
  • trunk/years_ploticus.xsl

    r53 r54  
    1010[1950,2049] or so ... 
    1111 
    12 see also years_gnuplot.xsl  (but no historgram, only linepoints) 
     12see also years_gnuplot.xsl  (but no histogram, only linepoints) 
     13 
     14++ voir une solution svg http://www.chez.com/xml/exemples/xslt/barchart/ 
    1315 
    1416update : 
Note: See TracChangeset for help on using the changeset viewer.