]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
created contrib/cleanTabs
authorYann Collet <cyan@fb.com>
Thu, 30 Mar 2017 19:42:44 +0000 (12:42 -0700)
committerYann Collet <cyan@fb.com>
Thu, 30 Mar 2017 19:42:44 +0000 (12:42 -0700)
Makefile
contrib/cleanTabs [new file with mode: 0755]

index 030fd3fb06f059b08c2fc8ccebf9a8cbaba4c9ad..7e57e1680fcdd82886bc2593a7805dc6933dc360 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -90,6 +90,10 @@ examples:
 manual:
        $(MAKE) -C contrib/gen_html $@
 
+.PHONY: cleanTabs
+cleanTabs:
+       cd contrib; ./cleanTabs
+
 .PHONY: clean
 clean:
        @$(MAKE) -C $(ZSTDDIR) $@ > $(VOID)
diff --git a/contrib/cleanTabs b/contrib/cleanTabs
new file mode 100755 (executable)
index 0000000..215913a
--- /dev/null
@@ -0,0 +1,2 @@
+#!/bin/sh
+sed -i '' $'s/\t/    /g' ../lib/**/*.{h,c} ../programs/*.{h,c} ../tests/*.c ./**/*.{h,cpp} ../examples/*.c ../zlibWrapper/*.{h,c}