mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
If $(srcdir) isn't ., create links to all predefined as-*.texinfo files that
are found in $(srcdir).
This commit is contained in:
@ -34,4 +34,18 @@ srcname="gas doc"
|
||||
|
||||
# per-target:
|
||||
|
||||
# Make this link, so the Makefile's as-${CONFIG} references can all work,
|
||||
# while we only keep as-all.texinfo in the source tree.
|
||||
|
||||
cfgs="all a29k a29k-coff gen h8 z8000 i80386 m680x0 sparc vax vintage"
|
||||
files=""
|
||||
if [ $srcdir != "." ] && [ `cd $srcdir ; pwd` != `pwd` ]; then
|
||||
for cfg in $cfgs ; do
|
||||
if [ -r $srcdir/as-$cfg.texinfo ]; then
|
||||
files="$files as-$cfg.texinfo"
|
||||
fi
|
||||
done
|
||||
fi
|
||||
links="$files"
|
||||
|
||||
# end of gas/doc/configure.in
|
||||
|
Reference in New Issue
Block a user