summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index dfdd46b09..7885a2c44 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1547,8 +1547,9 @@ check-README:
# 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 || :
+ cd $(srcdir); grep '^# *define *S_IS' $(SOURCES) && exit 1 || :
+ cd $(srcdir); grep st_blocks $(SOURCES) && exit 1 || :
+ cd $(srcdir); grep '^# *define .*defined' $(SOURCES) && exit 1 || :
# FIXME: handle *.sh; and use $(all_programs), not $(SOURCES)
../AUTHORS: $(SOURCES)
rm -f $@-t