mirror of
https://github.com/mintty/wsltty.git
synced 2025-04-19 01:00:29 +01:00
add 'make help' and 'make wsltty' targets
This commit is contained in:
parent
4bca6510b5
commit
b4a26196eb
36
makefile
36
makefile
@ -3,11 +3,11 @@
|
|||||||
all: check pkg
|
all: check pkg
|
||||||
|
|
||||||
# wsltty release
|
# wsltty release
|
||||||
ver=0.7.3
|
ver=0.7.4
|
||||||
|
|
||||||
# mintty release version
|
# mintty release version
|
||||||
minver=2.7.3
|
minttyver=2.7.4
|
||||||
#minver=master
|
#minttyver=master
|
||||||
|
|
||||||
# wslbridge backend version
|
# wslbridge backend version
|
||||||
wslbridgever=0.2.1
|
wslbridgever=0.2.1
|
||||||
@ -18,6 +18,12 @@ wslbridgever=0.2.1
|
|||||||
# release 0.2.1 is updated and complete, no separate frontend build needed:
|
# release 0.2.1 is updated and complete, no separate frontend build needed:
|
||||||
wslbridge-frontend=
|
wslbridge-frontend=
|
||||||
|
|
||||||
|
help:
|
||||||
|
echo configure `ver=...` and `minttyver=` in this makefile
|
||||||
|
echo run `make` to build a distributable installer
|
||||||
|
echo run `make pkg` to build an installer, bypassing the system checks
|
||||||
|
echo run `make wsltty` to build an installer using the local copy of mintty
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# target checking and some defs
|
# target checking and some defs
|
||||||
|
|
||||||
@ -72,14 +78,18 @@ wslbridge-frontend:
|
|||||||
cp wslbridge-master/out/wslbridge.exe bin/
|
cp wslbridge-master/out/wslbridge.exe bin/
|
||||||
cp wslbridge-master/LICENSE.txt LICENSE.wslbridge
|
cp wslbridge-master/LICENSE.txt LICENSE.wslbridge
|
||||||
|
|
||||||
mintty:
|
mintty: mintty-get mintty-build
|
||||||
$(wgeto) https://github.com/mintty/mintty/archive/$(minver).zip -o mintty-$(minver).zip
|
|
||||||
unzip -o mintty-$(minver).zip
|
mintty-get:
|
||||||
cd mintty-$(minver)/src; make LDFLAGS="-static -static-libgcc -s"
|
$(wgeto) https://github.com/mintty/mintty/archive/$(minttyver).zip -o mintty-$(minttyver).zip
|
||||||
|
unzip -o mintty-$(minttyver).zip
|
||||||
|
|
||||||
|
mintty-build:
|
||||||
|
cd mintty-$(minttyver)/src; make LDFLAGS="-static -static-libgcc -s"
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
cp mintty-$(minver)/bin/mintty.exe bin/
|
cp mintty-$(minttyver)/bin/mintty.exe bin/
|
||||||
cp mintty-$(minver)/LICENSE LICENSE.mintty
|
cp mintty-$(minttyver)/LICENSE LICENSE.mintty
|
||||||
cd mintty-$(minver)/lang; zoo a po *.po; mv po.zoo ../../
|
cd mintty-$(minttyver)/lang; zoo a po *.po; mv po.zoo ../../
|
||||||
|
|
||||||
cygwin:
|
cygwin:
|
||||||
mkdir -p bin
|
mkdir -p bin
|
||||||
@ -88,8 +98,6 @@ cygwin:
|
|||||||
#cp /bin/dash.exe bin/
|
#cp /bin/dash.exe bin/
|
||||||
cp /bin/zoo.exe bin/
|
cp /bin/zoo.exe bin/
|
||||||
|
|
||||||
wsltty:
|
|
||||||
|
|
||||||
cab:
|
cab:
|
||||||
mkdir -p rel
|
mkdir -p rel
|
||||||
rm -fr rel/wsltty-$(ver)-install.exe
|
rm -fr rel/wsltty-$(ver)-install.exe
|
||||||
@ -108,7 +116,9 @@ cab:
|
|||||||
cp *.bat rel/
|
cp *.bat rel/
|
||||||
cd rel; iexpress /n wsltty.SED
|
cd rel; iexpress /n wsltty.SED
|
||||||
|
|
||||||
pkg: wslbridge mintty cygwin wsltty cab
|
pkg: wslbridge cygwin mintty cab
|
||||||
|
|
||||||
|
wsltty: wslbridge cygwin mintty-build cab
|
||||||
|
|
||||||
#############################################################################
|
#############################################################################
|
||||||
# end
|
# end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user