From e4d63d0d8026446aec99ef8390554c5afd87cef4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 29 May 2007 17:16:24 +0000 Subject: add target "eolspace" to makefil to remove trailing newlines from all source files git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@1464 fefdeb5f-60dc-0310-8127-8f9354f1896f --- Makefile.am | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 1b77187d..abc3d776 100644 --- a/Makefile.am +++ b/Makefile.am @@ -45,4 +45,7 @@ homepage: all dist doxygen doxygen: $(MAKE) -C doxygen doxygen +eolspace: + find \( -name '*.c' -o -name '*.h' -o -name 'Makefile.am' \) -exec perl -i -pe 's/\s+\n$$/\1\n/;' \{\} \; + .PHONY: homepage distcleancheck doxygen -- cgit