msxbuild/lib/make/ᐅᖓᕙᕆᐊᖅᓯᓂᖅ/mb_conv.mk
Willem Cazander b78d3e5c1f
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -12s
Limited china whitespace to one folder.
2024-07-13 13:18:49 +02:00

17 lines
730 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

define mb_conv_unix2dos
$(MB_   )$(call mb_make_call,mb_make_check_arg2,mb_conv_unix2dos,$(1),$(2))
$(MB_   )$(call mb_make_call,mb_os_echo_command,$(MB_I18N_CONV_UNIX2DOS) $(2))
$(MB_   )unix2dos -q -n $(1) $(2)
endef
$(call mb_make_call,mb_doc_function,mb_conv_unix2dos,"Converts an unix file to dos.","<in> <out>")
define mb_conv_dos2unix
$(MB_   )$(call mb_make_call,mb_make_check_arg2,mb_conv_dos2unix,$(1),$(2))
$(MB_   )$(call mb_make_call,mb_os_echo_command,$(MB_I18N_CONV_DOS2UNIX) $(2))
$(MB_   )dos2unix -q -n $(1) $(2)
endef
$(call mb_make_call,mb_doc_function,mb_conv_dos2unix,"Converts an dos file to unix.","<in> <out>")