64 |
# |
# |
65 |
echo "- Preparing parser source ..." |
echo "- Preparing parser source ..." |
66 |
(cd gctags; set -x |
(cd gctags; set -x |
|
perl ./reserved.pl --prefix=sharp --perl c_res.in >htags_res.pl |
|
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 |
|
perl ./reserved.pl --prefix=$lang --perl ${name}.in >>htags_res.pl |
|
69 |
perl ./reserved.pl --prefix=$lang ${lang}_res.in > ${name}.gpf |
perl ./reserved.pl --prefix=$lang ${lang}_res.in > ${name}.gpf |
70 |
option=`perl ./reserved.pl --prefix=$lang --option` |
option=`perl ./reserved.pl --prefix=$lang --option` |
71 |
gperf $option < ${name}.gpf > ${name}.h |
gperf $option < ${name}.gpf > ${name}.h |
94 |
echo "+ doc/$d.ref" |
echo "+ doc/$d.ref" |
95 |
perl ./convert.pl --man $d/manual.in > $d/$d.1 |
perl ./convert.pl --man $d/manual.in > $d/$d.1 |
96 |
echo "+ $d/$d.1" |
echo "+ $d/$d.1" |
|
if [ $d = 'htags' ]; then |
|
|
perl ./convert.pl --perl $d/manual.in > $d/const.pl |
|
|
echo "+ $d/const.pl" |
|
|
fi |
|
97 |
perl ./convert.pl --c $d/manual.in > $d/const.h |
perl ./convert.pl --c $d/manual.in > $d/const.h |
98 |
echo "+ $d/const.h" |
echo "+ $d/const.h" |
99 |
done |
done |