makefile 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. CSCRIPT = $(SYSTEMROOT)/system32/cscript.exe
  2. CORCOMPARE=../../../mcs/tools/corcompare
  3. OBJECTS= \
  4. deploy/ado-net.html \
  5. deploy/anoncvs.html \
  6. deploy/asp-net.html \
  7. deploy/books.html \
  8. deploy/contributing.html \
  9. deploy/class-status.html \
  10. deploy/class-status-corlib.html \
  11. deploy/class-status-System.html \
  12. deploy/class-status-System.Xml.html \
  13. deploy/class-status-System.Drawing.html \
  14. deploy/class-status-System.Data.html \
  15. deploy/class-status-System.Web.html \
  16. deploy/class-library.html \
  17. deploy/classlib-doc.html \
  18. deploy/contact.html \
  19. deploy/c-sharp.html \
  20. deploy/ccvs.html \
  21. deploy/documentation.html \
  22. deploy/download.html \
  23. deploy/faq.html \
  24. deploy/gcc-frontend.html \
  25. deploy/index.html \
  26. deploy/ideas.html \
  27. deploy/java.html \
  28. deploy/jit-debug.html \
  29. deploy/jit-debug-sample.html \
  30. deploy/jit-debug-sample2.html \
  31. deploy/languages.html \
  32. deploy/mailing-lists.html \
  33. deploy/mono-contribution-howto.html \
  34. deploy/monodoc-xml.html \
  35. deploy/papers.html \
  36. deploy/passport.html \
  37. deploy/plans.html \
  38. deploy/porting.html \
  39. deploy/ppc.html \
  40. deploy/rationale.html \
  41. deploy/resources.html \
  42. deploy/roadmap.html \
  43. deploy/runtime.html \
  44. deploy/status.html \
  45. deploy/testing.html \
  46. deploy/tools.html \
  47. deploy/winforms.html
  48. # deploy/class-status-System.html \
  49. NON_HTML_SOURCES= \
  50. ../mono-build.sh \
  51. ../mono-build-w32.sh
  52. all: $(OBJECTS)
  53. perl process.pl commands template.html.in deploy
  54. clean:
  55. rm -f $(OBJECTS) $(patsubst deploy/%.html,src/%.src, $(OBJECTS)) src/*.xml src/*.html.in ../class-status-* ../class-status
  56. push:
  57. cp -f $(NON_HTML_SOURCES) deploy
  58. echo scp -P 2200 -r deploy/* [email protected]:/web/cvsmodules/mono
  59. (cd deploy; rsync --verbose --recursive --checksum --update --rsh='ssh -p 2200' . [email protected]:/web/cvsmodules/mono )
  60. push2:
  61. scp -r deploy/* primates:public_html/xxx
  62. $(OBJECTS): $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
  63. #.PRECIOUS: $(patsubst deploy/%.html,src/%.src, $(OBJECTS))
  64. .PRECIOUS: src/%.src
  65. src/%.src: ../% commands makefile template.html.in
  66. perl htmlify $< > $@
  67. .PRECIOUS: ../class-status-%
  68. ../class-status-%: src/%.html.in ../class-status.in
  69. cat ../class-status.in $< > $@
  70. .PRECIOUS: src/%.html.in
  71. src/%.html.in: src/%.xml $(CORCOMPARE)/transform.js $(CORCOMPARE)/cormissing.xsl
  72. $(CSCRIPT) /nologo $(CORCOMPARE)/transform.js $< $(CORCOMPARE)/cormissing.xsl > $@
  73. .PRECIOUS: src/%.xml
  74. src/%.xml: ../../../mcs/class/lib/%.dll $(CORCOMPARE)/CorCompare.exe
  75. $(CORCOMPARE)/CorCompare.exe -x $@ $<
  76. src/corlib.xml: ../../../mcs/class/lib/corlib_cmp.dll $(CORCOMPARE)/CorCompare.exe
  77. $(CORCOMPARE)/CorCompare.exe -f corlib -ms mscorlib -x $@ $<
  78. ../class-status: ../class-status.in
  79. cp -f $< $@