Includes src and usage text
This commit is contained in:
parent
98a9d2d03f
commit
b3100175a8
21
Makefile
21
Makefile
|
@ -47,6 +47,25 @@ bin/dist/$(BUILD_NAME)/omsxctl.com: bin/dist/$(BUILD_NAME) | bin/omsxctl/omsxctl
|
|||
bin/dist/$(BUILD_NAME)/omsxctl.tcl: bin/dist/$(BUILD_NAME)
|
||||
cp src/omsxctl.tcl bin/dist/$(BUILD_NAME)/omsxctl.tcl
|
||||
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.asm: bin/dist/$(BUILD_NAME)
|
||||
cp src/omsxctl.asm bin/dist/$(BUILD_NAME)/omsxctl.asm
|
||||
|
||||
bin/dist/$(BUILD_NAME)/usage.txt:
|
||||
echo "# Usage\r" > $@
|
||||
echo "\r" >> $@
|
||||
echo "Pass the tcl script to openMSX on the command line:\r" >> $@
|
||||
echo " openmsx -script <path-to>/omsxctl.tcl\r" >> $@
|
||||
echo "\r" >> $@
|
||||
echo "And then in MSX-DOS execute something like:\r" >> $@
|
||||
echo " omsxctl set throttle off\r" >> $@
|
||||
echo " ...\r" >> $@
|
||||
echo " omsxctl exit\r" >> $@
|
||||
echo "\r" >> $@
|
||||
|
||||
BUILD_HELP += \\n\\t* bin/dist/$(BUILD_NAME).tar.gz
|
||||
bin/dist/$(BUILD_NAME).tar.gz: bin/dist/$(BUILD_NAME)/omsxctl.com bin/dist/$(BUILD_NAME)/omsxctl.tcl
|
||||
bin/dist/$(BUILD_NAME).tar.gz: \
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.com \
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.tcl \
|
||||
bin/dist/$(BUILD_NAME)/omsxctl.asm \
|
||||
bin/dist/$(BUILD_NAME)/usage.txt
|
||||
cd bin/dist && tar -czvf $(BUILD_NAME).tar.gz $(BUILD_NAME)
|
||||
|
|
Loading…
Reference in a new issue