aboutsummaryrefslogtreecommitdiff
path: root/debian-pkg.wiki
blob: ee0efe985423f6c411d75be97e80c8d4a7f4b51f (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
27
28
[[Debian Packages]]

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