[345] | 1 | # |
---|
[409] | 2 | # module |
---|
| 3 | # ====== |
---|
| 4 | # |
---|
[345] | 5 | # generation of documentations from XML files (and some IDL files) in HTML and |
---|
| 6 | # wiki forms |
---|
| 7 | # |
---|
[409] | 8 | # FILES |
---|
| 9 | # ===== |
---|
| 10 | # |
---|
[345] | 11 | # /Users/fplod/SAXO_DIR_ws/SRC/Documentation/xmldoc/makefile sur aedon.locean-ipsl.upmc.fr |
---|
| 12 | # |
---|
[409] | 13 | # EVOLUTIONS |
---|
| 14 | # ========== |
---|
| 15 | # |
---|
[345] | 16 | # $Id$ |
---|
[409] | 17 | # |
---|
| 18 | # - fplod 20091106T143104Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 19 | # |
---|
| 20 | # * better usage of $< |
---|
| 21 | # |
---|
| 22 | # - fplod 2008-04-16T10:06:39Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
[347] | 23 | # working on wiki production using |
---|
| 24 | # http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html |
---|
[345] | 25 | # fplod 2008-04-15T15:37:59Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 26 | # java is not ok now : |
---|
| 27 | # http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl; Ligne #53; Colonne #35; XSLT Error (javax.xml.transform.TransformerConfigurationException): javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Had IO Exception with stylesheet file: keywords.xsl |
---|
| 28 | # replaced by xsltproc which is now ok for callouts |
---|
| 29 | # fplod 2008-04-15T08:10:09Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 30 | # add xml validation using xmlstarlet |
---|
| 31 | # fplod 2007-06-27T10:07:59Z aedon.locean-ipsl.upmc.fr (Darwin) |
---|
| 32 | # creation in order to replace makehtml.sh |
---|
| 33 | # |
---|
| 34 | PRODUCT = \ |
---|
| 35 | saxo |
---|
| 36 | |
---|
| 37 | DIRBASE = \ |
---|
| 38 | ./ |
---|
| 39 | |
---|
| 40 | DIRSRC = \ |
---|
| 41 | $(DIRBASE) |
---|
| 42 | |
---|
| 43 | DIRTMP = \ |
---|
| 44 | ./ |
---|
| 45 | |
---|
| 46 | DIRWWW = \ |
---|
| 47 | ./ |
---|
| 48 | |
---|
| 49 | DIRWIKI = \ |
---|
| 50 | ./wiki/ |
---|
| 51 | |
---|
[357] | 52 | .PHONY : \ |
---|
| 53 | all \ |
---|
| 54 | clean \ |
---|
| 55 | dbkcheck \ |
---|
| 56 | help \ |
---|
| 57 | html \ |
---|
| 58 | tracwiki |
---|
| 59 | |
---|
[345] | 60 | help : |
---|
| 61 | @echo "\$$ make clean" |
---|
| 62 | @echo "\$$ make all" |
---|
| 63 | @echo "\$$ make dbkcheck" |
---|
| 64 | @echo "++ check link" |
---|
| 65 | @echo "++ depot html et wiki" |
---|
| 66 | |
---|
| 67 | clean : |
---|
| 68 | -@rm -f $(DIRTMP)/*_full.xml |
---|
| 69 | -@rm -f $(DIRTMP)/err_xmlstarlet_xsd |
---|
| 70 | -@rm -f $(DIRTMP)/rowscm.xml |
---|
| 71 | -@rm -f $(DIRTMP)/rowskwd.xml |
---|
[351] | 72 | -@rm -f $(DIRTMP)/titlepage.saxo.xsl |
---|
[345] | 73 | -@rm -f $(DIRTMP)/all_plots.xml |
---|
[351] | 74 | -@rm -f $(DIRTMP)/getsaxo_sed.xml |
---|
[354] | 75 | -@rm -f $(DIRTMP)/firststeps_sed.xml |
---|
[345] | 76 | |
---|
| 77 | dbkcheck : |
---|
| 78 | @-rm $(DIRTMP)/err_xmlstarlet_xsd 2> /dev/null |
---|
[347] | 79 | @for file in $(DIRTMP)/*_full.xml $(DIRTMP)/all_plots.xml; do \ |
---|
[345] | 80 | xml val --err \ |
---|
| 81 | --xsd http://www.docbook.org/xml/5.0/xsd/docbook.xsd \ |
---|
| 82 | $${file} 1>> $(DIRTMP)/err_xmlstarlet_xsd 2>&1; done |
---|
| 83 | @echo "check for valid diag for each file in $(DIRTMP)/err_xmlstarlet_xsd" |
---|
| 84 | |
---|
| 85 | all : \ |
---|
| 86 | html \ |
---|
| 87 | tracwiki |
---|
| 88 | |
---|
| 89 | html : \ |
---|
[387] | 90 | $(DIRWWW)/svnbasiccommands.html \ |
---|
[345] | 91 | $(DIRWWW)/getsaxo.html \ |
---|
| 92 | $(DIRWWW)/websaxo.html \ |
---|
| 93 | $(DIRWWW)/whatsnew.html \ |
---|
| 94 | $(DIRWWW)/updatesaxo.html \ |
---|
| 95 | $(DIRWWW)/whatissaxo.html \ |
---|
| 96 | $(DIRWWW)/faqsaxo.html \ |
---|
| 97 | $(DIRWWW)/infoupdatekwd.html \ |
---|
| 98 | $(DIRWWW)/infoupdatecm.html \ |
---|
| 99 | $(DIRWWW)/mailing.html \ |
---|
| 100 | $(DIRWWW)/tiplink.html \ |
---|
| 101 | $(DIRWWW)/mini_notice.html \ |
---|
| 102 | $(DIRWWW)/firststeps.html \ |
---|
| 103 | $(DIRWWW)/all_plots.html |
---|
| 104 | |
---|
| 105 | tracwiki : \ |
---|
[387] | 106 | $(DIRWIKI)/SvnBasicCommands \ |
---|
[345] | 107 | $(DIRWIKI)/AllPlots \ |
---|
| 108 | $(DIRWIKI)/GetSaxo \ |
---|
[349] | 109 | $(DIRWIKI)/WikiStart \ |
---|
[345] | 110 | $(DIRWIKI)/FaqSaxo \ |
---|
[347] | 111 | $(DIRWIKI)/FirstSteps \ |
---|
[345] | 112 | $(DIRWIKI)/InfoUpdateKwd \ |
---|
| 113 | $(DIRWIKI)/InfoUpdateCm \ |
---|
| 114 | $(DIRWIKI)/Mailing \ |
---|
| 115 | $(DIRWIKI)/MiniNotice \ |
---|
[347] | 116 | $(DIRWIKI)/TipLink \ |
---|
[345] | 117 | $(DIRWIKI)/WhatisSaxo \ |
---|
| 118 | $(DIRWIKI)/UpdateSaxo \ |
---|
| 119 | $(DIRWIKI)/WhatsNew |
---|
| 120 | @echo "Do not forget to import wiki pages" |
---|
[382] | 121 | @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr mkdir -p /tmp/$(PRODUCT)/" |
---|
| 122 | @echo "\$$ rsync -av --exclude=".DS_Store" --exclude=".svn" $(DIRWIKI) $(PRODUCT)@forge.ipsl.jussieu.fr:/tmp/$(PRODUCT)/" |
---|
| 123 | @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr trac-admin /ipsl/forge/projets/$(PRODUCT)/trac wiki load /tmp/$(PRODUCT)/" |
---|
[345] | 124 | |
---|
[382] | 125 | @echo "\$$ ssh $(PRODUCT)@forge.ipsl.jussieu.fr rmdir -f /tmp/$(PRODUCT)/" |
---|
[345] | 126 | |
---|
[349] | 127 | $(DIRWIKI)/WikiStart : \ |
---|
[409] | 128 | $(DIRTMP)/websaxo_full.xml \ |
---|
| 129 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 130 | @xsltproc \ |
---|
[354] | 131 | --output ginette \ |
---|
[351] | 132 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 133 | $< |
---|
[354] | 134 | @xsltproc \ |
---|
| 135 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 136 | $< | \ |
---|
[354] | 137 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
| 138 | sed -e "s+@star@+ *+" \ |
---|
[351] | 139 | > $@ |
---|
[349] | 140 | |
---|
[345] | 141 | $(DIRWWW)/websaxo.html : \ |
---|
| 142 | $(DIRTMP)/websaxo_full.xml \ |
---|
| 143 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 144 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 145 | $(DIRSRC)/style.css \ |
---|
| 146 | $(DIRSRC)/$(PRODUCT).css |
---|
| 147 | @xsltproc \ |
---|
| 148 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 149 | --param css.decoration 1 \ |
---|
| 150 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 151 | --param section.autolabel 1 \ |
---|
| 152 | --output $@ \ |
---|
| 153 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 154 | $< |
---|
[345] | 155 | |
---|
| 156 | $(DIRTMP)/websaxo_full.xml : \ |
---|
| 157 | $(DIRSRC)/websaxo.xml |
---|
| 158 | @xmllint \ |
---|
| 159 | --xinclude \ |
---|
| 160 | --encode utf-8 \ |
---|
| 161 | --noent \ |
---|
| 162 | --output $@ \ |
---|
[409] | 163 | $< |
---|
[345] | 164 | |
---|
[387] | 165 | $(DIRWIKI)/SvnBasicCommands : \ |
---|
[409] | 166 | $(DIRTMP)/svnbasiccommands_full.xml \ |
---|
| 167 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[387] | 168 | @xsltproc \ |
---|
| 169 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 170 | $< | \ |
---|
[387] | 171 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
| 172 | sed -e "s+@star@+*+" \ |
---|
| 173 | > $@ |
---|
| 174 | |
---|
| 175 | $(DIRWWW)/svnbasiccommands.html : \ |
---|
| 176 | $(DIRTMP)/svnbasiccommands_full.xml \ |
---|
| 177 | $(DIRSRC)/saxo_html.xsl \ |
---|
| 178 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
| 179 | $(DIRSRC)/style.css \ |
---|
| 180 | $(DIRSRC)/$(PRODUCT).css |
---|
| 181 | @xsltproc \ |
---|
| 182 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 183 | --param css.decoration 1 \ |
---|
| 184 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 185 | --param section.autolabel 1 \ |
---|
| 186 | --output $@ \ |
---|
| 187 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 188 | $< |
---|
[387] | 189 | |
---|
| 190 | $(DIRTMP)/svnbasiccommands_full.xml : \ |
---|
| 191 | $(DIRSRC)/svnbasiccommands.xml |
---|
| 192 | @xmllint \ |
---|
| 193 | --xinclude \ |
---|
| 194 | --encode utf-8 \ |
---|
| 195 | --noent \ |
---|
| 196 | --output $@ \ |
---|
[409] | 197 | $< |
---|
[387] | 198 | |
---|
[350] | 199 | $(DIRWIKI)/FaqSaxo : \ |
---|
[409] | 200 | $(DIRTMP)/faqsaxo_full.xml \ |
---|
| 201 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 202 | @xsltproc \ |
---|
| 203 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 204 | $< | \ |
---|
[354] | 205 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 206 | sed -e "s+@star@+*+" \ |
---|
| 207 | > $@ |
---|
[345] | 208 | |
---|
| 209 | $(DIRWWW)/faqsaxo.html : \ |
---|
| 210 | $(DIRTMP)/faqsaxo_full.xml \ |
---|
| 211 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 212 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 213 | $(DIRSRC)/style.css \ |
---|
| 214 | $(DIRSRC)/$(PRODUCT).css |
---|
| 215 | @xsltproc \ |
---|
| 216 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 217 | --param css.decoration 1 \ |
---|
| 218 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 219 | --param section.autolabel 1 \ |
---|
| 220 | --output $@ \ |
---|
| 221 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 222 | $< |
---|
[345] | 223 | |
---|
| 224 | $(DIRTMP)/faqsaxo_full.xml : \ |
---|
| 225 | $(DIRSRC)/faqsaxo.xml |
---|
| 226 | @xmllint \ |
---|
| 227 | --xinclude \ |
---|
| 228 | --encode utf-8 \ |
---|
| 229 | --noent \ |
---|
| 230 | --output $@ \ |
---|
[409] | 231 | $< |
---|
[345] | 232 | |
---|
[347] | 233 | $(DIRWIKI)/GetSaxo : \ |
---|
[409] | 234 | $(DIRTMP)/getsaxo_full.xml \ |
---|
| 235 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 236 | @xsltproc \ |
---|
| 237 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 238 | $< | \ |
---|
[354] | 239 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 240 | sed -e "s+@star@+*+" \ |
---|
| 241 | > $@ |
---|
[345] | 242 | |
---|
| 243 | $(DIRWWW)/getsaxo.html : \ |
---|
| 244 | $(DIRTMP)/getsaxo_full.xml \ |
---|
| 245 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 246 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 247 | $(DIRSRC)/style.css \ |
---|
| 248 | $(DIRSRC)/$(PRODUCT).css |
---|
| 249 | @xsltproc \ |
---|
| 250 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 251 | --param css.decoration 1 \ |
---|
| 252 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 253 | --param section.autolabel 1 \ |
---|
| 254 | --output $@ \ |
---|
| 255 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 256 | $< |
---|
[345] | 257 | |
---|
[409] | 258 | $(DIRTMP)/getsaxo_sed.xml : \ |
---|
[345] | 259 | $(DIRSRC)/getsaxo.xml \ |
---|
| 260 | $(DIRSRC)/getsaxo_pre.sh |
---|
| 261 | @$(DIRSRC)/getsaxo_pre.sh |
---|
[409] | 262 | |
---|
| 263 | $(DIRTMP)/getsaxo_full.xml : \ |
---|
| 264 | $(DIRTMP)/getsaxo_sed.xml |
---|
[345] | 265 | @xmllint \ |
---|
| 266 | --xinclude \ |
---|
| 267 | --encode utf-8 \ |
---|
| 268 | --noent \ |
---|
| 269 | --output $@ \ |
---|
[409] | 270 | $< |
---|
[345] | 271 | |
---|
[347] | 272 | $(DIRWIKI)/FirstSteps : \ |
---|
[409] | 273 | $(DIRTMP)/firststeps_full.xml \ |
---|
| 274 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 275 | @xsltproc \ |
---|
| 276 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 277 | $< | \ |
---|
[354] | 278 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 279 | sed -e "s+@star@+*+" \ |
---|
| 280 | > $@ |
---|
[345] | 281 | |
---|
| 282 | $(DIRWWW)/firststeps.html : \ |
---|
| 283 | $(DIRTMP)/firststeps_full.xml \ |
---|
| 284 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 285 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 286 | $(DIRSRC)/style.css \ |
---|
| 287 | $(DIRSRC)/$(PRODUCT).css |
---|
| 288 | @xsltproc \ |
---|
| 289 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 290 | --param css.decoration 1 \ |
---|
| 291 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 292 | --param section.autolabel 1 \ |
---|
| 293 | --output $@ \ |
---|
| 294 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 295 | $< |
---|
[345] | 296 | |
---|
[347] | 297 | $(DIRWIKI)/AllPlots : \ |
---|
[409] | 298 | $(DIRTMP)/all_plots.xml \ |
---|
| 299 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 300 | @xsltproc \ |
---|
| 301 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 302 | $< | \ |
---|
[354] | 303 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 304 | sed -e "s+@star@+*+" \ |
---|
| 305 | > $@ |
---|
[345] | 306 | |
---|
| 307 | $(DIRWWW)/all_plots.html : \ |
---|
| 308 | $(DIRTMP)/all_plots.xml \ |
---|
| 309 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 310 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 311 | $(DIRSRC)/style.css \ |
---|
| 312 | $(DIRSRC)/$(PRODUCT).css |
---|
| 313 | @xsltproc \ |
---|
| 314 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 315 | --param css.decoration 1 \ |
---|
| 316 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 317 | --param section.autolabel 1 \ |
---|
| 318 | --output $@ \ |
---|
| 319 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 320 | $< |
---|
[345] | 321 | |
---|
| 322 | |
---|
| 323 | $(DIRTMP)/all_plots.xml : \ |
---|
[409] | 324 | $(DIRTMP)/firststeps_full.xml \ |
---|
| 325 | $(DIRSRC)/all_plots_docbook.xsl |
---|
[345] | 326 | @xsltproc \ |
---|
| 327 | --output $@ \ |
---|
| 328 | $(DIRSRC)/all_plots_docbook.xsl \ |
---|
[409] | 329 | $< |
---|
[345] | 330 | |
---|
[409] | 331 | $(DIRTMP)/firststeps_sed.xml : \ |
---|
| 332 | $(DIRSRC)/firststeps_pre.sh \ |
---|
| 333 | $(DIRSRC)/firststeps.xml |
---|
| 334 | @$(DIRSRC)/firststeps_pre.sh |
---|
| 335 | |
---|
[345] | 336 | $(DIRTMP)/firststeps_full.xml : \ |
---|
[409] | 337 | $(DIRTMP)/firststeps_sed.xml |
---|
[345] | 338 | @xmllint \ |
---|
| 339 | --xinclude \ |
---|
| 340 | --encode utf-8 \ |
---|
| 341 | --noent \ |
---|
| 342 | --output $@ \ |
---|
[409] | 343 | $< |
---|
[345] | 344 | |
---|
| 345 | $(DIRWIKI)/Mailing : \ |
---|
[409] | 346 | $(DIRTMP)/mailing_full.xml \ |
---|
| 347 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 348 | @xsltproc \ |
---|
| 349 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 350 | $< | \ |
---|
[354] | 351 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 352 | sed -e "s+@star@+*+" \ |
---|
| 353 | > $@ |
---|
[345] | 354 | |
---|
| 355 | $(DIRWWW)/mailing.html : \ |
---|
| 356 | $(DIRTMP)/mailing_full.xml \ |
---|
| 357 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 358 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 359 | $(DIRSRC)/style.css \ |
---|
| 360 | $(DIRSRC)/$(PRODUCT).css |
---|
| 361 | @xsltproc \ |
---|
| 362 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 363 | --param css.decoration 1 \ |
---|
| 364 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 365 | --param section.autolabel 1 \ |
---|
| 366 | --output $@ \ |
---|
| 367 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 368 | $< |
---|
[345] | 369 | |
---|
| 370 | $(DIRTMP)/mailing_full.xml : \ |
---|
| 371 | $(DIRSRC)/mailing.xml |
---|
| 372 | @xmllint \ |
---|
| 373 | --xinclude \ |
---|
| 374 | --encode utf-8 \ |
---|
| 375 | --noent \ |
---|
| 376 | --output $@ \ |
---|
[409] | 377 | $< |
---|
[345] | 378 | |
---|
| 379 | $(DIRWIKI)/MiniNotice : \ |
---|
[409] | 380 | $(DIRTMP)/mini_notice_full.xml \ |
---|
| 381 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 382 | @xsltproc \ |
---|
| 383 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 384 | $< | \ |
---|
[354] | 385 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 386 | sed -e "s+@star@+*+" \ |
---|
[356] | 387 | -e "s+=== idl\>+=== idl\>+" \ |
---|
| 388 | -e "s+---\>+---\>+" \ |
---|
[351] | 389 | > $@ |
---|
[345] | 390 | |
---|
| 391 | $(DIRWWW)/mini_notice.html : \ |
---|
| 392 | $(DIRTMP)/mini_notice_full.xml \ |
---|
| 393 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 394 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 395 | $(DIRSRC)/style.css \ |
---|
| 396 | $(DIRSRC)/$(PRODUCT).css |
---|
| 397 | @xsltproc \ |
---|
| 398 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 399 | --param css.decoration 1 \ |
---|
| 400 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 401 | --param section.autolabel 1 \ |
---|
| 402 | --output $@ \ |
---|
| 403 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 404 | $< |
---|
[345] | 405 | |
---|
| 406 | $(DIRTMP)/mini_notice_full.xml : \ |
---|
| 407 | $(DIRSRC)/mini_notice.xml |
---|
| 408 | @xmllint \ |
---|
| 409 | --xinclude \ |
---|
| 410 | --encode utf-8 \ |
---|
| 411 | --noent \ |
---|
| 412 | --output $@ \ |
---|
[409] | 413 | $< |
---|
[345] | 414 | |
---|
[347] | 415 | $(DIRWIKI)/TipLink : \ |
---|
[409] | 416 | $(DIRTMP)/tiplink_full.xml \ |
---|
| 417 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 418 | @xsltproc \ |
---|
| 419 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 420 | $< | \ |
---|
[354] | 421 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 422 | sed -e "s+@star@+*+" \ |
---|
| 423 | > $@ |
---|
[345] | 424 | |
---|
| 425 | $(DIRWWW)/tiplink.html : \ |
---|
| 426 | $(DIRTMP)/tiplink_full.xml \ |
---|
| 427 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 428 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 429 | $(DIRSRC)/style.css \ |
---|
| 430 | $(DIRSRC)/$(PRODUCT).css |
---|
| 431 | @xsltproc \ |
---|
| 432 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 433 | --param css.decoration 1 \ |
---|
| 434 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 435 | --param section.autolabel 1 \ |
---|
| 436 | --output $@ \ |
---|
| 437 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 438 | $< |
---|
[345] | 439 | |
---|
| 440 | $(DIRTMP)/tiplink_full.xml : \ |
---|
| 441 | $(DIRSRC)/tiplink.xml |
---|
| 442 | @xmllint \ |
---|
| 443 | --xinclude \ |
---|
| 444 | --encode utf-8 \ |
---|
| 445 | --noent \ |
---|
| 446 | --output $@ \ |
---|
[409] | 447 | $< |
---|
[345] | 448 | |
---|
| 449 | $(DIRWIKI)/InfoUpdateCm : \ |
---|
[409] | 450 | $(DIRTMP)/infoupdatecm_full.xml \ |
---|
| 451 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 452 | @xsltproc \ |
---|
| 453 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 454 | $< | \ |
---|
[354] | 455 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 456 | sed -e "s+@star@+*+" \ |
---|
| 457 | > $@ |
---|
[345] | 458 | |
---|
| 459 | $(DIRWWW)/infoupdatecm.html : \ |
---|
| 460 | $(DIRTMP)/infoupdatecm_full.xml \ |
---|
| 461 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 462 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 463 | $(DIRSRC)/style.css \ |
---|
| 464 | $(DIRSRC)/$(PRODUCT).css |
---|
| 465 | @xsltproc \ |
---|
| 466 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 467 | --param css.decoration 1 \ |
---|
| 468 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 469 | --param section.autolabel 1 \ |
---|
| 470 | --output $@ \ |
---|
| 471 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 472 | $< |
---|
[345] | 473 | |
---|
| 474 | $(DIRTMP)/infoupdatecm_full.xml : \ |
---|
| 475 | $(DIRSRC)/infoupdatecm.xml \ |
---|
| 476 | $(DIRTMP)/rowscm.xml |
---|
| 477 | @xmllint \ |
---|
| 478 | --xinclude \ |
---|
| 479 | --encode utf-8 \ |
---|
| 480 | --noent \ |
---|
| 481 | --output $@ \ |
---|
[409] | 482 | $< |
---|
[345] | 483 | |
---|
| 484 | $(DIRWIKI)/InfoUpdateKwd : \ |
---|
[409] | 485 | $(DIRTMP)/infoupdatekwd_full.xml \ |
---|
| 486 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 487 | @xsltproc \ |
---|
| 488 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 489 | $< | \ |
---|
[354] | 490 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 491 | sed -e "s+@star@+*+" \ |
---|
| 492 | > $@ |
---|
[345] | 493 | |
---|
| 494 | $(DIRWWW)/infoupdatekwd.html : \ |
---|
| 495 | $(DIRTMP)/infoupdatekwd_full.xml \ |
---|
| 496 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 497 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 498 | $(DIRSRC)/style.css \ |
---|
| 499 | $(DIRSRC)/$(PRODUCT).css |
---|
| 500 | @xsltproc \ |
---|
| 501 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 502 | --param css.decoration 1 \ |
---|
| 503 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 504 | --param section.autolabel 1 \ |
---|
| 505 | --output $@ \ |
---|
| 506 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 507 | $< |
---|
[345] | 508 | |
---|
| 509 | $(DIRTMP)/infoupdatekwd_full.xml : \ |
---|
| 510 | $(DIRTMP)/infoupdatekwd.xml \ |
---|
| 511 | $(DIRTMP)/rowskwd.xml |
---|
| 512 | @xmllint \ |
---|
| 513 | --xinclude \ |
---|
| 514 | --encode utf-8 \ |
---|
| 515 | --noent \ |
---|
| 516 | --output $@ \ |
---|
[409] | 517 | $< |
---|
[345] | 518 | |
---|
| 519 | $(DIRTMP)/rowscm.xml : \ |
---|
| 520 | ../../ForOldVersion/updateold.pro |
---|
| 521 | @echo "<tbody>" > $@ |
---|
[409] | 522 | @grep "IF NOT key_forgetold AND n_elements(\(.* = .*\)" $< | \ |
---|
[345] | 523 | sort | \ |
---|
| 524 | sed -e "s/\(^.* THEN \)\(.*\)\( = \)\(.*\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@ |
---|
| 525 | @echo "</tbody>" >> $@ |
---|
| 526 | |
---|
| 527 | $(DIRTMP)/rowskwd.xml : \ |
---|
| 528 | ../../ForOldVersion/updatekwd.pro |
---|
| 529 | @echo "<tbody>" > $@ |
---|
[409] | 530 | @grep "^ old = \[old, .* new = \[new" $< | \ |
---|
[345] | 531 | sort | \ |
---|
| 532 | sed -e "s/\( old = \[old, '\)\(.*\)\('\] *& new = \[new, '\)\(.*\)\('\]\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@ |
---|
| 533 | |
---|
| 534 | @echo "</tbody>" >> $@ |
---|
| 535 | |
---|
| 536 | $(DIRWIKI)/WhatisSaxo : \ |
---|
[409] | 537 | $(DIRTMP)/whatissaxo_full.xml \ |
---|
| 538 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 539 | @xsltproc \ |
---|
| 540 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 541 | $< | \ |
---|
[354] | 542 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 543 | sed -e "s+@star@+*+" \ |
---|
| 544 | > $@ |
---|
[345] | 545 | |
---|
| 546 | $(DIRWWW)/whatissaxo.html : \ |
---|
| 547 | $(DIRTMP)/whatissaxo_full.xml \ |
---|
| 548 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 549 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 550 | $(DIRSRC)/style.css \ |
---|
| 551 | $(DIRSRC)/$(PRODUCT).css |
---|
| 552 | @xsltproc \ |
---|
| 553 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 554 | --param css.decoration 1 \ |
---|
| 555 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 556 | --param section.autolabel 1 \ |
---|
| 557 | --output $@ \ |
---|
| 558 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 559 | $< |
---|
[345] | 560 | |
---|
| 561 | $(DIRTMP)/whatissaxo_full.xml : \ |
---|
| 562 | $(DIRSRC)/whatissaxo.xml |
---|
| 563 | @xmllint \ |
---|
| 564 | --xinclude \ |
---|
| 565 | --encode utf-8 \ |
---|
| 566 | --noent \ |
---|
| 567 | --output $@ \ |
---|
[409] | 568 | $< |
---|
[345] | 569 | |
---|
| 570 | $(DIRWIKI)/WhatsNew : \ |
---|
[409] | 571 | $(DIRTMP)/whatsnew_full.xml \ |
---|
| 572 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 573 | @xsltproc \ |
---|
| 574 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 575 | $< | \ |
---|
[354] | 576 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 577 | sed -e "s+@star@+*+" \ |
---|
| 578 | > $@ |
---|
[345] | 579 | |
---|
| 580 | $(DIRWWW)/whatsnew.html : \ |
---|
| 581 | $(DIRTMP)/whatsnew_full.xml \ |
---|
| 582 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 583 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 584 | $(DIRSRC)/style.css \ |
---|
| 585 | $(DIRSRC)/$(PRODUCT).css |
---|
| 586 | @xsltproc \ |
---|
| 587 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 588 | --param css.decoration 1 \ |
---|
| 589 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 590 | --param section.autolabel 1 \ |
---|
| 591 | --output $@ \ |
---|
| 592 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 593 | $< |
---|
[345] | 594 | |
---|
| 595 | $(DIRTMP)/whatsnew_full.xml : \ |
---|
| 596 | $(DIRSRC)/whatsnew.xml |
---|
| 597 | @xmllint \ |
---|
| 598 | --xinclude \ |
---|
| 599 | --encode utf-8 \ |
---|
| 600 | --noent \ |
---|
| 601 | --output $@ \ |
---|
[409] | 602 | $< |
---|
[345] | 603 | |
---|
| 604 | $(DIRWIKI)/UpdateSaxo : \ |
---|
[409] | 605 | $(DIRTMP)/updatesaxo_full.xml \ |
---|
| 606 | $(DIRSRC)/saxo_tracwiki.xsl |
---|
[351] | 607 | @xsltproc \ |
---|
| 608 | $(DIRSRC)/saxo_tracwiki.xsl \ |
---|
[409] | 609 | $< | \ |
---|
[354] | 610 | awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ |
---|
[351] | 611 | sed -e "s+@star@+*+" \ |
---|
| 612 | > $@ |
---|
[345] | 613 | |
---|
| 614 | $(DIRWWW)/updatesaxo.html : \ |
---|
| 615 | $(DIRTMP)/updatesaxo_full.xml \ |
---|
| 616 | $(DIRSRC)/saxo_html.xsl \ |
---|
[351] | 617 | $(DIRTMP)/titlepage.saxo.xsl \ |
---|
[345] | 618 | $(DIRSRC)/style.css \ |
---|
| 619 | $(DIRSRC)/$(PRODUCT).css |
---|
| 620 | @xsltproc \ |
---|
| 621 | --param html.stylesheet "'style.css $(PRODUCT).css'" \ |
---|
| 622 | --param css.decoration 1 \ |
---|
| 623 | --param link.mailto.url "'mailto:saxo-dev_at_forge.ipsl.jussieu.fr'" \ |
---|
| 624 | --param section.autolabel 1 \ |
---|
| 625 | --output $@ \ |
---|
| 626 | $(DIRSRC)/saxo_html.xsl \ |
---|
[409] | 627 | $< |
---|
[345] | 628 | |
---|
| 629 | $(DIRTMP)/updatesaxo_full.xml : \ |
---|
| 630 | $(DIRSRC)/updatesaxo.xml |
---|
| 631 | @xmllint \ |
---|
| 632 | --xinclude \ |
---|
| 633 | --encode utf-8 \ |
---|
| 634 | --noent \ |
---|
| 635 | --output $@ \ |
---|
[409] | 636 | $< |
---|
[345] | 637 | |
---|
[351] | 638 | $(DIRTMP)/titlepage.saxo.xsl : \ |
---|
| 639 | $(DIRSRC)/titlepage.saxo.xml |
---|
[345] | 640 | @xsltproc \ |
---|
| 641 | --output $@ \ |
---|
| 642 | http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl \ |
---|
[409] | 643 | $< |
---|