aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3775649..fdc2989 100644
--- a/Makefile
+++ b/Makefile
@@ -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)