aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2015-02-07 17:19:38 -0600
committerRob Landley <rob@landley.net>2015-02-07 17:19:38 -0600
commit5eb4475bab76e81fd0119332d761b185a35944a5 (patch)
tree9a1037095fa66ca5cfd9cc48c11535bd462b0500 /Makefile
parentfb4ae952a6d75ae74a84fc2599f58c3c5398af8b (diff)
downloadtoybox-5eb4475bab76e81fd0119332d761b185a35944a5.tar.gz
Clean up the output of "make change".
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 8d83913c..2c9a857f 100644
--- a/Makefile
+++ b/Makefile
@@ -45,12 +45,14 @@ uninstall_flat: generated/instlist
uninstall:
scripts/install.sh --long --uninstall
-change: generated/instlist
+change:
+ @NOBUILD=1 scripts/make.sh > /dev/null&& \
+ $(HOSTCC) -I . scripts/install.c -o generated/instlist && \
export PREFIX=$${PREFIX:-change/} && \
mkdir -p "$$PREFIX" && \
for i in $$(generated/instlist); \
- do echo make $$i && \
- scripts/single.sh $$i || touch $$PREFIX/$${i}.bad; \
+ do echo -n "$$i " && \
+ scripts/single.sh $$i > /dev/null || touch $$PREFIX/$${i}.bad; \
done
clean::