aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/debian/README.Debian
blob: a544b75ab9beb803899cdc99c17577dbeb6f0f54 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
config-links for Debian
----------------------

There's a Vagrantfile to make maintenance easier.  To start, use `vagrant up`,
then `vagrant ssh`.

There're a bunch of useful one-liners in Makefile.  Everything is built in
debian/build-area/.

  * Merge the new version to the debian branch:

      git merge TAG

  * Add a changelog entry (you'll need to fix & commit it manually):

      make dch

  * Make a source package:

      make src
      make src/test  # Ignores uncommitted changes.

  * Make a binary package:

      make bin
      make bin/test  # Ignores uncommmited changes.

  * Commit the changes:

      git add changelog
      make commit
      make tag

  * Upload the source package to the PPA:

      make upload

    To make the package available for different Ubuntu distributions, copy the
    package binaries on Launchpad.  I dread the day when this becomes
    impossible.

  * Make a binary package using pbuilder (useful for testing that the package
    builds on a particular distribution):

      make dist/create DIST=focal
      make dist/update DIST=focal
      make dist        DIST=focal
      make dist/test   DIST=focal  # Ignores uncommitted changes.

 -- Egor Tensin <Egor.Tensin@gmail.com>  Wed, 28 Apr 2021 21:14:04 +0000