summaryrefslogtreecommitdiffhomepage
path: root/sofort/core
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2021-06-14 20:04:12 +0000
committermidipix <writeonce@midipix.org>2021-06-14 20:05:15 +0000
commit3f25a0d98e4a9b7eeda463c297ed2d1bbdc7cc45 (patch)
tree00179bb2e752c71706e6bbb651bdee028dc8ef1b /sofort/core
parent0ef0d8d929c6cd3fcce9160b796aca9f3a96c46d (diff)
downloadtpax-3f25a0d98e4a9b7eeda463c297ed2d1bbdc7cc45.tar.bz2
tpax-3f25a0d98e4a9b7eeda463c297ed2d1bbdc7cc45.tar.xz
build system: modern.m4: m4_pathvar(): also convert hyphen to an underscore.
Diffstat (limited to 'sofort/core')
-rw-r--r--sofort/core/modern.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sofort/core/modern.m4 b/sofort/core/modern.m4
index ddee8bf..ad75ca9 100644
--- a/sofort/core/modern.m4
+++ b/sofort/core/modern.m4
@@ -88,7 +88,7 @@ m4_define([_],m4_defn([m4_dnl]))
m4_define([m4_toupper],[m4_translit([[$1]],[[abcdefghijklmnopqrstuvwxyz]],[[ABCDEFGHIJKLMNOPQRSTUVWXYZ]])])
m4_define([m4_tolower],[m4_translit([[$1]],[[ABCDEFGHIJKLMNOPQRSTUVWXYZ]],[[abcdefghijklmnopqrstuvwxyz]])])
-m4_define([m4_pathvar],[m4_translit(m4_toupper([[$1]]),[/],[_])])
+m4_define([m4_pathvar],[m4_translit(m4_toupper([[$1]]),[/-],[__])])
m4_define([m4_srclist],[[$1] = \])
m4_define([m4_srcitem],[m4_tab[$1] \])