diff options
author | Jim Meyering <jim@meyering.net> | 2006-02-12 15:15:06 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-02-12 15:15:06 +0000 |
commit | 2f1ac790d90c63c7118afa37a37b8584fbab7e99 (patch) | |
tree | cb2ab36d6e8012535832ef31270bff51d588ca25 | |
parent | a3057b438214fe539b4678cce7f570e7749b398d (diff) | |
download | coreutils-2f1ac790d90c63c7118afa37a37b8584fbab7e99.tar.xz |
(patch-check): New target.
(local-checks-available): Add to the list.
-rw-r--r-- | Makefile.maint | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile.maint b/Makefile.maint index 38468db7b..6b3d577e8 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -84,7 +84,7 @@ export LC_ALL = C # new ChangeLog entries. local-checks-available = \ po-check copyright-check writable-files m4-check author_mark_check \ - changelog-check strftime-check $(syntax-check-rules) \ + changelog-check patch-check strftime-check $(syntax-check-rules) \ makefile_path_separator_check \ makefile-check .PHONY: $(local-checks-available) @@ -285,6 +285,14 @@ sc_useless_cpp_parens: { echo '$(ME): found useless parentheses in cpp directive' \ 1>&2; exit 1; } || : +# Ensure that the c99-to-c89 patch applies cleanly. +# For now, it affects only remove.c. Eventually, we'll probably +# have to copy all of src/ before running patch. +patch-check: + cp src/remove.c tmp-remove.c + patch -V never --fuzz=0 tmp-remove.c src/c99-to-c89.diff + rm -f tmp-remove.c + # Ensure that date's --help output stays in sync with the info # documentation for GNU strftime. The only exception is %N, # which date accepts but GNU strftime does not. |