~ubuntu-branches/ubuntu/wily/libcoverart/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Sebastian Ramacher
  • Date: 2015-07-08 19:41:51 UTC
  • mfrom: (3.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20150708194151-477fr0q53mlc7azn
Tags: 1.0.0+git20150706-2
Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
4
4
 
5
5
%:
6
 
        dh $@ --parallel --builddirectory=$(CURDIR)
7
 
 
8
 
override_dh_auto_clean:
9
 
        dh_auto_clean
10
 
        rm -rf docs
11
 
        # This needs to be fixed in upstream's build system.
12
 
        rm -f CMakeCache.txt \
13
 
                Doxyfile \
14
 
                Makefile \
15
 
                config.h \
16
 
                install_manifest.txt \
17
 
                libcoverart.pc \
18
 
                ImportExecutables.cmake
19
 
        find -name CMakeFiles -print | xargs /bin/rm -rf
20
 
        find -name Makefile -delete
21
 
        find -name cmake_install.cmake -delete
 
6
        dh $@ --parallel
22
7
 
23
8
override_dh_auto_configure:
24
9
        dh_auto_configure -- \
25
10
                -DLIB_SUFFIX=/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
26
11
 
27
12
override_dh_auto_build-indep:
28
 
        $(MAKE) docs
29
 
        rm docs/jquery.js
30
 
        ln -s /usr/share/javascript/jquery/jquery.js docs/jquery.js
 
13
        dh_auto_build -- docs
 
14
        find obj-*/docs -name *.md5 -delete
 
15
        find obj-*/docs -name jquery.js -delete
31
16
 
32
17
override_dh_auto_test-indep override_dh_auto_install-indep:
33
18
        # no tests and install for indep
35
20
override_dh_strip:
36
21
        dh_strip --dbg-package=libcoverart-dbg
37
22
 
38
 
override_dh_makeshlibs:
39
 
        dh_makeshlibs -V 'libcoverart0 (>= 1.0)'
40
 
 
41
23
override_dh_installchangelogs:
42
24
        dh_installchangelogs NEWS.txt
43
25
 
44
26
DEB_DEBDIR=$(dir $(firstword $(MAKEFILE_LIST)))
45
27
DEB_UPSTREAM_VER=$(shell dpkg-parsechangelog -l$(DEB_DEBDIR)/changelog \
46
28
        | sed -ne 's/^Version: \(.*\)-[^-]*/\1/p' | sed -ne 's/^\([^+]*\)+git.*/\1/p')
47
 
COMMIT=39dd2c520b6c225b3c3186553bfe89f37f403a41
 
29
COMMIT=3e8e68e971f632dd85788e738d3e5a3bd3d08b07
48
30
get-orig-source:
49
31
        TMPD=`mktemp -d` && \
50
32
                git clone https://github.com/metabrainz/libcoverart \