~ubuntu-branches/ubuntu/wily/libpreludedb/wily-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Luca Falavigna
  • Date: 2013-05-30 20:42:16 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20130530204216-ip8mmv3nccjzazrp
Tags: 1.0.0-2.1
* Non-maintainer upload.
* Convert to dh_python2 (Closes: #616869).
* libmissing/stdio.in.h:
  - Do not try to warn about gets risks if it is not defined, fix
    FTBFS with eglibc 2.17 (Closes: #701403).

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        dh_installdirs
47
47
 
48
48
        $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
49
 
        # Empty out the dependency field in our .la files
50
 
        sed -i "/dependency_libs/ s/'.*'/''/" `find . -name '*.la'`
51
 
 
52
49
        find $(CURDIR)/debian/tmp -name \*.pyc -exec rm -f {} \;
 
50
        find $(CURDIR)/debian/tmp -name \*.la -delete
53
51
#       $(INSTALLD) $(TMPDIR)/etc/prelude/      \
54
52
#               $(TMPDIR)/etc/prelude/default/  \
55
53
#               $(TMPDIR)/etc/prelude/profile/  \
69
67
        dh_installdocs README
70
68
        dh_installchangelogs ChangeLog
71
69
        dh_perl
72
 
        #dh_python
73
 
        dh_pycentral -ppython-preludedb
 
70
        dh_python2 -ppython-preludedb
74
71
        dh_link
75
72
        dh_strip
76
73
        dh_compress -X.py
77
74
        dh_fixperms
 
75
        sed -i -e 's/TYPE=/ENGINE=/g' debian/libpreludedb0/usr/share/libpreludedb/classic/mysql.sql
 
76
        sed -i -e 's/TYPE=/ENGINE=/g' debian/libpreludedb0/usr/share/libpreludedb/classic/mysql2*.sh
78
77
        chmod +x debian/libpreludedb0/usr/share/libpreludedb/classic/mysql2sqlite.sh
79
78
        chmod +x debian/libpreludedb0/usr/share/libpreludedb/classic/mysql2pgsql.sh
80
79
        dh_makeshlibs