Mercurial > gnulib
diff top/maint.mk @ 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 | cf12b14b472b |
children | 2917aab6182c |
line wrap: on
line diff
--- a/top/maint.mk Wed Apr 21 13:18:32 2010 +0200 +++ b/top/maint.mk Thu Apr 22 11:04:21 2010 +0200 @@ -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]' \