~akopytov/percona-xtrabackup/bug1166888-2.0

« back to all changes in this revision

Viewing changes to utils/debian-dummy-rules.patch

  • Committer: Alexey Kopytov
  • Date: 2013-03-13 05:05:16 UTC
  • mfrom: (504.10.3 2.0)
  • Revision ID: akopytov@gmail.com-20130313050516-9wrm6407ovztrdjh
MergedĀ lp:~akopytov/percona-xtrabackup/basic-56-support-2.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
=== modified file 'utils/debian/rules'
2
2
--- utils/debian/rules  2012-04-18 03:26:07 +0000
3
3
+++ utils/debian/rules  2012-04-18 16:15:15 +0000
4
 
@@ -40,15 +40,11 @@
 
4
@@ -40,18 +40,12 @@
5
5
 build-stamp:  config.status 
6
6
        dh_testdir
7
7
 
14
14
-
15
15
-       AUTO_DOWNLOAD=yes ./utils/build.sh xtradb55
16
16
-       cp src/xtrabackup_55 .
 
17
-
 
18
-       AUTO_DOWNLOAD=yes ./utils/build.sh xtradb56
 
19
-       cp src/xtrabackup_56 .
17
20
+       # Dummy binaries that avoid compilation
18
21
+       echo 'main() { return 300; }' | gcc -x c - -o xtrabackup
19
22
+       echo 'main() { return 300; }' | gcc -x c - -o xtrabackup_51
20
23
+       echo 'main() { return 300; }' | gcc -x c - -o xtrabackup_55
 
24
+       echo 'main() { return 300; }' | gcc -x c - -o xtrabackup_56
21
25
+       echo 'main() { return 300; }' | gcc -x c - -o xbstream
22
26
 
23
27
        #docbook-to-man debian/xtrabackup.sgml > xtrabackup.1