Makefile.l2h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. #
  2. #
  3. # Create HTML using Latex2HTML
  4. #
  5. #
  6. user.chk: $(INCLUDES) messages.inc
  7. cp -f preamble.l2h preamble.inc
  8. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\
  9. -t "User's guide for Free Pascal" user.htex
  10. -sed -f foot.sed <user/footnode.html >user/footnote.html
  11. -mv user/footnote.html user/footnode.html
  12. ifndef DEBUG
  13. -rm -f user/labels.pl user/internals.pl user/.*.pag user/.*.dir
  14. -rm -f user/images.* user/*.log user/WARNINGS
  15. endif
  16. touch user.chk
  17. units.chk: unitex.chk $(INCLUDES)
  18. cp -f preamble.l2h preamble.inc
  19. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 3 -link 2\
  20. -t "Unit reference for Free Pascal" units.htex
  21. -sed -f foot.sed <units/footnode.html >units/footnote.html
  22. -mv units/footnote.html units/footnode.html
  23. ifndef DEBUG
  24. -rm -f units/labels.pl units/internals.pl units/.*.pag units/.*.dir
  25. -rm -f units/images.* units/*.log units/WARNINGS
  26. endif
  27. touch units.chk
  28. ref.chk: refex.chk $(INCLUDES)
  29. cp -f preamble.l2h preamble.inc
  30. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 4 -link 2\
  31. -t "Free Pascal reference guide" ref.htex
  32. -sed -f foot.sed <ref/footnode.html >ref/footnote.html
  33. -mv ref/footnote.html ref/footnode.html
  34. ifndef DEBUG
  35. -rm -f ref/labels.pl ref/internals.pl ref/.*.pag ref/.*.dir
  36. -rm -f ref/images.* ref/*.log ref/WARNINGS
  37. endif
  38. touch ref.chk
  39. prog.chk: progex.chk $(INCLUDES)
  40. cp -f preamble.l2h preamble.inc
  41. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\
  42. -t "Free Pascal programmers guide" prog.htex
  43. -sed -f foot.sed <prog/footnode.html >prog/footnote.html
  44. -mv prog/footnote.html prog/footnode.html
  45. ifndef DEBUG
  46. -rm -f prog/labels.pl prog/internals.pl prog/.*.pag prog/.*.dir
  47. -rm -f prog/images.* prog/*.log prog/WARNINGS
  48. endif
  49. touch prog.chk
  50. internal: internal.chk
  51. internal.chk: htex.chk
  52. cp -f preamble.l2h preamble.inc
  53. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 4 -link 2\
  54. -t "Free Pascal Compiler Documentation" internal.htex
  55. -sed -f foot.sed <internal/footnode.html >internal/footnote.html
  56. -mv internal/footnote.html internal/footnode.html
  57. ifndef DEBUG
  58. -rm -f internal/labels.pl internal/internals.pl internal/.*.pag internal/.*.dir
  59. -rm -f internal/images.* internal/*.log internal/WARNINGS
  60. endif
  61. touch internal.chk
  62. onechap.chk: unitex.chk $(INCLUDES)
  63. cp -f preamble.l2h preamble.inc
  64. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 4 -link 2\
  65. -t "Free Pascal reference guide" onechap.htex
  66. -sed -f foot.sed <onechap/footnode.html >onechap/footnote.html
  67. -mv onechap/footnote.html onechap/footnode.html
  68. ifndef DEBUG
  69. -rm -f onechap/labels.pl onechap/internals.pl onechap/.*.pag onechap/.*.dir
  70. -rm -f onechap/images.* onechap/*.log onechap/WARNINGS
  71. endif
  72. touch onechap.chk
  73. fpdoc.chk: $(INCLUDES)
  74. cp -f preamble.l2h preamble.inc
  75. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\
  76. -t "Free Pascal documentation tool manual" fpdoc.htex
  77. -sed -f foot.sed <fpdoc/footnode.html >fpdoc/footnote.html
  78. -mv fpdoc/footnote.html fpdoc/footnode.html
  79. ifndef DEBUG
  80. -rm -f fpdoc/labels.pl fpdoc/internals.pl fpdoc/.*.pag fpdoc/.*.dir
  81. -rm -f fpdoc/images.* fpdoc/*.log fpdoc/WARNINGS
  82. endif
  83. touch fpdoc.chk
  84. chart.chk: $(INCLUDES)
  85. cp -f preamble.l2h preamble.inc
  86. $(LATEX2HTML) $(LATEX2HTMLOPTS) -split 2 -link 2\
  87. -t "Free Pascal documentation tool manual" chart.htex
  88. -sed -f foot.sed <chart/footnode.html >chart/footnote.html
  89. -mv chart/footnote.html chart/footnode.html
  90. ifndef DEBUG
  91. -rm -f chart/labels.pl chart/internals.pl chart/.*.pag chart/.*.dir
  92. -rm -f chart/images.* chart/*.log chart/WARNINGS
  93. endif
  94. touch chart.chk