msxbuild/lib/make/ᐊᑐᕐᓗᒍ/mb_conv.mk

17 lines
700 B
Makefile
Raw Normal View History

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
2024-07-07 18:53:06 +00:00
$(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
2024-07-07 18:53:06 +00:00
$(call mb_make_call,mb_doc_function,mb_conv_dos2unix,"Converts an dos file to unix.","<in> <out>")