build: clean-go: Do not warn about *.go files in "test-tmp".

* Makefile.am (clean-go): Ignore "test-tmp" directory.
This commit is contained in:
Eric Bavier 2019-01-29 23:07:33 -06:00
parent 7b84610e21
commit 92becc3f15
No known key found for this signature in database
GPG key ID: FD73CAC719D32566

View file

@ -318,7 +318,7 @@ nobase_nodist_guileobject_DATA = $(GOBJECTS)
# Handy way to remove the .go files without removing all the rest.
clean-go:
-$(RM) -f $(GOBJECTS)
@find . -name '*.go' -print | \
@find . -path ./test-tmp -prune -o -name '*.go' -print | \
if test -t 1; then \
xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
else \