OSDN Git Service

build: remove dotfiles on a make clean as well
authorDan Pasanen <invisiblek@cyanogenmod.org>
Mon, 5 Sep 2016 23:38:05 +0000 (18:38 -0500)
committerGerrit Code Review <gerrit@cyanogenmod.org>
Thu, 8 Sep 2016 10:43:36 +0000 (03:43 -0700)
* kati & ninja create dotfiles (example: .ninja_log) in out/

Change-Id: I83ffd1c26a37f7ffef45fd4598435db93058ab67

core/main.mk

index ed37e02..3a26cb0 100644 (file)
@@ -1119,7 +1119,7 @@ findbugs: $(INTERNAL_FINDBUGS_HTML_TARGET) $(INTERNAL_FINDBUGS_XML_TARGET)
 
 .PHONY: clean
 clean:
-       @rm -rf $(OUT_DIR)/*
+       @rm -rf $(OUT_DIR)/* $(OUT_DIR)/..?* $(OUT_DIR)/.[!.]*
        @echo "Entire build directory removed."
 
 .PHONY: clobber