~ubuntu-branches/ubuntu/precise/python-poppler/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Andrea Gasparini
  • Date: 2009-10-26 15:51:00 UTC
  • Revision ID: james.westby@ubuntu.com-20091026155100-yd7ar2clep8cgrg2
Tags: 0.10.0-1ubuntu1
debian/rules: handle correctly install of -dbg package with python2.6 
(LP: #359815)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
 
3
include /usr/share/python/python.mk
 
4
 
3
5
DEB_AUTO_CLEANUP_RCS    := yes
4
6
PYTHONS := $(shell pyversions -vr debian/control)
5
7
 
53
55
        for pyvers in ${PYTHONS}; do\
54
56
                (cd build/py$${pyvers}-dbg/;\
55
57
                DESTDIR=$(CURDIR)/debian/python-poppler-dbg $(MAKE) install);\
56
 
                mv $(CURDIR)/debian/python-poppler-dbg/usr/lib/python$$pyvers/site-packages/poppler.so $(CURDIR)/debian/python-poppler-dbg/usr/lib/python$$pyvers/site-packages/poppler_d.so ;\
 
58
                mv $(CURDIR)/debian/python-poppler-dbg/$(call py_libdir_sh,$$pyvers)/poppler.so $(CURDIR)/debian/python-poppler-dbg/$(call py_libdir_sh,$$pyvers)/poppler_d.so ;\
57
59
        done
58
60
        find debian -name "*.la" -exec rm -f {} \;
59
61
        #rm -rf $(CURDIR)/debian/python-poppler-dbg/debug;\