diff options
author | Jim Meyering <jim@meyering.net> | 2003-02-01 15:21:29 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-02-01 15:21:29 +0000 |
commit | 1a26ff6e0262b0918890f3f2dbc8b4f7928241ee (patch) | |
tree | d816b62db6a61c2ce07e938faf071f963dec411b /src | |
parent | a7eac7f5fd67f702203619d8031318bd8c274b5d (diff) | |
download | coreutils-1a26ff6e0262b0918890f3f2dbc8b4f7928241ee.tar.xz |
.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 7b08cf8ee..9fd9f030f 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1540,9 +1540,14 @@ check-README: # Make sure we don't define any S_IS* macros in src/*.c files. # Not a big deal, but they're already defined via system.h. +# +# Also make sure we don't use st_blocks. Use ST_NBLOCKS instead. +# This is a bit of a kludge, since it prevents use of the string +# even in comments, but for now it does the job with no false positives. .PHONY: check-misc check-misc: grep '^# *define *S_IS' $(SOURCES) && exit 1 || : + grep st_blocks $(SOURCES) && exit 1 || : # FIXME: handle *.sh; and use $(all_programs), not $(SOURCES) ../AUTHORS: $(SOURCES) rm -f $@-t |