~ignacio-nin/percona-xtrabackup/2.0-test-noarch

« back to all changes in this revision

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

  • Committer: Stewart Smith
  • Date: 2012-10-31 05:38:46 UTC
  • mfrom: (471.2.5 lintian-fixes)
  • Revision ID: stewart@flamingspork.com-20121031053846-fuh0lljc82i28o9h
merge lintian fixes

Show diffs side-by-side

added added

removed removed

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