Changeset 409
- Timestamp:
- 11/06/09 16:02:19 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SRC/Documentation/xmldoc/makefile
r387 r409 1 1 # 2 # module : 2 # module 3 # ====== 4 # 3 5 # generation of documentations from XML files (and some IDL files) in HTML and 4 6 # wiki forms 5 7 # 6 # original location : 8 # FILES 9 # ===== 10 # 7 11 # /Users/fplod/SAXO_DIR_ws/SRC/Documentation/xmldoc/makefile sur aedon.locean-ipsl.upmc.fr 8 12 # 9 # update : 13 # EVOLUTIONS 14 # ========== 15 # 10 16 # $Id$ 11 # fplod 2008-04-16T10:06:39Z aedon.locean-ipsl.upmc.fr (Darwin) 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) 12 23 # working on wiki production using 13 24 # http://xmlstar.sourceforge.net/doc/UG/xmlstarlet-ug.html … … 115 126 116 127 $(DIRWIKI)/WikiStart : \ 117 $(DIR SRC)/saxo_tracwiki.xsl \118 $(DIR TMP)/websaxo_full.xml128 $(DIRTMP)/websaxo_full.xml \ 129 $(DIRSRC)/saxo_tracwiki.xsl 119 130 @xsltproc \ 120 131 --output ginette \ 121 132 $(DIRSRC)/saxo_tracwiki.xsl \ 122 $ (DIRTMP)/websaxo_full.xml123 @xsltproc \ 124 $(DIRSRC)/saxo_tracwiki.xsl \ 125 $ (DIRTMP)/websaxo_full.xml| \133 $< 134 @xsltproc \ 135 $(DIRSRC)/saxo_tracwiki.xsl \ 136 $< | \ 126 137 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 127 138 sed -e "s+@star@+ *+" \ … … 141 152 --output $@ \ 142 153 $(DIRSRC)/saxo_html.xsl \ 143 $ (DIRTMP)/websaxo_full.xml154 $< 144 155 145 156 $(DIRTMP)/websaxo_full.xml : \ … … 150 161 --noent \ 151 162 --output $@ \ 152 $ (DIRSRC)/websaxo.xml163 $< 153 164 154 165 $(DIRWIKI)/SvnBasicCommands : \ 155 $(DIR SRC)/saxo_tracwiki.xsl \156 $(DIR TMP)/svnbasiccommands_full.xml157 @xsltproc \ 158 $(DIRSRC)/saxo_tracwiki.xsl \ 159 $ (DIRTMP)/svnbasiccommands_full.xml| \166 $(DIRTMP)/svnbasiccommands_full.xml \ 167 $(DIRSRC)/saxo_tracwiki.xsl 168 @xsltproc \ 169 $(DIRSRC)/saxo_tracwiki.xsl \ 170 $< | \ 160 171 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 161 172 sed -e "s+@star@+*+" \ … … 175 186 --output $@ \ 176 187 $(DIRSRC)/saxo_html.xsl \ 177 $ (DIRTMP)/svnbasiccommands_full.xml188 $< 178 189 179 190 $(DIRTMP)/svnbasiccommands_full.xml : \ … … 184 195 --noent \ 185 196 --output $@ \ 186 $ (DIRSRC)/svnbasiccommands.xml197 $< 187 198 188 199 $(DIRWIKI)/FaqSaxo : \ 189 $(DIR SRC)/saxo_tracwiki.xsl \190 $(DIR TMP)/faqsaxo_full.xml191 @xsltproc \ 192 $(DIRSRC)/saxo_tracwiki.xsl \ 193 $ (DIRTMP)/faqsaxo_full.xml| \200 $(DIRTMP)/faqsaxo_full.xml \ 201 $(DIRSRC)/saxo_tracwiki.xsl 202 @xsltproc \ 203 $(DIRSRC)/saxo_tracwiki.xsl \ 204 $< | \ 194 205 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 195 206 sed -e "s+@star@+*+" \ … … 209 220 --output $@ \ 210 221 $(DIRSRC)/saxo_html.xsl \ 211 $ (DIRTMP)/faqsaxo_full.xml222 $< 212 223 213 224 $(DIRTMP)/faqsaxo_full.xml : \ … … 218 229 --noent \ 219 230 --output $@ \ 220 $ (DIRSRC)/faqsaxo.xml231 $< 221 232 222 233 $(DIRWIKI)/GetSaxo : \ 223 $(DIR SRC)/saxo_tracwiki.xsl \224 $(DIR TMP)/getsaxo_full.xml225 @xsltproc \ 226 $(DIRSRC)/saxo_tracwiki.xsl \ 227 $ (DIRTMP)/getsaxo_full.xml| \234 $(DIRTMP)/getsaxo_full.xml \ 235 $(DIRSRC)/saxo_tracwiki.xsl 236 @xsltproc \ 237 $(DIRSRC)/saxo_tracwiki.xsl \ 238 $< | \ 228 239 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 229 240 sed -e "s+@star@+*+" \ … … 243 254 --output $@ \ 244 255 $(DIRSRC)/saxo_html.xsl \ 245 $ (DIRTMP)/getsaxo_full.xml246 247 $(DIRTMP)/getsaxo_ full.xml : \256 $< 257 258 $(DIRTMP)/getsaxo_sed.xml : \ 248 259 $(DIRSRC)/getsaxo.xml \ 249 260 $(DIRSRC)/getsaxo_pre.sh 250 261 @$(DIRSRC)/getsaxo_pre.sh 251 @xmllint \ 252 --xinclude \ 253 --encode utf-8 \ 254 --noent \ 255 --output $@ \ 256 $(DIRTMP)/getsaxo_sed.xml 262 263 $(DIRTMP)/getsaxo_full.xml : \ 264 $(DIRTMP)/getsaxo_sed.xml 265 @xmllint \ 266 --xinclude \ 267 --encode utf-8 \ 268 --noent \ 269 --output $@ \ 270 $< 257 271 258 272 $(DIRWIKI)/FirstSteps : \ 259 $(DIR SRC)/saxo_tracwiki.xsl \260 $(DIR TMP)/firststeps_full.xml261 @xsltproc \ 262 $(DIRSRC)/saxo_tracwiki.xsl \ 263 $ (DIRTMP)/firststeps_full.xml| \273 $(DIRTMP)/firststeps_full.xml \ 274 $(DIRSRC)/saxo_tracwiki.xsl 275 @xsltproc \ 276 $(DIRSRC)/saxo_tracwiki.xsl \ 277 $< | \ 264 278 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 265 279 sed -e "s+@star@+*+" \ … … 279 293 --output $@ \ 280 294 $(DIRSRC)/saxo_html.xsl \ 281 $ (DIRTMP)/firststeps_full.xml295 $< 282 296 283 297 $(DIRWIKI)/AllPlots : \ 284 $(DIR SRC)/saxo_tracwiki.xsl \285 $(DIR TMP)/all_plots.xml286 @xsltproc \ 287 $(DIRSRC)/saxo_tracwiki.xsl \ 288 $ (DIRTMP)/all_plots.xml| \298 $(DIRTMP)/all_plots.xml \ 299 $(DIRSRC)/saxo_tracwiki.xsl 300 @xsltproc \ 301 $(DIRSRC)/saxo_tracwiki.xsl \ 302 $< | \ 289 303 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 290 304 sed -e "s+@star@+*+" \ … … 304 318 --output $@ \ 305 319 $(DIRSRC)/saxo_html.xsl \ 306 $ (DIRTMP)/all_plots.xml320 $< 307 321 308 322 309 323 $(DIRTMP)/all_plots.xml : \ 310 $(DIR SRC)/all_plots_docbook.xsl \311 $(DIR TMP)/firststeps_full.xml324 $(DIRTMP)/firststeps_full.xml \ 325 $(DIRSRC)/all_plots_docbook.xsl 312 326 @xsltproc \ 313 327 --output $@ \ 314 328 $(DIRSRC)/all_plots_docbook.xsl \ 315 $(DIRTMP)/firststeps_full.xml 329 $< 330 331 $(DIRTMP)/firststeps_sed.xml : \ 332 $(DIRSRC)/firststeps_pre.sh \ 333 $(DIRSRC)/firststeps.xml 334 @$(DIRSRC)/firststeps_pre.sh 316 335 317 336 $(DIRTMP)/firststeps_full.xml : \ 318 $(DIRSRC)/firststeps.xml \ 319 $(DIRSRC)/firststeps_pre.sh 320 @$(DIRSRC)/firststeps_pre.sh 321 @xmllint \ 322 --xinclude \ 323 --encode utf-8 \ 324 --noent \ 325 --output $@ \ 326 $(DIRTMP)/firststeps_sed.xml 337 $(DIRTMP)/firststeps_sed.xml 338 @xmllint \ 339 --xinclude \ 340 --encode utf-8 \ 341 --noent \ 342 --output $@ \ 343 $< 327 344 328 345 $(DIRWIKI)/Mailing : \ 329 $(DIR SRC)/saxo_tracwiki.xsl \330 $(DIR TMP)/mailing_full.xml331 @xsltproc \ 332 $(DIRSRC)/saxo_tracwiki.xsl \ 333 $ (DIRTMP)/mailing_full.xml| \346 $(DIRTMP)/mailing_full.xml \ 347 $(DIRSRC)/saxo_tracwiki.xsl 348 @xsltproc \ 349 $(DIRSRC)/saxo_tracwiki.xsl \ 350 $< | \ 334 351 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 335 352 sed -e "s+@star@+*+" \ … … 349 366 --output $@ \ 350 367 $(DIRSRC)/saxo_html.xsl \ 351 $ (DIRTMP)/mailing_full.xml368 $< 352 369 353 370 $(DIRTMP)/mailing_full.xml : \ … … 358 375 --noent \ 359 376 --output $@ \ 360 $ (DIRSRC)/mailing.xml377 $< 361 378 362 379 $(DIRWIKI)/MiniNotice : \ 363 $(DIR SRC)/saxo_tracwiki.xsl \364 $(DIR TMP)/mini_notice_full.xml365 @xsltproc \ 366 $(DIRSRC)/saxo_tracwiki.xsl \ 367 $ (DIRTMP)/mini_notice_full.xml| \380 $(DIRTMP)/mini_notice_full.xml \ 381 $(DIRSRC)/saxo_tracwiki.xsl 382 @xsltproc \ 383 $(DIRSRC)/saxo_tracwiki.xsl \ 384 $< | \ 368 385 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 369 386 sed -e "s+@star@+*+" \ … … 385 402 --output $@ \ 386 403 $(DIRSRC)/saxo_html.xsl \ 387 $ (DIRTMP)/mini_notice_full.xml404 $< 388 405 389 406 $(DIRTMP)/mini_notice_full.xml : \ … … 394 411 --noent \ 395 412 --output $@ \ 396 $ (DIRSRC)/mini_notice.xml413 $< 397 414 398 415 $(DIRWIKI)/TipLink : \ 399 $(DIR SRC)/saxo_tracwiki.xsl \400 $(DIR TMP)/tiplink_full.xml401 @xsltproc \ 402 $(DIRSRC)/saxo_tracwiki.xsl \ 403 $ (DIRTMP)/tiplink_full.xml| \416 $(DIRTMP)/tiplink_full.xml \ 417 $(DIRSRC)/saxo_tracwiki.xsl 418 @xsltproc \ 419 $(DIRSRC)/saxo_tracwiki.xsl \ 420 $< | \ 404 421 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 405 422 sed -e "s+@star@+*+" \ … … 419 436 --output $@ \ 420 437 $(DIRSRC)/saxo_html.xsl \ 421 $ (DIRTMP)/tiplink_full.xml438 $< 422 439 423 440 $(DIRTMP)/tiplink_full.xml : \ … … 428 445 --noent \ 429 446 --output $@ \ 430 $ (DIRSRC)/tiplink.xml447 $< 431 448 432 449 $(DIRWIKI)/InfoUpdateCm : \ 433 $(DIR SRC)/saxo_tracwiki.xsl \434 $(DIR TMP)/infoupdatecm_full.xml435 @xsltproc \ 436 $(DIRSRC)/saxo_tracwiki.xsl \ 437 $ (DIRTMP)/infoupdatecm_full.xml| \450 $(DIRTMP)/infoupdatecm_full.xml \ 451 $(DIRSRC)/saxo_tracwiki.xsl 452 @xsltproc \ 453 $(DIRSRC)/saxo_tracwiki.xsl \ 454 $< | \ 438 455 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 439 456 sed -e "s+@star@+*+" \ … … 453 470 --output $@ \ 454 471 $(DIRSRC)/saxo_html.xsl \ 455 $ (DIRTMP)/infoupdatecm_full.xml472 $< 456 473 457 474 $(DIRTMP)/infoupdatecm_full.xml : \ … … 463 480 --noent \ 464 481 --output $@ \ 465 $ (DIRSRC)/infoupdatecm.xml482 $< 466 483 467 484 $(DIRWIKI)/InfoUpdateKwd : \ 468 $(DIR SRC)/saxo_tracwiki.xsl \469 $(DIR TMP)/infoupdatekwd_full.xml470 @xsltproc \ 471 $(DIRSRC)/saxo_tracwiki.xsl \ 472 $ (DIRTMP)/infoupdatekwd_full.xml| \485 $(DIRTMP)/infoupdatekwd_full.xml \ 486 $(DIRSRC)/saxo_tracwiki.xsl 487 @xsltproc \ 488 $(DIRSRC)/saxo_tracwiki.xsl \ 489 $< | \ 473 490 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 474 491 sed -e "s+@star@+*+" \ … … 488 505 --output $@ \ 489 506 $(DIRSRC)/saxo_html.xsl \ 490 $ (DIRTMP)/infoupdatekwd_full.xml507 $< 491 508 492 509 $(DIRTMP)/infoupdatekwd_full.xml : \ … … 498 515 --noent \ 499 516 --output $@ \ 500 $ (DIRTMP)/infoupdatekwd.xml517 $< 501 518 502 519 $(DIRTMP)/rowscm.xml : \ 503 520 ../../ForOldVersion/updateold.pro 504 521 @echo "<tbody>" > $@ 505 @grep "IF NOT key_forgetold AND n_elements(\(.* = .*\)" ../../ForOldVersion/updateold.pro| \522 @grep "IF NOT key_forgetold AND n_elements(\(.* = .*\)" $< | \ 506 523 sort | \ 507 524 sed -e "s/\(^.* THEN \)\(.*\)\( = \)\(.*\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@ … … 511 528 ../../ForOldVersion/updatekwd.pro 512 529 @echo "<tbody>" > $@ 513 @grep "^ old = \[old, .* new = \[new" ../../ForOldVersion/updatekwd.pro| \530 @grep "^ old = \[old, .* new = \[new" $< | \ 514 531 sort | \ 515 532 sed -e "s/\( old = \[old, '\)\(.*\)\('\] *& new = \[new, '\)\(.*\)\('\]\)/<row><entry colname='old'><varname>\2<\/varname><\/entry> <entry colname='new'><varname>\4<\/varname><\/entry><\/row>/" >> $@ … … 518 535 519 536 $(DIRWIKI)/WhatisSaxo : \ 520 $(DIR SRC)/saxo_tracwiki.xsl \521 $(DIR TMP)/whatissaxo_full.xml522 @xsltproc \ 523 $(DIRSRC)/saxo_tracwiki.xsl \ 524 $ (DIRTMP)/whatissaxo_full.xml| \537 $(DIRTMP)/whatissaxo_full.xml \ 538 $(DIRSRC)/saxo_tracwiki.xsl 539 @xsltproc \ 540 $(DIRSRC)/saxo_tracwiki.xsl \ 541 $< | \ 525 542 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 526 543 sed -e "s+@star@+*+" \ … … 540 557 --output $@ \ 541 558 $(DIRSRC)/saxo_html.xsl \ 542 $ (DIRTMP)/whatissaxo_full.xml559 $< 543 560 544 561 $(DIRTMP)/whatissaxo_full.xml : \ … … 549 566 --noent \ 550 567 --output $@ \ 551 $ (DIRSRC)/whatissaxo.xml568 $< 552 569 553 570 $(DIRWIKI)/WhatsNew : \ 554 $(DIR SRC)/saxo_tracwiki.xsl \555 $(DIR TMP)/whatsnew_full.xml556 @xsltproc \ 557 $(DIRSRC)/saxo_tracwiki.xsl \ 558 $ (DIRTMP)/whatsnew_full.xml| \571 $(DIRTMP)/whatsnew_full.xml \ 572 $(DIRSRC)/saxo_tracwiki.xsl 573 @xsltproc \ 574 $(DIRSRC)/saxo_tracwiki.xsl \ 575 $< | \ 559 576 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 560 577 sed -e "s+@star@+*+" \ … … 574 591 --output $@ \ 575 592 $(DIRSRC)/saxo_html.xsl \ 576 $ (DIRTMP)/whatsnew_full.xml593 $< 577 594 578 595 $(DIRTMP)/whatsnew_full.xml : \ … … 583 600 --noent \ 584 601 --output $@ \ 585 $ (DIRSRC)/whatsnew.xml602 $< 586 603 587 604 $(DIRWIKI)/UpdateSaxo : \ 588 $(DIR SRC)/saxo_tracwiki.xsl \589 $(DIR TMP)/updatesaxo_full.xml590 @xsltproc \ 591 $(DIRSRC)/saxo_tracwiki.xsl \ 592 $ (DIRTMP)/updatesaxo_full.xml| \605 $(DIRTMP)/updatesaxo_full.xml \ 606 $(DIRSRC)/saxo_tracwiki.xsl 607 @xsltproc \ 608 $(DIRSRC)/saxo_tracwiki.xsl \ 609 $< | \ 593 610 awk 'sub(/ @star@ $$/,""){printf(" * %s", $$0);next};1' | \ 594 611 sed -e "s+@star@+*+" \ … … 608 625 --output $@ \ 609 626 $(DIRSRC)/saxo_html.xsl \ 610 $ (DIRTMP)/updatesaxo_full.xml627 $< 611 628 612 629 $(DIRTMP)/updatesaxo_full.xml : \ … … 617 634 --noent \ 618 635 --output $@ \ 619 $ (DIRSRC)/updatesaxo.xml636 $< 620 637 621 638 $(DIRTMP)/titlepage.saxo.xsl : \ … … 624 641 --output $@ \ 625 642 http://docbook.sourceforge.net/release/xsl/current/template/titlepage.xsl \ 626 $(DIRSRC)/titlepage.saxo.xml \ 627 $(DIRSRC)/titlepage.saxo.xml 643 $<
Note: See TracChangeset
for help on using the changeset viewer.