comparison make/make.sh @ 112:7da9bd82122c

Remove --long option, always do full documentation generation instead.
author Rob Landley <rob@landley.net>
date Mon, 02 May 2011 14:19:11 -0500
parents 01b77829d010
children
comparison
equal deleted inserted replaced
111:09c09067584c 112:7da9bd82122c
17 #fi 17 #fi
18 18
19 echo "Set up Linux build directory" 19 echo "Set up Linux build directory"
20 setuplinuxtemp || exit 1 20 setuplinuxtemp || exit 1
21 21
22 if [ "$1" == "--long" ]
23 then
24 # I have a dual processor laptop, so overlap work here. Have make htmldocs
25 # produce split-up versions in the background (which is very slow)
26 # while other work is done in the foreground.
27 make_htmldocs > /dev/null 2>/dev/null &
28 fi
29
30 echo "Install and index Documentation directory." 22 echo "Install and index Documentation directory."
31 update_documentation_dir || exit 1 23 update_documentation_dir || exit 1
32 24
33 echo "Update master index." 25 #echo "Update master index."
34 #update_master || exit 1 26 #update_master || exit 1
35 27
36 echo "Mirror resources" 28 echo "Mirror resources"
37 mirror_files || exit 1 29 mirror_files || exit 1
38 30
40 find_readmes || exit 1 32 find_readmes || exit 1
41 33
42 echo Convert kconfig to html for all architectures 34 echo Convert kconfig to html for all architectures
43 htmlize_menuconfig || exit 1 35 htmlize_menuconfig || exit 1
44 36
37 echo Make htmldocs
38 make_htmldocs
39
40 echo Build nochunks htmldocs.
41 make_htmlnochunks || exit 1
42
43 echo Search for references to RFC documents
44 findrfc || exit 1
45
45 # Install the htmldocs 46 # Install the htmldocs
46 if [ "$1" == "--long" ] 47 install_htmldocs || exit 1
47 then
48 echo Build nochunks htmldocs.
49 make_htmlnochunks || exit 1
50
51 echo Search for references to RFC documents
52 findrfc || exit 1
53
54 # Wait for background task(s) to finish. If there aren't any, this continues
55 # immediately.
56 wait4background
57
58 # Install the htmldocs
59 install_htmldocs || exit 1
60 fi
61 48
62 echo "Done with kdocs" 49 echo "Done with kdocs"