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