~ubuntu-branches/ubuntu/wily/glusterfs/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Patrick Matthäi
  • Date: 2011-06-26 21:00:42 UTC
  • mfrom: (1.3.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20110626210042-ps1aim0cwz06tkx1
Tags: 3.2.1-1
* New upstream release.
  - Refresh patch 02-spelling-error.
* Wrap dependencies.
* Merge libglusterfs0 and libglusterfs-dev package to glusterfs-common.
  Closes: #630147
* Use python-module.mk and remove useless python bytecode files.
  Closes: #630146

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
include /usr/share/cdbs/1/rules/debhelper.mk
6
6
include /usr/share/cdbs/1/class/autotools.mk
7
 
include /usr/share/cdbs/1/class/python-distutils.mk
 
7
include /usr/share/cdbs/1/class/python-module.mk
8
8
 
9
 
install/libglusterfs0::
 
9
install/glusterfs-common::
10
10
        for f in debian/tmp/usr/lib/glusterfs/*/xlator/debug/trace.so; do \
11
11
                debug_path=`echo "$$f" | sed -e 's|debian/tmp|debian/glusterfs-dbg/usr/lib/debug|'`; \
12
12
                install -d "`dirname $$debug_path`"; \
21
21
        find debian/tmp/usr/lib -type f -name \*.so.0.0.0 -exec chrpath -d -k {} \;
22
22
        chrpath -d -k debian/tmp/usr/sbin/glusterfsd
23
23
        chrpath -d -k debian/tmp/usr/sbin/gluster
 
24
        rm -f debian/tmp/usr/lib/glusterfs/glusterfs/python/syncdaemon/*.pyc
 
25
        rm -f debian/tmp/usr/lib/glusterfs/glusterfs/python/syncdaemon/*.pyo
24
26
 
25
27
clean::
26
28
        dh $@