summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorVolker Grabsch <v@njh.eu>2015-01-11 23:08:19 (GMT)
committerVolker Grabsch <v@njh.eu>2015-01-11 23:20:46 (GMT)
commit0c6cc9c91cf94e445ec471a5beebb7199483cb9d (patch)
tree2c3db179eb61126d7dafa9b31916f3ad04de6547 /Makefile
parentdacd2ba109bb588d44eb5432d685077c37a043dc (diff)
downloadmxe-0c6cc9c91cf94e445ec471a5beebb7199483cb9d.zip
mxe-0c6cc9c91cf94e445ec471a5beebb7199483cb9d.tar.gz
mxe-0c6cc9c91cf94e445ec471a5beebb7199483cb9d.tar.bz2
Split cleanup-style into even smaller commands
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 8fa27a0..24053b7 100644
--- a/Makefile
+++ b/Makefile
@@ -309,11 +309,11 @@ define CLEANUP_STYLE
$(if $(filter %Makefile,$(1)),,\
s/\t/ /g; \
) \
- ' < $(1) > $(TOP_DIR)/tmp-cleanup-style; \
- diff -u $(1) $(TOP_DIR)/tmp-cleanup-style >/dev/null \
+ ' < $(1) > $(TOP_DIR)/tmp-cleanup-style
+ @diff -u $(1) $(TOP_DIR)/tmp-cleanup-style >/dev/null \
|| { echo '[cleanup] $(1)'; \
- cp $(TOP_DIR)/tmp-cleanup-style $(1); }; \
- rm -f $(TOP_DIR)/tmp-cleanup-style
+ cp $(TOP_DIR)/tmp-cleanup-style $(1); }
+ @rm -f $(TOP_DIR)/tmp-cleanup-style
endef
cleanup-style: