improve Makefile output
This commit is contained in:
parent
9c2a91e1ab
commit
6150d8651e
@ -3,12 +3,12 @@ SUBDIRS := $(shell ls -d */ | cut -f1 -d'/')
|
|||||||
build: $(SUBDIRS)
|
build: $(SUBDIRS)
|
||||||
|
|
||||||
$(SUBDIRS):
|
$(SUBDIRS):
|
||||||
@echo $@
|
@echo "packaging $@"
|
||||||
@cd $@; zip -rq "$(DIST)/$@.zip" *
|
@cd $@; zip -rq "$(DIST)/$@.zip" *
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@for d in $(SUBDIRS) ; do \
|
@for d in $(SUBDIRS) ; do \
|
||||||
echo "$$d.zip" ; \
|
echo "removing $$d.zip" ; \
|
||||||
rm -f "$(DIST)/$$d.zip" ; \
|
rm -f "$(DIST)/$$d.zip" ; \
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user