Moved all file convert function to namespace.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 0s
This commit is contained in:
parent
fd59abc810
commit
8a18cb494d
5 changed files with 20 additions and 17 deletions
13
lib/make/mb_conv.mk
Normal file
13
lib/make/mb_conv.mk
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
|
||||
|
||||
define mb_conv_unix2dos
|
||||
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
|
||||
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>")
|
||||
|
||||
|
|
@ -18,6 +18,7 @@ include $(PATH_MSXBUILD)/lib/make/mb_msxhub.mk
|
|||
include $(PATH_MSXBUILD)/lib/make/mb_msxpipe.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/mb_openmsx.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/mb_autoexec.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/mb_conv.mk
|
||||
include $(PATH_MSXBUILD)/lib/make/mb_os.mk
|
||||
|
||||
# Below mb_doc.mk for white space...
|
||||
|
|
@ -52,17 +53,6 @@ endef
|
|||
MB_DOC_FIRE_FUNCTION += $(call mb_make_call,mb_doc_function,mb_copy,"Copy an file.","<in> <out>")
|
||||
|
||||
|
||||
define mb_unix2dos
|
||||
unix2dos -q -n $(1) $(2)
|
||||
endef
|
||||
MB_DOC_FIRE_FUNCTION += $(call mb_make_call,mb_doc_function,mb_unix2dos,"Converts an unix file to dos.","<in> <out>")
|
||||
|
||||
|
||||
define mb_dos2unix
|
||||
dos2unix -q -n $(1) $(2)
|
||||
endef
|
||||
MB_DOC_FIRE_FUNCTION += $(call mb_make_call,mb_doc_function,mb_dos2unix,"Converts an dos file to unix.","<in> <out>")
|
||||
|
||||
|
||||
define mb_create_dist
|
||||
$(call mb_make_call,mb_make_echo_good,Creating distribution archive $(2))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue