source-code-check refers to srcdir, not builddir

This commit is contained in:
Hans Ulrich Niedermann
2022-05-29 06:42:17 +02:00
parent e7a4146464
commit 5edddb534d

View File

@@ -64,11 +64,11 @@ DISTCLEANFILES = libgphoto2/gphoto2-endian.h
source-code-check:
@echo "######## Finding // comments"
find . -type f -name '*.[ch]' -exec egrep -H '(^//|[^:]//)' {} \;
find $(srcdir) -type f -name '*.[ch]' -exec egrep -H '(^//|[^:]//)' {} \;
@echo "######## Finding remainders of Arnaud's comment replacement"
find . -type f -name '*.[ch]' -exec egrep -H 'http:/\*' {} \;
find $(srcdir) -type f -name '*.[ch]' -exec egrep -H 'http:/\*' {} \;
@echo "######## Finding explicit libintl.h references"
find . -type f -name '*.[ch]' -exec egrep -H '^#.*include.*libintl\.h' {} \;
find $(srcdir) -type f -name '*.[ch]' -exec egrep -H '^#.*include.*libintl\.h' {} \;
########################################################################