+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.
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]' \