~scarneiro/ubuntu/raring/adns/fix-for-ignored-make-clean-errors

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Joshua Kwan
  • Date: 2004-03-31 11:18:30 UTC
  • Revision ID: james.westby@ubuntu.com-20040331111830-vdq1l40lbh299pk0
Tags: 1.0-8.2
* NMU tweak
* Change libadns1-dev's section to libdevel to get it aligned with
  the override file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
#export DH_VERBOSE=1
7
7
 
8
8
# This is the debhelper compatability version to use.
9
 
export DH_COMPAT=1
 
9
export DH_COMPAT=3
10
10
 
11
11
# shared library versions
12
12
major=${shell echo `grep ^MAJOR settings.make.in | cut -d= -f2`}
37
37
        dh_testroot
38
38
        dh_clean -k
39
39
        dh_installdirs
40
 
        $(MAKE) install prefix=`pwd`/debian/tmp/usr
 
40
        $(MAKE) install prefix=`pwd`/debian/libadns$(major)-dev/usr
41
41
 
42
42
 
43
43
# Build architecture-independent files here.
49
49
#       dh_testversion
50
50
        dh_testdir
51
51
        dh_testroot
52
 
        dh_movefiles -plibadns$(major)-bin         \
 
52
        dh_movefiles --sourcedir=debian/libadns$(major)-dev -plibadns$(major)-bin         \
53
53
                usr/bin/adnshost                   \
54
54
                usr/bin/adnslogres                 \
55
55
                usr/bin/adnsresfilter
56
 
        dh_movefiles -plibadns$(major)             \
 
56
        dh_movefiles --sourcedir=debian/libadns$(major)-dev -plibadns$(major)             \
57
57
                usr/lib/libadns.so.$(major)        \
58
58
                usr/lib/libadns.so.$(version)
59
 
        ( cd debian/tmp/usr/lib/ && ln -s libadns.so.${version} libadns.so )
 
59
        ( cd debian/libadns$(major)-dev/usr/lib/ && ln -s libadns.so.${version} libadns.so )
 
60
        rmdir debian/libadns$(major)-dev/usr/bin
60
61
        dh_installdocs
61
62
        dh_installmanpages
62
63
        dh_undocumented