27 |
exit 0;; |
exit 0;; |
28 |
esac |
esac |
29 |
prog='autoreconf flex gperf perl bison' # required programs |
prog='autoreconf flex gperf perl bison' # required programs |
30 |
file='convert.pl configure.ac Makefile.am gctags/reserved.pl' # required files |
file='convert.pl configure.ac Makefile.am gtags-parser/reserved.pl' # required files |
31 |
|
|
32 |
echo "- File existent checking..." |
echo "- File existent checking..." |
33 |
for f in `echo $file`; do |
for f in `echo $file`; do |
63 |
# flex, bison and gperf. |
# flex, bison and gperf. |
64 |
# |
# |
65 |
echo "- Preparing parser source ..." |
echo "- Preparing parser source ..." |
66 |
(cd gctags; set -x |
(cd gtags-parser; set -x |
67 |
for lang in c cpp java php asm; do |
for lang in c cpp java php asm; do |
68 |
name=${lang}_res |
name=${lang}_res |
69 |
perl ./reserved.pl --prefix=$lang ${lang}_res.in > ${name}.gpf |
perl ./reserved.pl --prefix=$lang ${lang}_res.in > ${name}.gpf |
87 |
) |
) |
88 |
|
|
89 |
echo "- Collecting reference manuals ..." |
echo "- Collecting reference manuals ..." |
90 |
commands="global gtags htags gctags gozilla"; |
commands="global gtags htags gtags-parser gozilla"; |
91 |
perl ./convert.pl --menu $commands > doc/reference.txi |
perl ./convert.pl --menu $commands > doc/reference.txi |
92 |
for d in `echo $commands`; do |
for d in `echo $commands`; do |
93 |
perl ./convert.pl --info $d/manual.in > doc/$d.ref |
perl ./convert.pl --info $d/manual.in > doc/$d.ref |