changeset 30812:4392386b5ecb

maint: Merge stable to default.
author John W. Eaton <jwe@octave.org>
date Thu, 03 Mar 2022 13:37:10 -0500
parents 131c5045fbd3 (current diff) 103efb7e1600 (diff)
children 6fefb4afbbe7
files Makefile.am configure.ac
diffstat 4 files changed, 7 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Thu Mar 03 13:37:11 2022 +0900
+++ b/Makefile.am	Thu Mar 03 13:37:10 2022 -0500
@@ -225,7 +225,7 @@
 # Other directories are handled directly from this Makefile,
 # but also review the included module.mk makefile fragments.
 
-SUBDIRS = libgnu
+SUBDIRS = libgnu test
 
 # All of build depends on having libgnu.
 # Add the library to BUILT_SOURCES so it is created early in the build process
@@ -245,7 +245,6 @@
 include etc/module.mk
 include examples/module.mk
 include m4/module.mk
-include test/module.mk
 include build-aux/module.mk
 
 DIST_HOOKS := \
--- a/configure.ac	Thu Mar 03 13:37:11 2022 +0900
+++ b/configure.ac	Thu Mar 03 13:37:10 2022 -0500
@@ -3101,6 +3101,7 @@
   build-aux/check-subst-vars.sh:build-aux/check-subst-vars.in.sh
   doc/doxyhtml/Doxyfile
   libgnu/Makefile
+  test/Makefile
   liboctave/octave.pc:liboctave/octave.in.pc
   libinterp/octinterp.pc:libinterp/octinterp.in.pc])
 
--- a/test/bug-50831/module.mk	Thu Mar 03 13:37:11 2022 +0900
+++ b/test/bug-50831/module.mk	Thu Mar 03 13:37:10 2022 -0500
@@ -1,4 +1,4 @@
 bug_50831_TEST_FILES = \
-  test/bug-50831/bug-50831.tst
+  %reldir%/bug-50831.tst
 
 TEST_FILES += $(bug_50831_TEST_FILES)
--- a/test/mex/module.mk	Thu Mar 03 13:37:11 2022 +0900
+++ b/test/mex/module.mk	Thu Mar 03 13:37:10 2022 -0500
@@ -30,8 +30,9 @@
 
 ## And probably many others...
 MKOCTFILECPPFLAGS = \
+  -I$(top_builddir) \
   -I$(top_srcdir)/libinterp/corefcn \
-  -Ilibinterp/corefcn
+  -I$(top_builddir)/libinterp/corefcn
 MKOCTFILELDFLAGS = \
   -L$(top_builddir)/libinterp/.libs \
   -L$(top_builddir)/liboctave/.libs
@@ -41,8 +42,9 @@
   $(top_builddir)/src/mkoctfile $(MKOCTFILECPPFLAGS) $(MKOCTFILELDFLAGS)
 
 MKMEXFILECPPFLAGS = \
+  -I$(top_builddir) \
   -I$(top_srcdir)/libinterp/corefcn \
-  -Ilibinterp/corefcn
+  -I$(top_builddir)/libinterp/corefcn
 MKMEXFILELDFLAGS = \
   -L$(top_builddir)/libinterp/.libs \
   -L$(top_builddir)/liboctave/.libs