mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-05 00:15:32 +00:00
We no longer build with pbuilder/cowbuilder, so this change removes that unnecessary code. This also changes the `deb.sh` script which no longer needs parameters since it's only purpose is now to build the source package, and removes the no-longer needed targets from `Makefile`. This solves #9356 as good as possible. We still have the list of distributions in two places, but I don't see a way to import the list of distributions to the packaging GHA. Fixes: #9356
49 lines
887 B
Makefile
49 lines
887 B
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
|
|
|
|
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
|
|
|
|
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
|