PageRenderTime 48ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/app-doc/root-docs/files/root-docs-5.34.01-makehtml.patch

https://bitbucket.org/YueRen/lmnd-prefix
Patch | 51 lines | 47 code | 4 blank | 0 comment | 0 complexity | 93c7f1bb312a360df4eaf2c8a67b6eb6 MD5 | raw file
Possible License(s): AGPL-1.0, GPL-2.0, MIT, LGPL-2.0, GPL-3.0, AGPL-3.0, MPL-2.0-no-copyleft-exception, Unlicense, LGPL-3.0, CC0-1.0, Apache-2.0, BSD-3-Clause, LGPL-2.1, CC-BY-SA-3.0
  1. --- root/Makefile.orig 2012-07-13 13:42:46.000000000 +0400
  2. +++ root/Makefile 2012-07-22 00:15:03.282994389 +0400
  3. @@ -1087,16 +1087,7 @@
  4. ifeq ($(BUILDX11),yes)
  5. ifeq ($(BUILDASIMAGE),yes)
  6. -html: rootexecs postbin 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: compiledata releasenotes
  17. @$(MAKEHTML)
  18. else
  19. html:
  20. --- root/build/unix/makehtml.sh.orig 2012-06-28 11:33:36.000000000 +0400
  21. +++ root/build/unix/makehtml.sh 2012-07-22 00:18:58.705804436 +0400
  22. @@ -1,16 +1,16 @@
  23. #! /bin/sh
  24. dir=`pwd`
  25. -ROOT=$dir/bin/root
  26. +ROOT=root
  27. cd tutorials
  28. # we need tutorials/hsimple.root
  29. if [ ! -f hsimple.root ]; then
  30. - $ROOT -l -b -q hsimple.C
  31. + $ROOT -l -b -q hsimple.C && exit 1
  32. fi
  33. cd tree
  34. # we need tutorials/tree/cernstaff.root
  35. if [ ! -f cernstaff.root ]; then
  36. - $ROOT -l -b -q cernbuild.C
  37. + $ROOT -l -b -q cernbuild.C || exit 1
  38. fi
  39. cd $dir
  40. @@ -20,7 +20,7 @@
  41. # To generate the full documentation, we do need to
  42. # use the graphics engine, so do not use '-b'.
  43. -$ROOT -l <<makedoc
  44. +$ROOT -l <<makedoc || exit 1
  45. THtml h;
  46. h.LoadAllLibs();
  47. h.MakeAll();