diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -12,6 +12,8 @@ README_HTML = README.html CURRENT_DIR = $(shell pwd) +TEMPLATE_DIRS = meowpp asciidoc cppMakefile doxygen LaTex + .PHONY: all clean all: readme doc; @@ -19,6 +21,13 @@ all: readme doc; readme: $(README_HTML); doc: document; + +clean_space: + find $(TEMPLATE_DIRS) -type f | while read -r f; do \ + cat "$$f" | sed -e 's/ *$$//g' > tmp_file.$$$$; \ + cat tmp_file.$$$$ > "$$f"; \ + done; \ + rm tmp_file.$$$$ clean: -rm -f $(README) $(README_HTML) |