]> git.xonotic.org Git - xonotic/gmqcc.git/commitdiff
Added whitespace fix rule to include.mk
authorDale Weiler <killfieldengine@gmail.com>
Sat, 17 Aug 2013 23:49:47 +0000 (23:49 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Sat, 17 Aug 2013 23:49:47 +0000 (23:49 +0000)
include.mk

index a1d7430edb961b56ec34c34e7b485965817691c6..762ffae24d14f8fc67884f25c5b4bc640096af25 100644 (file)
@@ -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/ *$$//' '{}' ';'
+