HCoop
/
jackhill
/
guix
/
guix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b611b
)
build: clean-go: warn about stray .go files.
author
Eric Bavier
<bavier@member.fsf.org>
Fri, 16 Sep 2016 04:31:41 +0000
(23:31 -0500)
committer
Eric Bavier
<bavier@member.fsf.org>
Fri, 23 Sep 2016 03:26:11 +0000
(22:26 -0500)
* Makefile.am (clean-go): Warn of .go files remaining in builddir.
Makefile.am
patch
|
blob
|
blame
|
history
diff --git
a/Makefile.am
b/Makefile.am
index
f9fe141
..
43a33c8
100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-208,6
+208,12
@@
endif INSTALL_SRFI_37
# Handy way to remove the .go files without removing all the rest.
clean-go:
-$(RM) -f $(GOBJECTS)
+ @find . -name '*.go' -print | \
+ if test -t 1; then \
+ xargs -r echo -e "\033[31mwarning:\033[0m stray .go files:"; \
+ else \
+ xargs -r echo "warning: stray .go files:"; \
+ fi
# Test extensions; has to be unconditional.