From 077c4709db5618557a6c300955e8855914a35e1c Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Wed, 4 Sep 2024 15:30:45 +0200 Subject: [PATCH] [djgpp] Copy gettext files and elinks.exe to ~/ELINKS --- docker/djgpp/mes_djgpp_js.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docker/djgpp/mes_djgpp_js.sh b/docker/djgpp/mes_djgpp_js.sh index 1492410b..a1ac260c 100755 --- a/docker/djgpp/mes_djgpp_js.sh +++ b/docker/djgpp/mes_djgpp_js.sh @@ -74,4 +74,16 @@ i586-pc-msdosdjgpp-strip /tmp/builddir2/src/elinks.exe upx /tmp/builddir2/src/elinks.exe +# prepare zip +rm -rf $HOME/ELINKS + +mkdir -p $HOME/ELINKS/src +mkdir -p $HOME/ELINKS/po + +install /tmp/builddir2/src/elinks.exe $HOME/ELINKS/src/elinks.exe + +cd /tmp/builddir2/po +for i in *; do cp -v $i/LC_MESSAGES/elinks.mo $HOME/ELINKS/po/$i.gmo; done +cd - + #cp -a /tmp/builddir2/src/elinks.exe ~/.dosemu/drive_c/ELINKS/src/