diff options
| author | David Lamparter <equinox@diac24.net> | 2018-12-11 00:18:12 +0100 |
|---|---|---|
| committer | David Lamparter <equinox@diac24.net> | 2019-02-19 21:31:18 +0100 |
| commit | 081253fcd5a07388ae034c8e1ddfc3a060cba9ca (patch) | |
| tree | 9e1b00a36224056ca95c9cfe9bc20cd5f8ce343a | |
| parent | cf3ae51c88e97452d90c31ad8f1a9b52225c7335 (diff) | |
tools/tarsource.sh: create debian changelog
Signed-off-by: David Lamparter <equinox@diac24.net>
| -rw-r--r-- | doc/developer/packaging-debian.rst | 16 | ||||
| -rwxr-xr-x | tools/tarsource.sh | 3 |
2 files changed, 8 insertions, 11 deletions
diff --git a/doc/developer/packaging-debian.rst b/doc/developer/packaging-debian.rst index 1ace8f5f78..8745bf9063 100644 --- a/doc/developer/packaging-debian.rst +++ b/doc/developer/packaging-debian.rst @@ -31,21 +31,15 @@ buster.) sudo mk-build-deps --install debian/control -5. Run ``bootstrap.sh``: - - (This step should be omitted if you are using a "debian" branch, as opposed - to the "master", a "stable/X.X" or any other non-"debian" branch.) +5. Run ``tools/tarsource.sh -V``: .. code-block:: shell - ./bootstrap.sh - ./configure --with-pkg-extra-version=-MyDebPkgVersion - - .. note:: + ./tools/tarsource.sh -V - Configure parameters are not important for the Debian Package building - - except the `with-pkg-extra-version` if you want to give the Debian - package a specific name to mark your own unoffical build. + This script sets up the `debian/changelog-auto` file with proper version + information. If you want to append a local build identifier, look at the + `-e` option. 6. Build Debian Package diff --git a/tools/tarsource.sh b/tools/tarsource.sh index 78efae3577..a197244f84 100755 --- a/tools/tarsource.sh +++ b/tools/tarsource.sh @@ -232,6 +232,9 @@ DIST_PACKAGE_VERSION="$pkgver$extraver" gitts="$gitts" taropt="$taropt" EOF + sed -e "s%@VERSION@%$pkgver$extraver%" \ + < debian/changelog-auto.in \ + > debian/changelog-auto exit 0 fi |
