posaune
[projects.git] / doc / mbuild.8
index 6b0e67f..3c26a7c 100644 (file)
@@ -17,6 +17,20 @@ 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.prepare
+file is present in the debian directory, it is called.
+
+If a
+.B PAKET.build
+file is present in the debian directory, it is called with a -prepare parameter (deprecated).
+The current tree is rsync_ed to ~/build.
+
+If a
+.B PAKET.prebuild
+file is present in the debian directory, it is called in the ~/build directory.
+
 .TP
 compile
 To perform the compile step a
@@ -28,10 +42,17 @@ directory.
 pack
 To perform the pack step a
 .B PAKET.cp
-script is needed in the debian directory. If pre/post installation scripts
+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.
+.br
+A standard copyright file is included. An user defined file can be used by copying it to debian/copyright
+in the PAKET.prepare script.
+.br
+A standard README.debian file is included. An user defined file can be used by defining a debian/PAKET.README.debian.
 .SH FILES
 .TP
 PAKET.changelog
@@ -41,6 +62,12 @@ projects (0.2-%BUILD%) unstable; urgency=medium
   * Build in svn-Umgebung
  -- Michael Wagner <michael@wagnertech.de>  Fr 10. Aug 22:54:48 CEST 2018
 .TP
+PAKET.prepare
+Any executable script file executed in configure step
+.TP
+PAKET.prebuild
+Any executable script file executed in configure step in the ../build directory
+.TP
 PAKET.build
 Any executable script file executing the build in the ../build directory
 .TP
@@ -51,6 +78,9 @@ 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