View | Details | Raw Unified | Return to bug 5602
Collapse All | Expand All

(-)a/debian/README.build (-5 / +5 lines)
Lines 1-4 Link Here
1
In order to build .deb packages, following debian packages need to be present (installed):
1
In order to build .deb packages, following debian packages need to be present
2
(installed): 
2
devscripts
3
devscripts
3
pbuilder
4
pbuilder
4
dh-make
5
dh-make
Lines 7-13 fakeroot Link Here
7
As root (or sudo) execute:
8
As root (or sudo) execute:
8
pbuilder create
9
pbuilder create
9
10
10
Executing build-git-snapshot without any arguments will leave package and the rest in some pbuilder dir, eg. /var/cache/pbuilder/result
11
Executing build-git-snapshot without any arguments will leave package and the
11
It is highly recommended that --buildresult option is used.
12
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
12
13
recommended that --buildresult option is used.
13
The script requires sudo.
(-)a/debian/build-git-snapshot (-4 / +4 lines)
Lines 17-23 Link Here
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
17
# with Koha; if not, write to the Free Software Foundation, Inc.,
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
19
19
20
# Written by Robin Sheat <robin@catalyst.net.nz>
20
# Written by Robin Sheat <robin@catalyst.net.nz> and
21
#   Srdjan Jankovic <srdjan@catalyst.net.nz>
21
# Based on an sh version by Lars Wirzenius.
22
# Based on an sh version by Lars Wirzenius.
22
23
23
use strict;
24
use strict;
Lines 29-35 use POSIX qw/strftime/; Link Here
29
my $buildresult;
30
my $buildresult;
30
my $distribution='squeeze-dev';
31
my $distribution='squeeze-dev';
31
my $git_checks='all';
32
my $git_checks='all';
32
my $version='3.3-1~git';
33
my $version='3.5-1~git';
33
my $auto_version=1;
34
my $auto_version=1;
34
my $need_help;
35
my $need_help;
35
my $debug;
36
my $debug;
Lines 99-105 Options: Link Here
99
        tracked files with untracked changes will cause an error), and 'none'
100
        tracked files with untracked changes will cause an error), and 'none'
100
        (checking git status is skipped totally.) Default is 'all'.
101
        (checking git status is skipped totally.) Default is 'all'.
101
    --version, -v
102
    --version, -v
102
        the version string for the resulting package. Default is '3.3-1~git'.
103
        the version string for the resulting package. Default is '3.5-1~git'.
103
    --(no)autoversion
104
    --(no)autoversion
104
        whether or not to use the date and git commit ID in the version value.
105
        whether or not to use the date and git commit ID in the version value.
105
        Default is to include it.
106
        Default is to include it.
106
- 

Return to bug 5602