Skip to content

Commit

Permalink
Correct builddocs for new source location
Browse files Browse the repository at this point in the history
  • Loading branch information
dsberry committed Jan 22, 2020
1 parent 8253606 commit a2d773e
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions builddocs.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh -

srcdir=.
here=.
perldir=`dirname @PERL@`
if test -z "$SST_DIR"; then
if test -x starconf.status; then
Expand All @@ -22,9 +22,10 @@ if test -z "$SST_DIR"; then
export SST_DIR
echo "SST_DIR set to $SST_DIR"
fi
PATH="${srcdir}:${perldir}:${PATH}"
PATH="${here}:${perldir}:${PATH}"
export PATH

srcdir="${here}/src"
goodsource="${srcdir}/axis.c \
${srcdir}/box.c \
${srcdir}/channel.c \
Expand Down Expand Up @@ -95,15 +96,15 @@ goodsource="${srcdir}/axis.c \
${srcdir}/zoommap.c"

goodsource="${goodsource} \
${srcdir}/ast_link \
${srcdir}/ast_link_adam"
${here}/ast_link \
${here}/ast_link_adam"

#chmod +x ${srcdir}/addcopyright
#chmod +x ${srcdir}/addlinks
#chmod +x ${srcdir}/addversion
#chmod +x ${srcdir}/doincludes
#chmod +x ${srcdir}/getatt
#chmod +x ${srcdir}/selectfc
#chmod +x ${here}/addcopyright
#chmod +x ${here}/addlinks
#chmod +x ${here}/addversion
#chmod +x ${here}/doincludes
#chmod +x ${here}/getatt
#chmod +x ${here}/selectfc

rm -f .sst.tmp

Expand All @@ -120,7 +121,7 @@ rm -f .sst.tmp
getatt ${goodsource} >c_routines.tex
cat getatt.labels >>global_c.labels; rm -f getatt.labels

getatt memory.c > memory_routines.tex
getatt ${srcdir}/memory.c > memory_routines.tex
cat getatt.labels >>global_c.labels; rm -f getatt.labels

getatt -u -f ${goodsource} >f_commands.tex
Expand All @@ -129,10 +130,10 @@ rm -f .sst.tmp
cat getatt.labels >>global_c.labels; rm -f getatt.labels

ln -f global_f.labels global.labels
doincludes ${srcdir}/sun_master.tex \
doincludes ${here}/sun_master.tex \
| selectfc -f | addlinks | addcopyright | addversion >sun210.tex
ln -f global_c.labels global.labels
doincludes ${srcdir}/sun_master.tex \
doincludes ${here}/sun_master.tex \
| selectfc | addlinks | addcopyright | addversion >sun211.tex

rm -f global.labels global_f.labels global_c.labels
Expand Down

0 comments on commit a2d773e

Please sign in to comment.