~qutim/jreen/ubuntu

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Maia Kozheva
  • Date: 2012-05-12 13:56:57 UTC
  • Revision ID: sikon@ubuntu.com-20120512135657-i1xniri2n3oxjvoc
Add multiarch support, simplify debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# -*- makefile -*-
3
 
 
4
 
# Uncomment this to turn on verbose mode.
5
 
#export DH_VERBOSE=1
6
2
 
7
3
%:
8
 
        dh $@ 
 
4
        dh $@
9
5
 
10
6
override_dh_auto_configure:
11
 
        dh_auto_configure -- -DJREEN_USE_SIMPLESASL=0
12
 
 
13
 
override_dh_auto_install:
14
 
        dh_auto_install --destdir=$(CURDIR)/debian/libjreen-dev
15
 
        mkdir -p $(CURDIR)/debian/libjreen1/usr/lib/
16
 
        find $(CURDIR)/debian/libjreen-dev/usr/lib/ -maxdepth 1 -type f \
17
 
                -exec mv {} $(CURDIR)/debian/libjreen1/usr/lib/ \;
18
 
        find $(CURDIR)/debian/libjreen-dev/usr/lib/ -maxdepth 1 \
19
 
                -type l -and -not -name '*.so' \
20
 
                -exec mv {} $(CURDIR)/debian/libjreen1/usr/lib/ \;
 
7
        dh_auto_configure -- -DJREEN_USE_SIMPLESASL=0 -DLIB_SUFFIX=/${DEB_HOST_MULTIARCH}