Fix silent failure of make clean-servo

Brace expansion is a bashism and doesn't work everywhere (for example, on
Debian where /bin/sh is dash).
This commit is contained in:
Keegan McAllister 2013-07-11 10:58:27 -07:00
parent 96d57dc562
commit a08cf913cd

View file

@ -26,19 +26,19 @@ clean-fast: $(DEPS_CLEAN_TARGETS_FAST) clean-servo
$(Q)echo "$(filter-out $(SLOW_BUILDS),$(DEPS_CLEAN_ALL))" $(Q)echo "$(filter-out $(SLOW_BUILDS),$(DEPS_CLEAN_ALL))"
clean-util: clean-util:
cd $(B)/src/components/util/ && rm -rf libutil*.{dylib,so} $(DONE_util) cd $(B)/src/components/util/ && rm -rf libutil*.dylib libutil*.so $(DONE_util)
clean-msg: clean-msg:
cd $(B)/src/components/msg/ && rm -rf libmsg*.{dylib,so} $(DONE_msg) cd $(B)/src/components/msg/ && rm -rf libmsg*.dylib libmsg*.so $(DONE_msg)
clean-net: clean-net:
cd $(B)/src/components/net/ && rm -rf libnet*.{dylib,so} $(DONE_net) cd $(B)/src/components/net/ && rm -rf libnet*.dylib libnet*.so $(DONE_net)
clean-gfx: clean-gfx:
cd $(B)/src/components/gfx/ && rm -rf libgfx*.{dylib,so} $(DONE_gfx) cd $(B)/src/components/gfx/ && rm -rf libgfx*.dylib libgfx*.so $(DONE_gfx)
clean-script: clean-script:
cd $(B)/src/components/script/ && rm -rf libscript*.{dylib,so} $(DONE_script) cd $(B)/src/components/script/ && rm -rf libscript*.dylib libscript*.so $(DONE_script)
clean-servo: clean-gfx clean-util clean-net clean-script clean-msg clean-servo: clean-gfx clean-util clean-net clean-script clean-msg
rm -f servo servo-test rm -f servo servo-test