PageRenderTime 43ms CodeModel.GetById 9ms RepoModel.GetById 1ms app.codeStats 0ms

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

http://github.com/funtoo/portage
Patch | 52 lines | 46 code | 6 blank | 0 comment | 0 complexity | 737489417ff6cf6d049bf81f427ef502 MD5 | raw file
Possible License(s): Apache-2.0, AGPL-1.0, LGPL-2.1, MIT, CC-BY-SA-3.0, LGPL-2.0, Unlicense, AGPL-3.0, CC0-1.0, BSD-3-Clause, GPL-2.0, LGPL-3.0, MPL-2.0-no-copyleft-exception, GPL-3.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: compiledata 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-06-18 06:44:59.000000000 +0400
  20. +++ root/build/unix/makehtml.sh 2012-06-18 19:39:41.262064654 +0400
  21. @@ -1,17 +1,17 @@
  22. #! /bin/sh
  23. -ROOT=bin/root.exe
  24. +ROOT=root.exe
  25. dir=`pwd`
  26. cd tutorials
  27. # we need tutorials/hsimple.root
  28. if [ ! -f hsimple.root ]; then
  29. - $ROOT -l -b -q hsimple.C
  30. + $ROOT -l -b -q hsimple.C && exit 1
  31. fi
  32. cd tree
  33. # we need tutorials/tree/cernstaff.root
  34. if [ ! -f cernstaff.root ]; then
  35. - $ROOT -l -b -q cernbuild.C
  36. + $ROOT -l -b -q cernbuild.C || exit 1
  37. fi
  38. cd $dir
  39. @@ -19,7 +19,7 @@
  40. echo "Generating doc in directory htmldoc/..."
  41. echo ""
  42. -$ROOT -l <<makedoc
  43. +$ROOT -l <<makedoc || exit 1
  44. THtml h;
  45. h.LoadAllLibs();
  46. h.MakeAll();