comparison Makefile.am @ 19826:4f6ae6b94abe

make --enable-silent-rules configure option more useful * sparse-mx-ops: Rename from smx-ops. * genpropdoc.m: Write to stdout if filename is not supplied. * Makefile.am, build-aux/common.mk, doc/interpreter/Makefile.am, doc/interpreter/graphics_properties.mk, etc/icons/Makefile.am, libgui/Makefile.am, libinterp/Makefile.am, libinterp/corefcn/module.mk, libinterp/octave-value/module.mk, libinterp/operators/module.mk, libinterp/parse-tree/module.mk, liboctave/cruft/module.mk, liboctave/cruft/ranlib/module.mk, liboctave/cruft/slatec-fn/module.mk, liboctave/numeric/module.mk, liboctave/operators/module.mk, scripts/Makefile.am, scripts/java/module.mk, src/Makefile.am, test/Makefile.am: Preface rules with $(AM_V_GEN) or similar as needed. Improve consistency of rules. Prefer commands that write to stdout, redirecting output to $@-t, then moving to $@. * doc/interpreter/images.awk, libinterp/dldfcn/config-module.awk: Generate rules with $(AM_V_GEN).
author John W. Eaton <jwe@octave.org>
date Fri, 20 Feb 2015 17:18:19 -0500
parents 4197fc428c7d
children 0093b9987ee0
comparison
equal deleted inserted replaced
19825:b254a2e0859c 19826:4f6ae6b94abe
133 check-jit: all 133 check-jit: all
134 $(MAKE) -C test check-jit 134 $(MAKE) -C test check-jit
135 endif 135 endif
136 136
137 run-octave: run-octave.in Makefile 137 run-octave: run-octave.in Makefile
138 @$(do_subst_script_vals) 138 $(AM_V_GEN)$(do_subst_script_vals) && \
139 chmod a+rx "$@" 139 chmod a+rx "$@"
140 140
141 bits/stl_algo.h: build-aux/stl_algo.h-fixed 141 bits/stl_algo.h: build-aux/stl_algo.h-fixed
142 $(MKDIR_P) bits 142 $(AM_V_GEN)$(MKDIR_P) bits && \
143 $(INSTALL_HEADER) $< $@ 143 $(INSTALL_HEADER) $< $@
144 144
145 ## If we aren't trying to fix stl_algo.h, then try to ensure that 145 ## If we aren't trying to fix stl_algo.h, then try to ensure that
146 ## there isn't a stray copy sitting in the build tree. 146 ## there isn't a stray copy sitting in the build tree.
147 147
152 .gdbinit: etc/gdbinit 152 .gdbinit: etc/gdbinit
153 @$(gdbinit_install_rule) 153 @$(gdbinit_install_rule)
154 154
155 if AMCOND_BUILD_DOCS 155 if AMCOND_BUILD_DOCS
156 AUTHORS BUGS INSTALL.OCTAVE: 156 AUTHORS BUGS INSTALL.OCTAVE:
157 $(MAKE) -C doc/interpreter ../../$@ 157 $(AM_V_GEN)$(MAKE) -C doc/interpreter ../../$@
158 endif 158 endif
159 .PHONY: AUTHORS BUGS INSTALL.OCTAVE 159 .PHONY: AUTHORS BUGS INSTALL.OCTAVE
160 160
161 define changelog-from-hg-log
162 rm -f $@-t $@ && \
163 { cd $(srcdir); \
164 hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; \
165 echo ""; \
166 echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19" \
167 } > $@-t && \
168 mv $@-t $@
169 endef
170
161 ChangeLog: 171 ChangeLog:
162 (cd $(srcdir); hg log --style=build-aux/changelog.tmpl --prune=b0e60ad4ae26 --only-branch=`hg branch`; echo ""; echo "See the files in the directory etc/OLD-ChangeLogs for changes before 2011-04-19") > $@.t 172 $(AM_V_GEN)$(changelog-from-hg-log)
163 mv $@.t $@
164 .PHONY: ChangeLog 173 .PHONY: ChangeLog
165 174
166 octetc_DATA = \ 175 octetc_DATA = \
167 CITATION \ 176 CITATION \
168 NEWS \ 177 NEWS \