~percona-dev/percona-server/release-5.5.11-20.2-fix-bug-764138

« back to all changes in this revision

Viewing changes to build/debian/rules

  • Committer: Ignacio Nin
  • Date: 2011-03-13 17:18:23 UTC
  • mfrom: (33.3.17 release-5.5.8-20)
  • Revision ID: ignacio.nin@percona.com-20110313171823-m06xs104nekulywb
Merge changes from release-5.5.8-20 to 5.5.9

Merge changes from the release branch of 5.5.8 to 5.5.9. These include
the HandlerSocket and UDF directories and the building scripts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
 
 
3
export DH_VERBOSE=1
 
4
 
 
5
# This has to be exported to make some magic below work.
 
6
export DH_OPTIONS=--list-missing
 
7
 
 
8
CMAKE=cmake
 
9
TMP=$(CURDIR)/debian/tmp/
 
10
 
 
11
feature_set="community"
 
12
compilation_comment_release="Percona Server (GPL), Release 12.5"
 
13
server_suffix="-55"
 
14
prefix="/opt/percona/percona-server-5.5"
 
15
#prefix="/usr"
 
16
 
 
17
clean:
 
18
        dh clean
 
19
        rm -rf CMakeFiles
 
20
 
 
21
build:
 
22
        echo "Building Percona Server 12.5"
 
23
        dh_testdir
 
24
        $(CMAKE) . -DBUILD_CONFIG=mysql_release \
 
25
           -DINSTALL_LAYOUT=DEB \
 
26
           -DCMAKE_BUILD_TYPE=RelWithDebInfo \
 
27
           -DWITH_EMBEDDED_SERVER=OFF \
 
28
           -DMYSQL_UNIX_ADDR="/var/run/mysqld/mysqld.sock" \
 
29
           -DFEATURE_SET=$(feature_set) \
 
30
           -DCOMPILATION_COMMENT=$(compilation_comment_release) \
 
31
           -DMYSQL_SERVER_SUFFIX=$(server_suffix)
 
32
        dh_auto_build
 
33
        dh_auto_test
 
34
 
 
35
#binary:
 
36
#       echo "Installing Percona Server 12.5"
 
37
#       install -m 0755 debian/additions/innotop/innotop $(TMP)/$(prefix)/bin/
 
38
#       install -m 0644 debian/additions/innotop/innotop.1 $(TMP)/$(prefix)/man/man1/
 
39
#       install -m 0644 -D debian/additions/innotop/InnoDBParser.pm $(TMP)/$(prefix)/share/perl5/InnoDBParser.pm
 
40
#       dh install --list-missing
 
41
 
 
42
#binary: binary-arch binary-indep install
 
43
#       echo "Making binary"
 
44
#       dh binary
 
45
 
 
46
#binary-arch:
 
47
#       echo "Making binary-arch"
 
48
#       dh binary-arch
 
49
 
 
50
#binary-indep:
 
51
#       echo "Making binary-indep"
 
52
#       dh binary-indep
 
53
 
 
54
%:
 
55
        dh $@