libs: bin
@[ -e bin/libs -o ! -d libs ] || echo Extracting sources from libs...
@[ -e bin/libs -o ! -d libs ] || (cd src && for lib in ../libs/*-sources.jar ../libs/*-sources.patch.jar; do \
- basename "$$lib"; \
- jar xf "$$lib"; \
+ if [ "$$lib" != '../libs/*-sources.jar' -a "$$lib" != '../libs/*-sources.patch.jar' ]; then \
+ basename "$$lib"; \
+ jar xf "$$lib"; \
+ fi \
done )
@[ ! -d libs ] || touch bin/libs