autoreconf -i# delete old generated configuration files and overwrite them# generate new files with verbose outputautoreconf -f -i -v# Purge all generated filesautoreconf -p
autogen.sh is custom script written by developer
#!/bin/shset -eautoreconf -f --install --verbose
Generate Makefile from
configure.ac
Makefile.am
./configure# see all options./configure --help# change final installation directory./configure --prefix=$HOME/.local# machine where compilation will happen./configure --build="aarch64-unknown-linux-gnu"# --enable-<feature> / --disable-<feature>./configure --disable-gui# --with-<package> / --without-<package>./configure --with-openssl# pass compilation environment variables./configure CFLAGS="-O3 -march=native" LDFLAGS="-L/usr/local/custom-lib"# enable debugging./configure --enable-debug
GNU Make
Compile
make# Run 3 jobs in parallelmake -j3
Install to your system
sudo make install# install to temporary destination# see how the software will get installedsudo make install DESTDIR=/tmp/pkg-root# dry run# prints all instructions for installationmake install -nmake install --just-print