summaryrefslogtreecommitdiff
path: root/ld/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'ld/Makefile.am')
-rw-r--r--ld/Makefile.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/ld/Makefile.am b/ld/Makefile.am
index c4e4b50159..fec799dfb5 100644
--- a/ld/Makefile.am
+++ b/ld/Makefile.am
@@ -1635,7 +1635,8 @@ configdoc.texi: ${DOCVER}-doc.texi
ldver.texi: $(srcdir)/../bfd/configure
rm -f $@
- eval `grep '^ *VERSION=' $<`; echo "@set VERSION $$VERSION" > $@
+ eval `grep '^ *VERSION=' $(srcdir)/../bfd/configure`; \
+ echo "@set VERSION $$VERSION" > $@
$(srcdir)/ld.info: $(srcdir)/ld.texinfo configdoc.texi ldver.texi
ld.dvi: $(srcdir)/ld.texinfo configdoc.texi ldver.texi