#!/bin/bash set -e # Change to the source directory cd sources/xz echo "Installing xz..." # Install to the specified destination directory make install DESTDIR=${DESTDIR} prefix=${PREFIX} libdir=${LIBDIR} mandir=${MANDIR} infodir=${INFODIR} datadir=${DATADIR} echo "Installation completed."