+Add options +Add help +Add support for multiple identical devices *New README *Bug fixes
10 lines
525 B
Bash
Executable file
10 lines
525 B
Bash
Executable file
FORMAT_FOLDER=help_format
|
|
IDIR=include
|
|
|
|
cp $FORMAT_FOLDER/help_template_head $IDIR/help.h
|
|
|
|
echo "#define FILE_FORMAT \"zmidimap$(sed -n -e 'H;${x;s/\n/\\n/g;s/^,//;p;}' $FORMAT_FOLDER/file-format)\"" >> $IDIR/help.h
|
|
echo "#define SHELL_FORMAT \"zmidimap$(sed -n -e 'H;${x;s/\n/\\n/g;s/^,//;p;}' $FORMAT_FOLDER/shell-format)\"" >> $IDIR/help.h
|
|
echo "#define COMMAND_TAGS \"zmidimap$(sed -n -e 'H;${x;s/\n/\\n/g;s/^,//;p;}' $FORMAT_FOLDER/command-tags)\"" >> $IDIR/help.h
|
|
|
|
cat $FORMAT_FOLDER/help_template_tail >> $IDIR/help.h
|