diff options
author | Jeff Donahue <jeff.donahue@gmail.com> | 2014-03-29 20:12:24 -0700 |
---|---|---|
committer | Jeff Donahue <jeff.donahue@gmail.com> | 2014-04-02 10:58:49 -0700 |
commit | 5d9040a3d8cc039eebed29b43a2d90c6e6f54844 (patch) | |
tree | 1cd96b91e3910a0f7f25fde71151616a0334b0a4 /Makefile | |
parent | e29838ddf14fcbc01e4d4925750eef7d75c09575 (diff) | |
download | caffe-5d9040a3d8cc039eebed29b43a2d90c6e6f54844.tar.gz caffe-5d9040a3d8cc039eebed29b43a2d90c6e6f54844.tar.bz2 caffe-5d9040a3d8cc039eebed29b43a2d90c6e6f54844.zip |
cleanup superclean output
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -301,16 +301,15 @@ clean: SUPERCLEAN_EXTS := .so .a .o .bin .testbin .pb.cc .pb.h _pb2.py .cuo supercleanfiles: - $(eval SUPERCLEAN_FILES := \ - $(strip $(foreach ext,$(SUPERCLEAN_EXTS), \ - $(shell find . -name '*$(ext)')))) + $(eval SUPERCLEAN_FILES := $(strip \ + $(foreach ext,$(SUPERCLEAN_EXTS), $(shell find . -name '*$(ext)')))) supercleanlist: supercleanfiles @ \ if [ -z "$(SUPERCLEAN_FILES)" ]; then \ echo "No generated files found."; \ else \ - echo $(SUPERCLEAN_FILES); \ + echo $(SUPERCLEAN_FILES) | tr ' ' '\n'; \ fi superclean: clean supercleanfiles @@ -319,7 +318,7 @@ superclean: clean supercleanfiles echo "No generated files found."; \ else \ echo "Deleting the following generated files:"; \ - echo $(SUPERCLEAN_FILES); \ + echo $(SUPERCLEAN_FILES) | tr ' ' '\n'; \ $(RM) $(SUPERCLEAN_FILES); \ fi |