~ubuntu-branches/ubuntu/trusty/raptor/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Dave Beckett
  • Date: 2014-02-05 09:40:46 UTC
  • mfrom: (2.1.19 sid)
  • Revision ID: package-import@ubuntu.com-20140205094046-7ma0gya8ea0dno2t
Tags: 1.4.21-10
Removed version build-depends on pkg-config (Closes: #734484)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
# Debian rules for packaging Raptor
4
4
#
5
5
#
 
6
 
 
7
# Replace default CDBS cleanbuilddir rule; has to be before/after definition
 
8
cleanbuilddir::
 
9
        # raw clean calls distclean deletes the docs/html documentation
 
10
        if test -r Makefile; then \
 
11
          mv docs/html docs/html.saved; \
 
12
        fi
 
13
 
6
14
include /usr/share/cdbs/1/rules/debhelper.mk
7
15
include /usr/share/cdbs/1/class/autotools.mk
8
16
include /usr/share/cdbs/1/class/makefile.mk
9
17
include /usr/share/cdbs/1/rules/autoreconf.mk
10
18
 
 
19
cleanbuilddir::
 
20
        if test -e docs/html.saved; then \
 
21
          mv docs/html.saved docs/html; \
 
22
        fi
 
23
 
11
24
DEB_INSTALL_DOCS_ALL=README NEWS AUTHORS NOTICE
12
25
 
13
26
DEB_DBG_PACKAGE_libraptor1 = libraptor1-dbg
20
33
 
21
34
LDFLAGS += -Wl,--default-symver
22
35
 
 
36
# do this or autoreconf calling libtoolize destroys the build/ directory contents
 
37
LIBTOOLIZE=libtoolize --automake --ltdl
 
38
 
 
39
# Show what dh_autoreconf is deleting / moving / restoring
 
40
DEB_DH_AUTORECONF_ARGS := --verbose
 
41
 
23
42
install/libraptor1-dev::
24
43
        cd debian/tmp/usr/lib/* && sed "/dependency_libs/ s/'.*'/''/" libraptor.la > libraptor.la.new && mv libraptor.la.new libraptor.la