Last change
on this file since 2554 was 319, checked in by bcornec, 19 years ago |
- split build architecture to allow for multiple packages generation (rpms, debs, ebuild, ...)
- only prepared for rpms and debs at the moment
Use tools/mkrpm to generate all the RPMs
Use tools/mkdeb (to be coded correctly) to generate all the debs
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Id
|
File size:
566 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 | #
|
---|
3 | # Creates deb environment from SVN repository
|
---|
4 | #
|
---|
5 | # $Id: deb-env 319 2006-01-14 10:44:12Z bcornec $
|
---|
6 | #
|
---|
7 |
|
---|
8 | dname=`dirname $0`
|
---|
9 | prem=`echo $dname |cut -c1`
|
---|
10 | if [ ${prem} == "/" ]; then
|
---|
11 | export TOOLHOME=$dname
|
---|
12 | else
|
---|
13 | export TOOLHOME=${PWD}/$dname
|
---|
14 | fi
|
---|
15 |
|
---|
16 | . $TOOLHOME/common-env
|
---|
17 |
|
---|
18 | # Should not be modified below
|
---|
19 | dname=`dirname $0`
|
---|
20 |
|
---|
21 | # TBD
|
---|
22 | export TOPDIR=${BASE}/debs
|
---|
23 | mkdir -p ${TOPDIR}
|
---|
24 |
|
---|
25 | if [ -e /etc/debian-release ]; then
|
---|
26 | export ddir="debian"
|
---|
27 | export dver=`awk '{print $4}' /etc/debian-release`
|
---|
28 | export suf=".`echo $dver | sed 's/\.//'`mdk"
|
---|
29 | fi
|
---|
30 |
|
---|
31 | if [ _"$suf" = _"" ]; then
|
---|
32 | export suf=".${ddir}${dver}"
|
---|
33 | fi
|
---|
Note:
See
TracBrowser
for help on using the repository browser.