.\" Manpage for mbuild. .\" Contact mail@wagnertech.de to correct errors or typos. .TH mbuild 8 "Jul 2018" GNU "WagnerTech Utilities" .SH NAME mbuild \- build system of WagnerTech UG .SH SYNOPSIS .B mbuild .SH DESCRIPTION .PP mbuild provides a simple build system based on make, git, subversion. The build process consists of 3 phases: configuration - compile - pack .TP configuration is done by the .B mconfigure script. It determins the verion number from the git/subversion status. A .B PAKET.changelog file is needed. Per default this script also performs compile and pack step. If a .B PAKET.build file is present in the debian directory, it is called with a -prepare parameter. .TP compile To perform the compile step a .B PAKET.build script is needed in the .B debian directory. .TP pack To perform the pack step a .B PAKET.cp script and a .B PAKET.control file are needed in the debian directory. If pre/post installation scripts are needed, these files must be also placed in the .B debian directory. .SH FILES .TP PAKET.changelog Example: .br projects (0.2-%BUILD%) unstable; urgency=medium * Build in svn-Umgebung -- Michael Wagner Fr 10. Aug 22:54:48 CEST 2018 .TP PAKET.build Any executable script file executing the build in the ../build directory .TP PAKET.cp An executable script file copying the artefacts to target paths preposed by $1: .br cp ../build/my_artefact $1/usr/bin/ .TP PAKET.preinst PAKET.postint PAKET.prerm PAKET.postrm Optional pre/post installation scripts .TP PAKET.control Debian control file .PP These files are expected in a .B debian directory, placed below the projects main directory. .SH SEE ALSO make(1), mconfigure(1) .SH BUGS No known bugs. .SH AUTHOR Michael Wagner (michael@wagnertech.de)