spiegel-keyman/linux/Makefile
glasseyes ce9aa2b7f2 [linux] separate configure, build and install steps
build steps are now:
make configure (if needed)
make
sudo make install

or:
make fullbuild
sudo make install
2018-09-18 15:45:19 +07:00

53 lines
1.1 KiB
Makefile

#!/usr/bin/make
default: # builds only
BUILDONLY="yes" ./scripts/build.sh
reconf:
./scripts/reconf.sh
devreconf:
./scripts/reconf.sh dev
configure:
CONFIGUREONLY="yes" ./scripts/build.sh
fullbuild: # configure and build
./scripts/build.sh
tmpinstall: devreconf
INSTALLDIR="/tmp/kmfl" ./scripts/build.sh
INSTALLDIR="/tmp/kmfl" ./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
origdist:
./scripts/dist.sh origdist
sourcepackage: reconf origdist
./scripts/deb.sh sourcepackage
devsourcepackage: devreconf origdist
./scripts/deb.sh sourcepackage
cow: # it will prompt for sudo if required for cowbuilder
./scripts/cow.sh
deb: devreconf 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: devreconf sources
echo "Built nightly source release in dist/"