forked from keymanapp/keyman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
61 lines (41 loc) · 1.26 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/make
default: # builds only
BUILDONLY="yes" ./scripts/build.sh
clean:
rm -rf build-*
reconf: clean
./scripts/reconf.sh
configure:
CONFIGUREONLY="yes" ./scripts/build.sh
fullbuild: # configure and build
./scripts/build.sh
tmpinstall: reconf
INSTALLDIR="/tmp/keyman" ./scripts/build.sh
INSTALLDIR="/tmp/keyman" ./scripts/install.sh
install: # run as sudo
SUDOINSTALL="yes" ./scripts/install.sh
uninstall: # run as sudo
SUDOINSTALL="uninstall" ./scripts/install.sh
debnocow:
./scripts/deb.sh
sources:
./scripts/dist.sh
tmpsources:
PKG_CONFIG_PATH="../../core/build/arch/release/meson-private" ./scripts/dist.sh
origdist:
./scripts/dist.sh origdist
sourcepackage: reconf origdist
./scripts/deb.sh sourcepackage
cow: # it will prompt for sudo if required for cowbuilder
./scripts/cow.sh
deb: reconf origdist cow debnocow # it will prompt for sudo if required for cowbuilder
echo "Built dev Debian packages in builddebs/"
releasedeb: reconf origdist cow debnocow # it will prompt for sudo if required for cowbuilder
echo "Built release Debian packages in builddebs/"
nightlydist: reconf sources
echo "Built nightly source release in dist/"
check:
cd keyman-config && ./run-tests.sh
cd ibus-keyman && ./build.sh test
tmpcheck: check
tests: check