~ubuntu-branches/ubuntu/precise/vamp-plugin-sdk/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Székelyi Szabolcs
  • Date: 2008-08-01 16:55:36 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080801165536-0sdrv9letuotc1pa
Tags: 1.3-1
* New upstream release
* Reverted changes made to the source in 1.2-1.1 (fixed in upstream)
* Moved doxygenerated documentation into a separate Architecture: all
  package (vamp-plugin-sdk-doc) (required giving -a to dh_* in
  binary-arch and -i in binary-indep)
* debian/rules: removed hardcoded version numbers from get-orig-source,
  relpaced with dynamic upstream version number (determined from
  debian/changelog)
* debian/control: added Homepage: control field
* Makefile: made adjustments so vamp-simple-host is now dynamically
  linked against libraries from libvamp-hostsdk2 and example plugins use
  libvamp-sdk1

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Uncomment this to turn on verbose mode.
5
5
#export DH_VERBOSE=1
6
6
 
 
7
uversion=$(shell dpkg-parsechangelog | grep ^Version: | cut -d" " -f2 | cut -d- -f1)
 
8
 
7
9
build: build-stamp
8
10
 
9
11
build-stamp:
35
37
        $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
36
38
 
37
39
binary-indep: build install
 
40
        dh_testdir
 
41
        dh_testroot
 
42
        dh_installchangelogs -i
 
43
        dh_installdocs -i
 
44
        dh_compress -i
 
45
        dh_fixperms -i
 
46
        dh_installdeb -i
 
47
        dh_gencontrol -i
 
48
        dh_md5sums -i
 
49
        dh_builddeb -i
38
50
 
39
51
binary-arch: build install
40
52
        dh_testdir
41
53
        dh_testroot
42
 
        dh_installchangelogs -A
43
 
        dh_installdocs -A
44
 
        dh_installexamples -A
45
 
        dh_install -A --sourcedir=debian/tmp
46
 
        dh_installman -A
47
 
        dh_link -A
48
 
        dh_strip -A
49
 
        dh_compress -A
50
 
        dh_fixperms
51
 
        dh_makeshlibs
52
 
        dh_installdeb
53
 
        dh_shlibdeps
54
 
        dh_gencontrol
55
 
        dh_md5sums
56
 
        dh_builddeb
 
54
        dh_installchangelogs -a
 
55
        dh_installdocs -a
 
56
        dh_installexamples -a
 
57
        dh_install -a --sourcedir=debian/tmp
 
58
        dh_installman -a
 
59
        dh_link -a
 
60
        dh_strip -a
 
61
        dh_compress -a
 
62
        dh_fixperms -a
 
63
        dh_makeshlibs -a
 
64
        dh_installdeb -a
 
65
        dh_shlibdeps -a
 
66
        dh_gencontrol -a
 
67
        dh_md5sums -a
 
68
        dh_builddeb -a
57
69
 
58
70
binary: binary-indep binary-arch
59
71
 
60
72
get-orig-source:
61
 
        wget http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-1.1b.tar.gz
62
 
        mv vamp-plugin-sdk-1.1b.tar.gz vamp-plugin-sdk_1.1b.orig.tar.gz
 
73
        wget http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-$(uversion).tar.gz
 
74
        mv vamp-plugin-sdk-$(uversion).tar.gz vamp-plugin-sdk_$(uversion).orig.tar.gz
63
75
 
64
 
.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source
 
76
.PHONY: build clean binary-indep binary-arch binary install get-orig-source