comparison Makefile.am @ 31592:d6f9be74b208

maint: merge stable to default
author Rik <rik@octave.org>
date Tue, 29 Nov 2022 13:15:17 -0800
parents bac84a43cff6
children 597f3ee61a48
comparison
equal deleted inserted replaced
31589:01143c6ab610 31592:d6f9be74b208
508 508
509 define simple_move_if_change_rule 509 define simple_move_if_change_rule
510 $(call move_if_change_rule,$@-t,$@) 510 $(call move_if_change_rule,$@-t,$@)
511 endef 511 endef
512 512
513 define cp_update_rule
514 if [ "x${srcdir}" != "x." ] && [ -f ${srcdir}/$@ ] && [ ! -f $@ ]; then \
515 cp ${srcdir}/$@ $@; \
516 touch -r ${srcdir}/$@ $@; \
517 fi
518 endef
519
520 define build-info-commands 513 define build-info-commands
521 rm -f $@-t && \ 514 rm -f $@-t && \
522 $(SED) \ 515 $(SED) \
523 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \ 516 -e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically by Makefile|" \
524 -e "s|%OCTAVE_HG_ID%|$(HG_ID_VAR)|" $< > $@-t && \ 517 -e "s|%OCTAVE_HG_ID%|$(HG_ID_VAR)|" $< > $@-t && \