From c00b23941e63bcdd7b3f988efbde961ed25164a2 Mon Sep 17 00:00:00 2001 From: Paul Duncan Date: Tue, 15 Jan 2019 20:09:14 -0500 Subject: add minimal src/msi/readme.txt --- meson.build | 2 +- src/msi/README.md | 22 ------------------ src/msi/readme.txt | 3 +++ src/msi/sok.wxs | 67 ++++++++++++++++++++++++++++++++++++++---------------- 4 files changed, 51 insertions(+), 43 deletions(-) delete mode 100644 src/msi/README.md create mode 100644 src/msi/readme.txt diff --git a/meson.build b/meson.build index f3f4600..d78e81f 100644 --- a/meson.build +++ b/meson.build @@ -54,7 +54,7 @@ custom_target('msi', wixl, '-o', '@OUTPUT@', '-D', 'BUILD_DIR=.', - '-D', 'ASSETS_DIR=../assets', + '-D', 'SRC_ROOT_DIR=' + meson.source_root(), '-D', 'SDL_LIB_DIR=' + MSI_SDL_LIB_DIR, '@INPUT@', ] diff --git a/src/msi/README.md b/src/msi/README.md deleted file mode 100644 index 7d420f5..0000000 --- a/src/msi/README.md +++ /dev/null @@ -1,22 +0,0 @@ -Generate MSI installer for Windows. - -Setup: - - apt-get install wixl - -Build (using sok.msi build target): - - ninja sok.msi - -Dependencies: - -* `SDL2-devel` (from libsdl.org) -* `SDL2_ttf-devel` (from libsdl.org) - -Example (generate by hand): - - # generate sok.msi - wixl -o sok.msi \ - -D BUILD_DIR=../../build-w64 \ - -D SDL_LIB_DIR=/usr/local/x86_64-w64-mingw32/bin \ - sok.wxs diff --git a/src/msi/readme.txt b/src/msi/readme.txt new file mode 100644 index 0000000..1b7ac5a --- /dev/null +++ b/src/msi/readme.txt @@ -0,0 +1,3 @@ +Pablotron Sokoban README +======================== +Blah blah blah diff --git a/src/msi/sok.wxs b/src/msi/sok.wxs index be830d0..d1bcfa9 100644 --- a/src/msi/sok.wxs +++ b/src/msi/sok.wxs @@ -1,24 +1,30 @@