[Cryptech-Commits] [releng/alpha] 01/02: Add "tidy" target, like clean but leaves firmware build tree alone.

git at cryptech.is git at cryptech.is
Fri Apr 14 22:01:43 UTC 2017


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch ksng
in repository releng/alpha.

commit 92b67aebd49eadbff9efa3d76ef4f25c5df186d4
Author: Rob Austein <sra at hactrn.net>
AuthorDate: Fri Apr 14 17:50:10 2017 -0400

    Add "tidy" target, like clean but leaves firmware build tree alone.
---
 Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 69766ac..9865c3a 100644
--- a/Makefile
+++ b/Makefile
@@ -67,11 +67,14 @@ enchilada: all upload
 init:
 	git submodule update --init --recursive
 
-clean:
+tidy:
 	rm -rf tap
-	git clean -dfx
+	git clean -ndx -e build
 	git submodule foreach --recursive git clean -dfx
 
+clean: tidy
+	git clean -dfx
+
 sandblast: clean
 	git submodule deinit -f .
 



More information about the Commits mailing list