mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
move version.in from gdb/common back to gdb
This reverts part of the earlier version.in change. It moves version.in back to the gdb directory. This works around the CVS bug we've found. gdb * Makefile.in (version.c): Use version.in, not common/version.in. * common/create-version.sh: Likewise. * common/version.in: Move... * version.in: ...here. gdb/doc * Makefile.in (version.subst): Use version.in, not common/version.in. * gdbint.texinfo (Versions and Branches, Releasing GDB): Likewise. gdb/gdbserver * Makefile.in (version.c): Use version.in, not common/version.in. sim/common * Make-common.in (version.c): Use version.in, not common/version.in. * create-version.sh: Likewise. sim/ppc: * Make-common.in (version.c): Use version.in, not common/version.in.
This commit is contained in:
@ -26,7 +26,7 @@ output="$2"
|
||||
|
||||
rm -f version.c-tmp $output version.tmp
|
||||
date=`sed -n -e 's/^.* BFD_VERSION_DATE \(.*\)$/\1/p' $srcdir/../../bfd/version.h`
|
||||
sed -e "s/DATE/$date/" < $srcdir/../../gdb/common/version.in > version.tmp
|
||||
sed -e "s/DATE/$date/" < $srcdir/../../gdb/version.in > version.tmp
|
||||
echo '#include "version.h"' >> version.c-tmp
|
||||
echo 'const char version[] = "'"`sed q version.tmp`"'";' >> version.c-tmp
|
||||
mv version.c-tmp $output
|
||||
|
Reference in New Issue
Block a user