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