spiegel-keyman/linux/Makefile
Eberhard Beilharz ea059df541
chore(linux): Remove legacy projects
This change removes the KMFL legacy projects. They are still
available in the stable-16 branch if we need them.

Also removed some shellcheck warnings.
2023-01-26 11:51:13 +01:00

63 lines
1.3 KiB
Makefile

#!/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="../keyboardprocessor/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 && make check
tmpcheck:
cd keyman-config && ./run-tests.sh
cd build-ibus-keyman && make check
tests: check