25a63b7a58a20416f289e029dc7e84019d06e80f
[gnokii.git] / Docs / developers / gnokii / packaging-howto
1 \r
2  Common information:\r
3         \r
4         For more install/compilation information see the INSTALL file.\r
5         \r
6         (!) Makefiles support make install prefix=<your_directory> \r
7             for package building. You can use it example in for .spec:\r
8                 \r
9                 ./configure --prefix=/usr\r
10                 make install prefix=$RPM_BUILD_ROOT/usr\r
11 \r
12             (You not need create any dirs - all make make install.)\r
13 \r
14             For a installation procedure is used 'make install' or\r
15             'make install prefix=', and all outputs from this routine must be \r
16             correct. Please, not make any correction in your package specific \r
17             build system (example use 'cp' in package routines - .spec - \r
18             it is job for Makefiles). Write more different routines for \r
19             instalation is good way to hell...\r
20         \r
21          'make install' not install documentation, because for this use \r
22          any distribution itself routines. If you want install docs via\r
23          Makefile you must type 'make install-docs'  \r
24 \r
25  Debian:\r
26         \r
27         1/ Add new lines to Debian/changelog and set corect verion in this\r
28            file.\r
29 \r
30         2/ Check files: rules, menu, docs\r
31 \r
32         3/ Well, because gnokii's debian directory is in subdirectory \r
33            'packaging' and it is total non-standard for Debian package \r
34            building system, you must firstly type in top directory:\r
35 \r
36            # ln -s packaging/Debian debian      \r
37   \r
38         3/ In source type:\r
39 \r
40            # debian/rules binary\r
41            # debian/rules clean\r
42 \r
43         4/ Delete symlink\r
44 \r
45            # rm debian\r
46 \r
47  \r
48 \r
49  FreeBSD:\r
50 \r
51  \r
52 \r
53  RedHat:\r
54 \r
55 \r
56 \r
57 \r
58 \r
59  Win32:\r
60