- Timestamp:
- 04/28/08 12:33:35 (16 years ago)
- Location:
- trunk
- Files:
-
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/makefile
r53 r54 4 4 # update : 5 5 # $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 6 10 # fplod 2008-04-18T10:24:13Z aedon.locean-ipsl.upmc.fr (Darwin) 7 11 # add year_ploticus.xsl (replacing years_gnuplot.xsl) 8 12 # 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 11 15 # http://lists.oasis-open.org/archives/docbook-apps/200711/msg00095.html 12 16 # fplod 2007-10-12T09:40:01Z aedon.locean-ipsl.upmc.fr (Darwin) … … 32 36 33 37 DIRTMP = \ 34 . 38 ./ 35 39 36 40 DIRXML = \ … … 43 47 /tmp/$(PRODUCT)/ 44 48 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, 48 50 # 49 51 # the real one for NEMO is opatlod@cerbere.locean-ispl.upmc.fr:NEMO/general/biblio_new/ … … 51 53 # comment all of them and define your own 52 54 # 53 #DIRPUBLISH = \ 54 #smasson@arete.locean-ipsl.upmc.fr:Sites/bibnemomaf/ 55 55 DIRPUBLISH = \ 56 smasson@arete.locean-ipsl.upmc.fr:Sites/bibnemomaf/ 57 58 URLPUBLISH = \ 59 none 60 61 # the second one for me (Françoise) on my Mac aedon 56 62 #DIRPUBLISH = \ 57 63 #fplod@aedon.locean-ipsl.upmc.fr:Sites/$(PRODUCT)demo/ 58 64 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/ 61 75 62 76 MAKEDATE = \ … … 75 89 $(DIRSRC)/images/globalicondl11x10_up.gif 76 90 91 .PHONY : \ 92 all \ 93 before \ 94 clean \ 95 doc \ 96 help \ 97 html_en \ 98 htmllinkchecka \ 99 htmllinkcheckb \ 100 install \ 101 pdf_en 102 77 103 help : 78 104 @echo "Define in the makefile localisations of :" 79 105 @echo " - sources (DIRSRC) where you \"svn checkout\" $(PRODUCT)" 80 106 @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)" 82 108 @echo "" 83 109 @echo "Prepare output directories :" … … 133 159 134 160 install : 135 @./install.sh -w $(DIRWWW) -p $(DIRPUBLISH) 161 ./install.sh -w $(DIRWWW) -p $(DIRPUBLISH) 162 ./install.sh -w $(DIRWWW) -u $(URLPUBLISH) 136 163 clean : 137 164 -@rm -fr $(DIRWWW)/ 138 -@rm -f $(DIRTMP)/main_beforetidy.php139 -@rm -f $(DIRTMP)/main_tidy_err140 165 -@rm -f $(DIRTMP)/$(DIRTMP)/select_id.xml 141 166 -@rm -f $(DIRTMP)/main_full.xml 142 167 -@rm -f $(DIRTMP)/$(PRODUCT)01.xml 143 -@rm -f $(DIRTMP)/$(PRODUCT)01_beforetidy.html144 168 -@rm -f $(DIRTMP)/$(PRODUCT)01_dblatex.log 145 169 -@rm -f $(DIRTMP)/$(PRODUCT)01_dblatex.err 146 -@rm -f $(DIRTMP)/$(PRODUCT)01_tidy_err147 170 -@rm -f $(DIRTMP)/years_gnuplot.gnu 148 171 -@rm -f $(DIRTMP)/years.ploticus 149 172 -@rm -f $(DIRTMP)/$(PRODUCT)02.xml 150 -@rm -f $(DIRTMP)/$(PRODUCT)02_beforetidy.html151 -@rm -f $(DIRTMP)/$(PRODUCT)02_tidy_err152 173 -@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.err 153 174 -@rm -f $(DIRTMP)/$(PRODUCT)02_dblatex.log … … 156 177 -@rm -f $(DIRTMP)/titlepage.$(PRODUCT).xsl 157 178 -@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 162 180 -@rm -f $(DIRTMP)/template_db.xml 181 182 all : \ 183 html_en 163 184 164 185 doc : \ … … 171 192 htmllinkchecka : 172 193 @linkchecker.sh -d $(DIRPUBLISH) 194 @linkchecker.sh -u $(URLPUBLISH) 173 195 174 196 html_en : \ … … 194 216 195 217 $(DIRWWW)/en/one/main.php : \ 196 $(DIRTMP)/main_beforetidy.php \197 $(DIRSRC)/configtidy.txt198 -@tidy -config $(DIRSRC)/configtidy.txt \199 -f $(DIRTMP)/main_tidy_err \200 -xml \201 -clean \202 -output $@ \203 $(DIRTMP)/main_beforetidy.php204 205 $(DIRTMP)/main_beforetidy.php : \206 218 $(DIRSRC)/$(PRODUCT).css \ 207 219 $(DIRSRC)/style.css \ … … 216 228 217 229 $(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 \ 232 231 $(DIRSRC)/$(PRODUCT).css \ 233 232 $(DIRSRC)/style.css \ … … 250 249 251 250 $(DIRWWW)/en/one/$(PRODUCT)02.html : \ 252 $(DIRTMP)/$(PRODUCT)02_beforetidy.html \253 $(DIRSRC)/configtidy.txt254 -@tidy -config $(DIRSRC)/configtidy.txt \255 -f $(DIRTMP)/$(PRODUCT)02_tidy_err \256 -clean \257 -xml \258 -o $@ \259 $(DIRTMP)/$(PRODUCT)02_beforetidy.html260 # tidy ne fait pas la bonne conversion de charset261 @cp $(DIRTMP)/$(PRODUCT)02_beforetidy.html \262 $(DIRWWW)/en/one/$(PRODUCT)02.html263 264 $(DIRTMP)/$(PRODUCT)02_beforetidy.html : \265 251 $(DIRSRC)/$(PRODUCT).css \ 266 252 $(DIRSRC)/style.css \ … … 281 267 $(XSLPARAMHTML) \ 282 268 --param html.ext "'.php'" \ 283 --param base.dir "'$@ '" \269 --param base.dir "'$@/'" \ 284 270 $(DIRSRC)/$(PRODUCT)many02_html.xsl \ 285 271 $(DIRTMP)/bibliomany02.xml … … 307 293 @xsltproc \ 308 294 $(XSLPARAMHTML) \ 309 --param base.dir "'$@ '" \295 --param base.dir "'$@/'" \ 310 296 $(DIRSRC)/$(PRODUCT)many01_html.xsl \ 311 297 $(DIRTMP)/bibliomany01.xml … … 399 385 400 386 $(DIRWWW)/en/one/user.html : \ 401 $(DIRTMP)/user_beforetidy.html \402 $(DIRSRC)/configtidy.txt403 -@tidy -config $(DIRSRC)/configtidy.txt \404 -f $(DIRTMP)/user_tidy_err \405 -clean \406 -xml \407 -o $@ \408 $(DIRTMP)/user_beforetidy.html409 # tidy supprime trop de blancs410 @cp $(DIRTMP)/user_beforetidy.html \411 $(DIRWWW)/en/one/user.html412 413 $(DIRTMP)/user_beforetidy.html : \414 387 $(DIRSRC)/$(PRODUCT).css \ 415 388 $(DIRSRC)/style.css \ … … 436 409 437 410 $(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 446 412 # 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 : \ 457 417 $(DIRSRC)/$(PRODUCT).css \ 458 418 $(DIRSRC)/style.css \ -
trunk/years_ploticus.xsl
r53 r54 10 10 [1950,2049] or so ... 11 11 12 see also years_gnuplot.xsl (but no historgram, only linepoints) 12 see also years_gnuplot.xsl (but no histogram, only linepoints) 13 14 ++ voir une solution svg http://www.chez.com/xml/exemples/xslt/barchart/ 13 15 14 16 update :
Note: See TracChangeset
for help on using the changeset viewer.