aboutsummaryrefslogtreecommitdiff
path: root/debian-pkg.wiki
blob: 5c5981c2858c89c7838c45fb5a137b95ce18b7f6 (plain)
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
from `~/pkg/deb/znc/2/sub/sub` (dir with `debian` dir)

Allmost all commands assumes that we are in the root of the code, so
probably the root directory of the extracted tarball, and that
`debian/` is direct child off us.


{{{
uscan
}}}
Checks the file debian/watch and downloads the latest version (if
available)

debian/rules build
fakeroot debian/rules binary
}}}


--------------------------------------------------
https://www.debian.org/doc/manuals/debmake-doc/ch01.en.html

- tar xvf package-1.0.tar.gz
- cd package-1.0
- debmake # creates debian directory
- # do changes in debian dir
- debbuild # builds package