DEPTH = ..
SUBDIR = ./doko-lounge

include $(DEPTH)/Makefile.os

include $(DEPTH)/Makefile.rules

help_dokolounge.txt.h: help_dokolounge.txt Makefile
	echo 'static auto const help_dokolounge = "\\' >$@
	echo 'FreeDoko -- Version " + to_string(*::version) + "\\n\\' >>$@
	< $< sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/$$/\\n\\/' >> $@
	echo '";' >> $@

