summaryrefslogtreecommitdiff
path: root/debian/README.Debian
blob: 0bf2d3d342ce5ebc59e0c225937969f19087d86d (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
someproject for Debian
------------------

o How do i build this module the debian way?

- Building with module-assistant

$ m-a a-i someproject

(for kernel source or headers in non-standard directory, add the option 
-k /path/to/kernel/source with the correct path)

- Building with make-kpkg

$ cd /usr/src/
$ ta jxvf someproject.tar.bz2
$ cd /usr/src/kernel-source-2.6.9
$ make-kpkg --added-modules=someproject modules

- Building without make-kpkg

$ cd /usr/src/
$ tar jxvf someproject.tar.bz2
$ cd modules/someproject
$ fakeroot debian/rules kdist_image

(no fakeroot needed if you run this as root)