changeset 21242:ae03a16f3343

don't install oct-gperf.h, oct-parse.h, or oct-tex-parser.h * libinterp/corefcn/module.mk (COREFCN_SRC): List oct-tex-parser.h here, not in COREFCN_INC. * libinterp/module.mk (GENERATED_PARSER_FILES): Include oct-tex-parser.h in the list. (octinclude_HEADERS): Remove oct-gperf.h from the list. * libinterp/parse-tree/module.mk (PARSE_TREE_SRC): Include oct-gperf.h and oct-parse.h in the list.
author John W. Eaton <jwe@octave.org>
date Wed, 10 Feb 2016 13:21:57 -0500
parents bae38398f5f1
children c2b17840910e
files libinterp/corefcn/module.mk libinterp/module.mk libinterp/parse-tree/module.mk
diffstat 3 files changed, 10 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/module.mk	Wed Feb 10 12:21:36 2016 -0500
+++ b/libinterp/corefcn/module.mk	Wed Feb 10 13:21:57 2016 -0500
@@ -72,7 +72,6 @@
   libinterp/corefcn/oct-stdstrm.h \
   libinterp/corefcn/oct-stream.h \
   libinterp/corefcn/oct-strstrm.h \
-  libinterp/corefcn/oct-tex-parser.h \
   libinterp/corefcn/oct.h \
   libinterp/corefcn/octave-default-image.h \
   libinterp/corefcn/octave-link.h \
@@ -111,6 +110,9 @@
   libinterp/corefcn/oct-opengl.h \
   libinterp/corefcn/siglist.h
 
+## oct-tex-parser.h is in the SRC list so that it will be distributed
+## but not installed.
+
 COREFCN_SRC = \
   libinterp/corefcn/Cell.cc \
   libinterp/corefcn/__contourc__.cc \
@@ -207,6 +209,7 @@
   libinterp/corefcn/oct-stream.cc \
   libinterp/corefcn/oct-strstrm.cc \
   libinterp/corefcn/oct-tex-lexer.ll \
+  libinterp/corefcn/oct-tex-parser.h \
   libinterp/corefcn/oct-tex-parser.yy \
   libinterp/corefcn/octave-link.cc \
   libinterp/corefcn/ordschur.cc \
--- a/libinterp/module.mk	Wed Feb 10 12:21:36 2016 -0500
+++ b/libinterp/module.mk	Wed Feb 10 13:21:57 2016 -0500
@@ -60,6 +60,7 @@
 
 GENERATED_PARSER_FILES := \
   libinterp/corefcn/oct-tex-lexer.ll \
+  libinterp/corefcn/oct-tex-parser.h \
   libinterp/corefcn/oct-tex-parser.yy \
   libinterp/parse-tree/oct-parse.yy
 
@@ -103,7 +104,6 @@
 
 octinclude_HEADERS += \
   libinterp/corefcn/graphics-props.cc \
-  libinterp/parse-tree/oct-gperf.h \
   libinterp/builtins.h \
   libinterp/builtin-defun-decls.h \
   libinterp/build-env.h \
--- a/libinterp/parse-tree/module.mk	Wed Feb 10 12:21:36 2016 -0500
+++ b/libinterp/parse-tree/module.mk	Wed Feb 10 13:21:57 2016 -0500
@@ -34,8 +34,13 @@
   libinterp/parse-tree/pt.h \
   libinterp/parse-tree/token.h
 
+## oct-gperf.h and oct-parse.h are in the SRC list so that they will
+## be distributed but not installed.
+
 PARSE_TREE_SRC = \
   libinterp/parse-tree/lex.ll \
+  libinterp/parse-tree/oct-gperf.h \
+  libinterp/parse-tree/oct-parse.h \
   libinterp/parse-tree/oct-parse.yy \
   libinterp/parse-tree/pt-arg-list.cc \
   libinterp/parse-tree/pt-array-list.cc \