shithub: scc

Download patch

ref: ccd1b1585da94843f04bbc7b8bf27ebace5cee3c
parent: 39c2438cf25b7cc066151b49b2d112a1b9209006
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Aug 3 13:25:43 EDT 2019

Use libc-proto in clean target

libc-proto was used to generate the tree but it wasn't used
to remove it.

--- a/Makefile
+++ b/Makefile
@@ -37,6 +37,7 @@
 
 clean: $(ENVIRON)
 	$(FORALL)
-	rm -rf lib bin libexec dirs $(ENVIRON)
+	xargs rm -rf < $(SCRIPTDIR)/libc-proto
+	rm -f dirs $(ENVIRON)
 
 tests: all
--- a/scripts/libc-proto
+++ b/scripts/libc-proto
@@ -1,5 +1,4 @@
 bin
-include/scc
 libexec/scc
 lib
 lib/scc