comparison Makefile.am @ 10360:9126d71f53aa

add gdbinit file to sources
author John W. Eaton <jwe@octave.org>
date Thu, 25 Feb 2010 12:02:39 -0500
parents 02453ee20140
children cbf6eebb2a0b
comparison
equal deleted inserted replaced
10359:ec05728ce7f0 10360:9126d71f53aa
50 README.Windows \ 50 README.Windows \
51 README.kpathsea \ 51 README.kpathsea \
52 ROADMAP \ 52 ROADMAP \
53 SENDING-PATCHES \ 53 SENDING-PATCHES \
54 autogen.sh \ 54 autogen.sh \
55 gdbinit \
55 missing \ 56 missing \
56 mk-opts.pl \ 57 mk-opts.pl \
57 mkinstalldirs \ 58 mkinstalldirs \
58 mkoctfile.cc.in \ 59 mkoctfile.cc.in \
59 mkoctfile.in \ 60 mkoctfile.in \
100 101
101 BUILT_SOURCES = run-octave 102 BUILT_SOURCES = run-octave
102 103
103 nodist_octinclude_HEADERS = config.h 104 nodist_octinclude_HEADERS = config.h
104 105
105 all-local: $(bin_SCRIPTS) $(INFO_FILES) 106 all-local: $(bin_SCRIPTS) $(INFO_FILES) .gdbinit
106 @echo "" 107 @echo ""
107 @echo "Octave successfully built. Now choose from the following:" 108 @echo "Octave successfully built. Now choose from the following:"
108 @echo "" 109 @echo ""
109 @echo " ./run-octave - to run in place to test before installing" 110 @echo " ./run-octave - to run in place to test before installing"
110 @echo " make check - to run the tests" 111 @echo " make check - to run the tests"
151 # endif 152 # endif
152 153
153 run-octave: run-octave.in Makefile 154 run-octave: run-octave.in Makefile
154 @$(do_subst_script_vals) 155 @$(do_subst_script_vals)
155 chmod a+rx "$@" 156 chmod a+rx "$@"
157
158 .gdbinit: gdbinit
159 if [ -f .gdbinit ]; then \
160 echo "refusing to overwrite .gdbinit with newer version from $<" 1>&2; \
161 else \
162 cp $< $@; \
163 fi
156 164
157 BUGS INSTALL.OCTAVE: 165 BUGS INSTALL.OCTAVE:
158 $(MAKE) -C doc ../$@ 166 $(MAKE) -C doc ../$@
159 .PHONY: BUGS INSTALL.OCTAVE 167 .PHONY: BUGS INSTALL.OCTAVE
160 168