Stripped CDBS-specific parts from d/README.source
Gbp-Dch: ignore
IOhannes m zmölnig (Debian/GNU)
2 years ago
11 | 11 | binary diffs of tarballs stored using pristine-tar. This is documented |
12 | 12 | below /usr/share/doc/git-buildpackage/manual-html/ . |
13 | 13 | |
14 | A custom build target shows current upstream and packaging versions: | |
15 | ||
16 | debian/rules print-version | |
17 | ||
18 | Current upstream tarball can be prepared using this other build target: | |
19 | ||
20 | debian/rules get-orig-source | |
21 | ||
22 | To switch to newer upstream source, first add a dummy changelog entry | |
23 | and comment out DEB_UPSTREAM_TARBALL_MD5 before getting the source: | |
24 | ||
25 | dch -v ${new_upstream_version}-1 "Dummy changelog entry" | |
26 | sed -i -e 's/^\(DEB_UPSTREAM_TARBALL_MD5\b\)/#\1/' debian/rules | |
27 | debian/rules get-orig-source | |
28 | ||
29 | Store new md5sum to help ensure identical source is received later. | |
30 | ||
31 | Setting DEB_MAINTAINER_MODE=1 enables additional build routines helpful | |
32 | during development of the package, but unfit for normal builds. This | |
33 | typically includes the CDBS feature of auto-updating debian/control with | |
34 | CDBS-related build-dependencies, which is forbidden by Debian Policy as | |
35 | build environment must not change during automated builds. | |
36 | ||
37 | ||
38 | Maintaining packaging build routines | |
39 | ------------------------------------ | |
40 | ||
41 | This source package wraps debhelper commands and other tedious parts of | |
42 | the build routines using the CDBS framework. Please refer to the actual | |
43 | makefile snippets included from debian/rules for details on their | |
44 | purpose and ways to override defaults. Additionally, makefile snippets | |
45 | included from below /usr/share/cdbs may also be documented in | |
46 | /usr/share/doc/cdbs/cdbs-doc.pdf.gz . | |
47 | ||
48 | ||
49 | -- Jonas Smedegaard <dr@jones.dk> Thu, 26 Feb 2009 21:28:29 +0100 | |
14 | -- IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> Thu, 09 Sep 2021 16:09:45 +0200 |