created contrib/cleanTabs

This commit is contained in:
Yann Collet 2017-03-30 12:42:44 -07:00
parent b6f9303af7
commit 6851db48e0
2 changed files with 6 additions and 0 deletions

View File

@ -90,6 +90,10 @@ examples:
manual: manual:
$(MAKE) -C contrib/gen_html $@ $(MAKE) -C contrib/gen_html $@
.PHONY: cleanTabs
cleanTabs:
cd contrib; ./cleanTabs
.PHONY: clean .PHONY: clean
clean: clean:
@$(MAKE) -C $(ZSTDDIR) $@ > $(VOID) @$(MAKE) -C $(ZSTDDIR) $@ > $(VOID)

2
contrib/cleanTabs Executable file
View File

@ -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}