PageRenderTime 47ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

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

https://bitbucket.org/lmnd/gx86-cropped
Patch | 44 lines | 38 code | 6 blank | 0 comment | 0 complexity | fcb5735486a3cfe41f8c0df648e21310 MD5 | raw file
Possible License(s): LGPL-2.1, LGPL-2.0, GPL-3.0, GPL-2.0, LGPL-3.0, MIT, AGPL-3.0, CC-BY-SA-4.0, Apache-2.0, AGPL-1.0, Unlicense, BitTorrent-1.0, BSD-3-Clause, MPL-2.0-no-copyleft-exception, CC-BY-SA-3.0
  1. --- root/Makefile.orig 2012-05-23 21:07:07.000000000 +0400
  2. +++ root/Makefile 2012-05-23 22:47:48.935680301 +0400
  3. @@ -1039,8 +1039,7 @@
  4. releasenotes:
  5. @$(MAKERELNOTES)
  6. -html: $(ROOTEXE) changelog releasenotes
  7. - @$(MAKELOGHTML)
  8. +html: compiledata releasenotes
  9. @$(MAKEHTML)
  10. # Use DESTDIR to set a sandbox prior to calling "make install", e.g.:
  11. --- root/build/unix/makehtml.sh.orig 2012-06-18 06:44:59.000000000 +0400
  12. +++ root/build/unix/makehtml.sh 2012-06-18 19:39:41.262064654 +0400
  13. @@ -1,17 +1,17 @@
  14. #! /bin/sh
  15. -ROOT=bin/root.exe
  16. +ROOT=root.exe
  17. dir=`pwd`
  18. cd tutorials
  19. # we need tutorials/hsimple.root
  20. if [ ! -f hsimple.root ]; then
  21. - $ROOT -l -b -q hsimple.C
  22. + $ROOT -l -b -q hsimple.C && exit 1
  23. fi
  24. cd tree
  25. # we need tutorials/tree/cernstaff.root
  26. if [ ! -f cernstaff.root ]; then
  27. - $ROOT -l -b -q cernbuild.C
  28. + $ROOT -l -b -q cernbuild.C || exit 1
  29. fi
  30. cd $dir
  31. @@ -19,7 +19,7 @@
  32. echo "Generating doc in directory htmldoc/..."
  33. echo ""
  34. -$ROOT -l <<makedoc
  35. +$ROOT -l <<makedoc || exit 1
  36. THtml h;
  37. h.LoadAllLibs();
  38. h.MakeAll();