From: Dale Weiler Date: Sat, 17 Aug 2013 23:49:47 +0000 (+0000) Subject: Added whitespace fix rule to include.mk X-Git-Tag: v0.3.0~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e6809acf63782783397d56389d936afe6d1ec575;p=xonotic%2Fgmqcc.git Added whitespace fix rule to include.mk --- diff --git a/include.mk b/include.mk index a1d7430..762ffae 100644 --- a/include.mk +++ b/include.mk @@ -107,3 +107,7 @@ uninstall: rm -f $(DESTDIR)$(MANDIR)/man1/doc/gmqcc.1 rm -f $(DESTDIR)$(MANDIR)/man1/doc/qcvm.1 rm -f $(DESTDIR)$(MANDIR)/man1/doc/gmqpak.1 + +whitespace: + find . -type f \( -name '*.c' -or -name '*.h' \) -exec sed -i 's/ *$$//' '{}' ';' +