From: Jo-Philipp Wich Date: Wed, 5 Feb 2014 13:35:34 +0000 (+0000) Subject: build: fix clean targets in Makefiles (#667) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c1bd1e59d3fcdd31ddec9a2795ace53c41993e8b;p=project%2Fluci.git build: fix clean targets in Makefiles (#667) --- diff --git a/Makefile b/Makefile index 7dc9fa1e8e..362eed69ff 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ i18nbuild: clean: rm -f .running-sdk rm -rf docs - make -C libs/lmo host-clean + make -C libs/web host-clean for i in $(MODULES); do make -C$$i clean; done diff --git a/contrib/uci/Makefile b/contrib/uci/Makefile index b0ea8c0b60..d04c5a146a 100644 --- a/contrib/uci/Makefile +++ b/contrib/uci/Makefile @@ -39,4 +39,5 @@ compile: $(UCI_DIR)/.prepared compile-all: compile clean: + rm -rf $(UCI_PATCHDIR)/series rm -rf $(UCI_DIR) $(UCI_FILE) diff --git a/libs/web/Makefile b/libs/web/Makefile index 1d28a3a4ce..ad16ec7376 100644 --- a/libs/web/Makefile +++ b/libs/web/Makefile @@ -41,4 +41,5 @@ host-install: host-compile cp src/$(TPL_PO2LMO) ../../build/$(TPL_PO2LMO) host-clean: + rm -f src/$(TPL_PO2LMO) rm -f ../../build/$(TPL_PO2LMO)