forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
root-docs-5.32-makehtml.patch
44 lines (38 loc) · 1.05 KB
/
root-docs-5.32-makehtml.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
--- root/Makefile.orig 2012-05-23 21:07:07.000000000 +0400
+++ root/Makefile 2012-05-23 22:47:48.935680301 +0400
@@ -1039,8 +1039,7 @@
releasenotes:
@$(MAKERELNOTES)
-html: $(ROOTEXE) changelog releasenotes
- @$(MAKELOGHTML)
+html: compiledata releasenotes
@$(MAKEHTML)
# Use DESTDIR to set a sandbox prior to calling "make install", e.g.:
--- root/build/unix/makehtml.sh.orig 2012-06-18 06:44:59.000000000 +0400
+++ root/build/unix/makehtml.sh 2012-06-18 19:39:41.262064654 +0400
@@ -1,17 +1,17 @@
#! /bin/sh
-ROOT=bin/root.exe
+ROOT=root.exe
dir=`pwd`
cd tutorials
# we need tutorials/hsimple.root
if [ ! -f hsimple.root ]; then
- $ROOT -l -b -q hsimple.C
+ $ROOT -l -b -q hsimple.C && exit 1
fi
cd tree
# we need tutorials/tree/cernstaff.root
if [ ! -f cernstaff.root ]; then
- $ROOT -l -b -q cernbuild.C
+ $ROOT -l -b -q cernbuild.C || exit 1
fi
cd $dir
@@ -19,7 +19,7 @@
echo "Generating doc in directory htmldoc/..."
echo ""
-$ROOT -l <<makedoc
+$ROOT -l <<makedoc || exit 1
THtml h;
h.LoadAllLibs();
h.MakeAll();