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.
64 If files are present to be placed unter /etc a conffiles is creates to avoid changes made by the administrator.
71 projects (0.2-%BUILD%) unstable; urgency=medium
72 * Build in svn-Umgebung
73 -- Michael Wagner <michael@wagnertech.de> Fr 10. Aug 22:54:48 CEST 2018
76 Any executable script file executed in configure step
79 Any executable script file executed in configure step in the ../build directory
82 Any executable script file executing the build in the ../build directory
85 cmake file (CMakeLists.txt) for building C/C++ code. If a cross compile option is set in the mconfigure
86 script, according definitions are included.
89 An executable script file copying the artefacts to target paths preposed by $1:
91 cp ../build/my_artefact $1/usr/bin/
93 PAKET.preinst PAKET.postint PAKET.prerm PAKET.postrm
94 Optional pre/post installation scripts
99 These files are expected in a
101 directory, placed below the projects main directory.
103 make(1), mconfigure(1)
107 Michael Wagner (michael@wagnertech.de)