1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-08-12 03:51:30 +02:00

(xalloc-check): Rename from header-check.

This commit is contained in:
Jim Meyering
2003-04-11 11:45:23 +00:00
parent 1038acbd8a
commit bfcaedcedd
+2 -2
View File
@@ -50,14 +50,14 @@ release_archive_dir ?= ../release
# new ChangeLog entries.
local-check = \
po-check copyright-check writable-files m4-check author_mark_check \
changelog-check strftime-check header-check makefile_path_separator_check \
changelog-check strftime-check xalloc-check makefile_path_separator_check \
makefile-check
.PHONY: $(local-check)
# Make sure C source files in src/ don't include xalloc.h directly,
# since they all already include it via sys2.h.
# It's not a big deal -- just aesthetics.
header-check:
xalloc-check:
if test -f $(srcdir)/src/sys2.h; then \
if grep 'xalloc\.h' $(srcdir)/src/*.c; then \
exit 1; \