Mercurial > hg > octave-nkf
changeset 12727:40b16bb69fec stable
maint: Don't distribute files in tarball which must be re-built for each installation
* src/Makefile.am: Stop distribution of certain header files like defaults.h which
must be customized at build-time.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Thu, 09 Jun 2011 10:20:51 -0700 |
parents | ee3a60f254e1 |
children | a17269b1148f |
files | src/Makefile.am |
diffstat | 1 files changed, 11 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/src/Makefile.am +++ b/src/Makefile.am @@ -20,9 +20,6 @@ include $(top_srcdir)/common.mk -octlib_LTLIBRARIES = \ - liboctinterp.la - AM_CPPFLAGS = \ @CPPFLAGS@ -I../libgnu -I$(top_srcdir)/libgnu \ -I$(top_srcdir)/libcruft/misc \ @@ -31,6 +28,8 @@ AUTOMAKE_OPTIONS = subdir-objects +octlib_LTLIBRARIES = liboctinterp.la + ## Order matters here. Leave builtins.cc last, because it depends on ## $(DEF_FILES), and building those requires all the sources ## (except builtins.cc) to be available. @@ -52,9 +51,8 @@ oct-gperf.h \ oct-parse.h -## FIXME -- These files don't need to be distributed. Some of them -## do need to be installed. So we need to add them to a list somewhere -## so that happens correctly. +## Files that are created during build process and installed, +## BUT not distributed in tarball. BUILT_NODISTFILES = \ defaults.h \ graphics.h \ @@ -208,6 +206,13 @@ pt-walk.h \ pt.h +nodist_octinclude_HEADERS = \ + defaults.h \ + graphics.h \ + oct-conf.h \ + mxarray.h \ + version.h + octinclude_HEADERS = \ Cell.h \ base-list.h \ @@ -216,7 +221,6 @@ comment-list.h \ cutils.h \ debug.h \ - defaults.h \ defun-dld.h \ defun-int.h \ defun.h \ @@ -228,7 +232,6 @@ gl-render.h \ gl2ps.h \ gl2ps-renderer.h \ - graphics.h \ graphics-props.cc \ gripes.h \ help.h \ @@ -246,8 +249,6 @@ ls-utils.h \ mex.h \ mexproto.h \ - mxarray.h \ - oct-conf.h \ oct-errno.h \ oct-fstrm.h \ oct-gperf.h \ @@ -282,7 +283,6 @@ unwind-prot.h \ utils.h \ variables.h \ - version.h \ xdiv.h \ xnorm.h \ xpow.h \