Commit 265fb7da authored by Vivien Kraus's avatar Vivien Kraus
Browse files

Always ignore git internal files for git-check

parent 95849aa8
...@@ -26,7 +26,7 @@ git-check: ...@@ -26,7 +26,7 @@ git-check:
$(MKDIR_P) .gitcheck $(MKDIR_P) .gitcheck
$(git_clone_verbose) $(GIT) clone $(srcdir) .gitcheck/clean/ $(git_clone_verbose) $(GIT) clone $(srcdir) .gitcheck/clean/
(cd .gitcheck/clean \ (cd .gitcheck/clean \
&& for source in $$(find . -type f) ; \ && for source in $$(find . -type f | grep -v '/.git/') ; \
do \ do \
./copyright/check-copyright "$$source" || exit 1; \ ./copyright/check-copyright "$$source" || exit 1; \
done) done)
...@@ -39,7 +39,7 @@ git-check: ...@@ -39,7 +39,7 @@ git-check:
$(MAKE) $(AM_MAKEFLAGS) -C .gitcheck/build indent $(MAKE) $(AM_MAKEFLAGS) -C .gitcheck/build indent
$(MAKE) $(AM_MAKEFLAGS) distdir $(MAKE) $(AM_MAKEFLAGS) distdir
(cd .gitcheck/clean \ (cd .gitcheck/clean \
&& for source in $$(find . -type f) ; \ && for source in $$(find . -type f | grep -v '/.git/') ; \
do \ do \
case $$source in \ case $$source in \
*.md) \ *.md) \
...@@ -74,7 +74,7 @@ git-check: ...@@ -74,7 +74,7 @@ git-check:
exit 1 ; \ exit 1 ; \
fi) fi)
(cd .gitcheck/clean \ (cd .gitcheck/clean \
&& for source in $$(find . -type f) ; \ && for source in $$(find . -type f | grep -v '/.git/') ; \
do \ do \
case $$source in \ case $$source in \
*.po | *.pot);; \ *.po | *.pot);; \
...@@ -91,7 +91,7 @@ git-check: ...@@ -91,7 +91,7 @@ git-check:
done) done)
$(MAKE) $(AM_MAKEFLAGS) -C .gitcheck/build maintainer-clean $(MAKE) $(AM_MAKEFLAGS) -C .gitcheck/build maintainer-clean
(cd .gitcheck/source \ (cd .gitcheck/source \
&& for source in $$(find . -type f) ; \ && for source in $$(find . -type f | grep -v '/.git/') ; \
do \ do \
case $$source in \ case $$source in \
./po/en@quot.header | ./po/en@boldquot.header | ./po/Rules-quot | ./po/remove-potcdate.sin | ./po/boldquot.sed | ./po/quot.sed | ./po/insert-header.sin | ./po/Makefile.in.in | ./po/Makevars.template | ./po/tarot.pot) \ ./po/en@quot.header | ./po/en@boldquot.header | ./po/Rules-quot | ./po/remove-potcdate.sin | ./po/boldquot.sed | ./po/quot.sed | ./po/insert-header.sin | ./po/Makefile.in.in | ./po/Makevars.template | ./po/tarot.pot) \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment