1 .\" Manpage for mbuild.
2 .\" Contact mail@wagnertech.de to correct errors or typos.
3 .TH mbuild 8 "Jul 2018" GNU "WagnerTech Utilities"
5 mbuild \- build system of WagnerTech UG
10 mbuild provides a simple build system based on make, git, subversion. The build process
11 consists of 3 phases: configuration - compile - pack
16 script. The configuration step has the following tasks:
18 Determination of version and build number. The version number can be set in a
20 file, can be set by the -v option of
22 or be set by the project itself in the
24 script. The build number is always taken from the CM system: With SVN it is the global version number, with
25 GIT the build number is taken from the tag. On build a tag in the form project_version-build is expected. If not
26 present a tag in the form v_version-build is searched. Verion may be 0.0 if set elsewhere.
30 file is present in the debian directory, it is called.
34 file is present in the debian directory, it is called with a -prepare parameter (deprecated).
35 The current tree is rsync_ed to ~/build.
39 file is present in the debian directory, it is called in the ~/build directory.
43 To perform the compile step a
52 To perform the pack step a
56 file are needed in the debian directory. If pre/post installation scripts
57 are needed, these files must be also placed in the
61 A standard copyright file is included. An user defined file can be used by copying it to debian/copyright
62 in the PAKET.prepare script.
70 projects (0.2-%BUILD%) unstable; urgency=medium
71 * Build in svn-Umgebung
72 -- Michael Wagner <michael@wagnertech.de> Fr 10. Aug 22:54:48 CEST 2018
75 Any executable script file executed in configure step
78 Any executable script file executed in configure step in the ../build directory
81 Any executable script file executing the build in the ../build directory
84 cmake file (CMakeLists.txt) for building C/C++ code. If a cross compile option is set in the mconfigure
85 script, according definitions are included.
88 An executable script file copying the artefacts to target paths preposed by $1:
90 cp ../build/my_artefact $1/usr/bin/
92 PAKET.preinst PAKET.postint PAKET.prerm PAKET.postrm
93 Optional pre/post installation scripts
98 These files are expected in a
100 directory, placed below the projects main directory.
102 make(1), mconfigure(1)
106 Michael Wagner (michael@wagnertech.de)