PageRenderTime 60ms CodeModel.GetById 35ms RepoModel.GetById 1ms app.codeStats 0ms

/sci-physics/root/files/root-5.34-htmldoc.patch

https://bitbucket.org/burcin/lmnd-prefix-wip
Patch | 58 lines | 54 code | 4 blank | 0 comment | 0 complexity | a1b7fef36054060fefe09c7c93104798 MD5 | raw file
Possible License(s): LGPL-2.0, GPL-3.0, Apache-2.0, BSD-3-Clause, AGPL-1.0, GPL-2.0, MIT, MPL-2.0-no-copyleft-exception, LGPL-2.1, LGPL-3.0, AGPL-3.0, Unlicense, CC0-1.0
  1. --- root/Makefile.orig 2012-05-30 00:50:46.000000000 +0400
  2. +++ root/Makefile 2012-05-30 00:51:05.839679686 +0400
  3. @@ -1088,16 +1088,7 @@
  4. releasenotes:
  5. @$(MAKERELNOTES)
  6. -html: $(ROOTEXE) changelog releasenotes
  7. -ifneq ($(USECONFIG),FALSE)
  8. - @if [ "x`which root.exe`" != "x$(DESTDIR)$(BINDIR)/root.exe" ] \
  9. - || [ "`which root.exe`" -ot "bin/root.exe" ]; then \
  10. - echo 'ERROR: root.exe has not been installed by this build.'; \
  11. - echo ' Run "make install" before running "make html".'; \
  12. - exit 1; \
  13. - fi
  14. -endif
  15. - @$(MAKELOGHTML)
  16. +html: $(ROOTEXE) releasenotes
  17. @$(MAKEHTML)
  18. # Use DESTDIR to set a sandbox prior to calling "make install", e.g.:
  19. --- root/build/unix/makehtml.sh.orig 2012-05-23 23:25:45.000000000 +0400
  20. +++ root/build/unix/makehtml.sh 2012-05-24 13:04:43.919062126 +0400
  21. @@ -6,12 +6,12 @@
  22. cd tutorials
  23. # we need tutorials/hsimple.root
  24. if [ ! -f hsimple.root ]; then
  25. - $ROOT -l -b -q hsimple.C
  26. + ../$ROOT -l -b -q hsimple.C && exit 1
  27. fi
  28. cd tree
  29. # we need tutorials/tree/cernstaff.root
  30. if [ ! -f cernstaff.root ]; then
  31. - $ROOT -l -b -q cernbuild.C
  32. + ../../$ROOT -l -b -q cernbuild.C || exit 1
  33. fi
  34. cd $dir
  35. @@ -19,7 +19,7 @@
  36. echo "Generating doc in directory htmldoc/..."
  37. echo ""
  38. -$ROOT -l <<makedoc
  39. +$ROOT -l <<makedoc || exit 1
  40. THtml h;
  41. h.LoadAllLibs();
  42. h.MakeAll();
  43. --- root/html/src/THtml.cxx.orig 2012-05-25 16:18:10.000000000 +0400
  44. +++ root/html/src/THtml.cxx 2012-05-29 19:22:40.810563296 +0400
  45. @@ -1913,6 +1913,9 @@
  46. void THtml::CreateStyleSheet() const {
  47. // Write the default ROOT style sheet.
  48. CopyFileFromEtcDir("ROOT.css");
  49. + CopyFileFromEtcDir("info.png");
  50. + CopyFileFromEtcDir("root-banner.png");
  51. + CopyFileFromEtcDir("rootdrawing-logo.png");
  52. CopyFileFromEtcDir("shadowAlpha.png");
  53. CopyFileFromEtcDir("shadow.gif");
  54. }