msxbuild/lib/make/mb_conv.mk
Willem Cazander 349120b8f5
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -2s
Moved os function to os and finished wrapping all calls.
2024-07-07 16:33:49 +02:00

15 lines
496 B
Makefile

define mb_conv_unix2dos
$(call mb_make_call,mb_make_echo_command,Convert to dos-EOL $(2))
unix2dos -q -n $(1) $(2)
endef
MB_DOC_FIRE_FUNCTION += $(call mb_make_call,mb_doc_function,mb_conv_unix2dos,"Converts an unix file to dos.","<in> <out>")
define mb_conv_dos2unix
$(call mb_make_call,mb_make_echo_command,Convert to nix-EOL $(2))
dos2unix -q -n $(1) $(2)
endef
MB_DOC_FIRE_FUNCTION += $(call mb_make_call,mb_doc_function,mb_conv_dos2unix,"Converts an dos file to unix.","<in> <out>")