Rombobjörn

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2013-12-27 23:44:22 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2013-12-27 23:44:22 +0100
commitc1321cf8f4cdb1ede1f2442d03510b29824adea4 (patch)
tree3feaa48f1b4271cbc1053f8eb8678e29df8fa8cb
parent73346409346b52937eb3048a394ce27ecaa12cb6 (diff)
Protect tab caracters.
-rw-r--r--comfignat.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/comfignat.mk b/comfignat.mk
index f481b20..0cdc7c0 100644
--- a/comfignat.mk
+++ b/comfignat.mk
@@ -40,9 +40,10 @@
nil =
inert_space = _Comfignat_magic_protective_space_character_substitute_
+inert_tab = _Comfignat_magic_protective_tab_character_substitute_
inert_percent = _Comfignat_magic_protective_percent_character_substitute_
-mung_string = ${subst %,${inert_percent},${subst ${nil} ,${inert_space},${1}}}
-unmung_string = ${subst ${inert_percent},%,${subst ${inert_space}, ,${1}}}
+mung_string = ${subst %,${inert_percent},${subst ${nil} ,${inert_tab},${subst ${nil} ,${inert_space},${1}}}}
+unmung_string = ${subst ${inert_percent},%,${subst ${inert_tab}, ,${subst ${inert_space}, ,${1}}}}
# mung_string and unmung_string are used to prevent Make from interpreting
# space and percent characters in strings.