comparison build-aux/common.mk @ 20343:bacaec9b5535

eliminate recursive make invocation in test directory tree * test/module.mk: New file created from test/Makefile.am, test/bug-35448/module.mk, test/bug-36025/module.mk, test/bug-38236/module.mk, test/bug-38691/module.mk, test/bug-44940/module.mk, test/class-concat/module.mk, test/classdef/module.mk, test/classes/module.mk, test/ctor-vs-method/module.mk, test/fcn-handle-derived-resolution/module.mk, and test/nest/module.mk. * test/Makefile.am, test/bug-35448/module.mk, test/bug-36025/module.mk, test/bug-38236/module.mk, test/bug-38691/module.mk, test/bug-44940/module.mk, test/class-concat/module.mk, test/classdef/module.mk, test/classes/module.mk, test/ctor-vs-method/module.mk, test/fcn-handle-derived-resolution/module.mk, test/nest/module.mk: Delete. * configure.ac (AC_OUTPUT): Don't generate test/Makefile. * Makefile.am: Include test/module.mk. * build-aux/common.mk, test/build-bc-overload-tests.sh: Adapt to changes in Makefile structure.
author John W. Eaton <jwe@octave.org>
date Tue, 07 Jul 2015 10:40:38 -0400
parents dbb46a7e61a4
children b65888ec820e
comparison
equal deleted inserted replaced
20342:c3c1fb44f9b5 20343:bacaec9b5535
927 -e "s/%API_PREFIX_DECL%/$$api_prefix_decl/" $< > $@-t && \ 927 -e "s/%API_PREFIX_DECL%/$$api_prefix_decl/" $< > $@-t && \
928 mv $@-t $@ 928 mv $@-t $@
929 endef 929 endef
930 930
931 define gdbinit_install_rule 931 define gdbinit_install_rule
932 if [ -f .gdbinit ]; then \ 932 if [ -f $@ ]; then \
933 echo "refusing to overwrite .gdbinit with newer version from $<" 1>&2; \ 933 echo "refusing to overwrite $@ with newer version from $<" 1>&2; \
934 else \ 934 else \
935 echo "Installing .gdbinit from version at $<" ; \ 935 echo "Installing $@ from version at $<" ; \
936 cp $< $@; \ 936 cp $< $@; \
937 fi 937 fi
938 endef 938 endef
939 939
940 define test-file-commands 940 define test-file-commands