# HG changeset patch # User Rik # Date 1295934084 28800 # Node ID 22c99c8cfcb695b9c2f94f4ae1b296787da9668e # Parent e0e50f48df371f6bdcec965f8f8e5a8bf430315c Add Makefile rules to auto-generate AUTHORS file from contributors.texi diff -r e0e50f48df37 -r 22c99c8cfcb6 AUTHORS diff -r e0e50f48df37 -r 22c99c8cfcb6 ChangeLog --- a/ChangeLog Mon Jan 24 14:57:07 2011 -0500 +++ b/ChangeLog Mon Jan 24 21:41:24 2011 -0800 @@ -1,3 +1,8 @@ +2010-01-24 Rik + + * AUTHORS: Remove. File now auto-generated from contributors.texi. + * Makefile.am: Add rule for AUTHORS file. + 2011-01-24 John W. Eaton * NEWS: Note change in audio/mu2lin. diff -r e0e50f48df37 -r 22c99c8cfcb6 Makefile.am --- a/Makefile.am Mon Jan 24 14:57:07 2011 -0500 +++ b/Makefile.am Mon Jan 24 21:41:24 2011 -0800 @@ -26,7 +26,7 @@ ACLOCAL_AMFLAGS = -I m4 -BUILT_DISTFILES = BUGS INSTALL.OCTAVE +BUILT_DISTFILES = AUTHORS BUGS INSTALL.OCTAVE EXTRA_DIST = \ BUGS \ @@ -101,8 +101,9 @@ noinst_SCRIPTS = run-octave INFO_FILES = \ - INSTALL.OCTAVE \ - BUGS + AUTHORS \ + BUGS \ + INSTALL.OCTAVE CLEANFILES = $(bin_PROGRAMS) $(bin_SCRIPTS) $(BUILT_SOURCES) @@ -148,9 +149,9 @@ cp $< $@; \ fi -BUGS INSTALL.OCTAVE: +AUTHORS BUGS INSTALL.OCTAVE: $(MAKE) -C doc ../$@ -.PHONY: BUGS INSTALL.OCTAVE +.PHONY: AUTHORS BUGS INSTALL.OCTAVE octetc_DATA = NEWS diff -r e0e50f48df37 -r 22c99c8cfcb6 doc/ChangeLog --- a/doc/ChangeLog Mon Jan 24 14:57:07 2011 -0500 +++ b/doc/ChangeLog Mon Jan 24 21:41:24 2011 -0800 @@ -1,3 +1,8 @@ +2011-01-24 Rik + + * Makefile.am, interpreter/Makefile.am: Add rule to build AUTHORS file. + * interpreter/preface.txi: Add @ifclear rule to build AUTHORS file. + 2011-01-23 Rik * interpreter/install.txi: Redo build instructions for release 3.4. diff -r e0e50f48df37 -r 22c99c8cfcb6 doc/Makefile.am --- a/doc/Makefile.am Mon Jan 24 14:57:07 2011 -0500 +++ b/doc/Makefile.am Mon Jan 24 21:41:24 2011 -0800 @@ -32,7 +32,7 @@ SUBDIRS = faq interpreter liboctave refcard -../BUGS ../INSTALL.OCTAVE: +../AUTHORS ../BUGS ../INSTALL.OCTAVE: $(MAKE) -C interpreter ../$@ -.PHONY: ../BUGS ../INSTALL.OCTAVE +.PHONY: ../AUTHORS ../BUGS ../INSTALL.OCTAVE diff -r e0e50f48df37 -r 22c99c8cfcb6 doc/interpreter/Makefile.am --- a/doc/interpreter/Makefile.am Mon Jan 24 14:57:07 2011 -0500 +++ b/doc/interpreter/Makefile.am Mon Jan 24 21:41:24 2011 -0800 @@ -209,6 +209,12 @@ --no-validate --no-headers --no-split --output BUGS $< mv BUGS ../../BUGS +../../AUTHORS: preface.texi contributors.texi + rm -f AUTHORS + -$(MAKEINFO) -D AUTHORSONLY \ + --no-validate --no-headers --no-split --output AUTHORS $< + mv AUTHORS ../../AUTHORS + undocumented_list: rm -f $@ -$(PERL) $(srcdir)/doccheck/mk_undocumented_list > $@ diff -r e0e50f48df37 -r 22c99c8cfcb6 doc/interpreter/preface.txi --- a/doc/interpreter/preface.txi Mon Jan 24 14:57:07 2011 -0500 +++ b/doc/interpreter/preface.txi Mon Jan 24 21:41:24 2011 -0800 @@ -16,6 +16,7 @@ @c along with Octave; see the file COPYING. If not, see @c . +@ifclear AUTHORSONLY @node Preface @unnumbered Preface @cindex contributors @@ -70,13 +71,15 @@ @node Acknowledgements @unnumberedsec Acknowledgements @cindex acknowledgements +@end ifclear -Many people have already contributed to Octave's development. The +Many people have contributed to Octave's development. The following people have helped code parts of Octave or aided in various other ways (listed alphabetically). @include contributors.texi +@ifclear AUTHORSONLY Special thanks to the following people and organizations for supporting the development of Octave: @@ -191,3 +194,4 @@ Octave can also be downloaded from @url{http://www.octave.org}, where additional information is available. +@end ifclear