Mercurial > hg > octave-lyh
changeset 9963:0055d0b8a4bb
Replace distdir-local rule with dist-hook rule which is better supported
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Thu, 10 Dec 2009 14:41:27 -0800 |
parents | 9bd50882cd1c |
children | b7bc27413655 |
files | doc/ChangeLog doc/interpreter/Makefile.am |
diffstat | 2 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,8 @@ +2009-12-10 Rik <octave@nomad.inbox5.com> + + * interpreter/Makefile.am: Replace distdir-local with dist-hook rule as it + is better supported by automake. + 2009-12-10 Rik <octave@nomad.inbox5.com> * interpreter/Makefile.am: new distdir-local rule to check for presence of
--- a/doc/interpreter/Makefile.am +++ b/doc/interpreter/Makefile.am @@ -158,8 +158,7 @@ # Prevent packaging of distribution unless all libraries # necessary to create documentation are present -distdir: distdir-local -distdir-local: +dist-hook: @$(GREP) '#define HAVE_COLAMD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing COLAMD library. Cannot package distribution!" ; exit 1; } @$(GREP) '#define HAVE_CHOLMOD 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing CHOLMOD library. Cannot package distribution!" ; exit 1; } @$(GREP) '#define HAVE_UMFPACK 1' $(top_builddir)/config.h > /dev/null || { echo "Documentation creation requires missing UMFPACK library. Cannot package distribution!" ; exit 1; }