Mercurial > hg > octave-lyh > gnulib-hg
changeset 13253:51e653bb55dd
top/maint.mk (sc_prohibit_backup_files): Prohibit checked in backup files.
author | Simon Josefsson <simon@josefsson.org> |
---|---|
date | Thu, 22 Apr 2010 11:04:21 +0200 |
parents | 4a27549ddb0e |
children | 95ecca09cc1e |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-04-22 Simon Josefsson <simon@josefsson.org> + + * top/maint.mk (sc_prohibit_backup_files): Prohibit checked in + backup files. + 2010-04-21 Simon Josefsson <simon@josefsson.org> * tests/test-vasprintf.c: Test %08lx.
--- a/top/maint.mk +++ b/top/maint.mk @@ -645,6 +645,12 @@ halt='found useless parentheses in cpp directive' \ $(_sc_search_regexp) +# Prohibit checked in backup files. +sc_prohibit_backup_files: + @$(VC_LIST) | grep '~$$' && \ + { echo '$(ME): found version controlled backup file' 1>&2; \ + exit 1; } || : + # Require the latest GPL. sc_GPL_version: @prohibit='either ''version [^3]' \