From 3fafa5a4e79eb11a600ab10ddeb681161e737ca0 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Mon, 7 Jun 2021 18:27:01 +0300 Subject: [PATCH 51/51] Msys2: Add Makefile.meson to git Initial version supports just building gtk3.22-client. The file is not included in tarballs as it's still an early development version only. See osdn #42483 Signed-off-by: Marko Lindqvist --- windows/installer_msys2/Makefile.meson | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 windows/installer_msys2/Makefile.meson diff --git a/windows/installer_msys2/Makefile.meson b/windows/installer_msys2/Makefile.meson new file mode 100644 index 0000000000..e1b5074df6 --- /dev/null +++ b/windows/installer_msys2/Makefile.meson @@ -0,0 +1,34 @@ +# +# Makefile for Freeciv Windows installer creation, +# using meson. +# +# See doc/README.msys2 +# + +all: gtk3.22-installer + +gtk3.22-installer: + make -f Makefile.meson GUI=gtk3.22 CLIENT=gtk3.22 FCMP=gtk3 installer-common + +installer-common: install-freeciv-$(GUI) + +install-freeciv-common: + # create build directory + mkdir -p meson-build-$(GUI) + cd meson-build-$(GUI); meson ../../.. -Dprefix=`pwd`/../meson-install-$(GUI) -Dclients=$(CLIENT) -Dfcmp=$(FCMP) -Dnls=false -Daudio=false $(EXTRA_CONFIG) + cd meson-build-$(GUI); ninja + cd meson-build-$(GUI); ninja install + +install-freeciv-gtk3.22: install-freeciv-common + + +# cleanup + +clean-build-common: + rm -rf meson-build-$(GUI) + +clean-install-common: + rm -rf meson-install-$(GUI) + +clean: + make -f Makefile.meson GUI=gtk3.22 clean-build-common clean-install-common -- 2.30.2