Mercurial > hg > octave-avbm
changeset 14652:b9151573a230
build: Allow VPATH builds of AUTHORS file.
* interpreter/Makefile.am: Copy contributors.texi file from $srcdir to
current build directory if necessary.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Fri, 18 May 2012 11:56:35 -0700 |
parents | f19d29868346 |
children | af953acc055d |
files | doc/interpreter/Makefile.am |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/interpreter/Makefile.am +++ b/doc/interpreter/Makefile.am @@ -198,6 +198,10 @@ ../../AUTHORS: preface.texi contributors.texi rm -f AUTHORS + if [ "x$(srcdir)" != "x." ] && [ -f $(srcdir)/contributors.texi ] && [ ! -f contributors.texi ]; then \ + cp $(srcdir)/contributors.texi contributors.texi; \ + touch -r $(srcdir)/contributors.texi contributors.texi; \ + fi -$(MAKEINFO) -D AUTHORSONLY \ --no-validate --no-headers --no-split --output AUTHORS $< mv AUTHORS ../../AUTHORS