~ubuntu-branches/ubuntu/oneiric/cecil/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Iain Lane, Iain Lane, Jo Shields
  • Date: 2011-08-07 22:38:20 UTC
  • mfrom: (1.1.7 upstream) (6.1.6 experimental)
  • Revision ID: james.westby@ubuntu.com-20110807223820-nfdm4q0pk2smjm11
Tags: 0.9.5+dfsg-1
[ Iain Lane ]
* [411dc78] Update to use my d.o email address
* [74bedaf] Disable clilibs; this is an unstable library
  apps grow unnecessary depends otherwise
* [5288c1f] Mangle debian version in watch file to take care of repacking.
  Also update watch file to look at new github location for tarballs
* [8f7110f] Relax version restriction on cli-common-dev; anything from 0.8
  will do

[ Jo Shields ]
* [e846eb8] Imported Upstream version 0.9.5+dfsg
* [3017d96] Bump build dependencies, as we're building for Mono 2.10 now.
* [27c2cff] Set to DebSrc 3.0, so we can apply patches via Quilt.
* [d0447b3] Update build to use XBuild, not manual compiler invocation.
* [08d2b92] Patch to avoid building tests (which rely on NUnit 2.4)
* [fa5a033] Update install file to include all new assemblies and locations.
* [43bd1e2] Since upstream no longer ships a pcfile, add our own.
* [942ead4] Don't try to ship a Changelog when none exists.
* [ba8232d] Erase obj/ folders in clean rule.
* [090af34] Exclude modulerefs on Windowsy libraries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
UPVERSION = $(shell dpkg-parsechangelog | grep ^Vers | cut -d\  -f2 | sed 's,-.*,,')
10
10
 
11
11
override_dh_auto_build:
12
 
        # build Mono.Cecil.dll
13
 
        cd Mono.Cecil && mono-csc -keyfile:/usr/share/cli-common/keys/mono.snk \
14
 
                @Mono.Cecil.dll.sources /target:library \
15
 
                /out:Mono.Cecil.dll
 
12
        xbuild /property:Configuration=net_4_0_Release
 
13
 
16
14
        sed -e 's;@prefix@;/usr;g' \
17
15
                -e 's;^Version:.*;Version:\ $(UPVERSION);g' \
18
 
                -e 's;lib/Mono.Cecil$$;lib/mono-cecil;g' \
19
 
                Mono.Cecil/mono-cecil.pc.in > Mono.Cecil/mono-cecil.pc
20
 
 
21
 
        # build Mono.Cecil.Mdb.dll, needs newer mono!
22
 
        # cd Mono.Cecil.Mdb && mono-csc -keyfile:../debian/mono.snk \
23
 
        #       @Mono.Cecil.Mdb.dll.sources /target:library \
24
 
        #       /r:../Mono.Cecil/Mono.Cecil.dll \
25
 
        #       /r:Mono.CompilerServices.SymbolWriter.dll
26
 
        #       /out:Mono.Cecil.Mdb.dll 
27
 
 
28
 
 
29
 
#       cd debian && al -link:policy.0.5.Mono.Cecil.config \
30
 
                    -out:policy.0.5.Mono.Cecil.dll \
31
 
                    -keyfile:mono.snk
 
16
                debian/mono-cecil.pc.in > Mono.Cecil/mono-cecil.pc
 
17
 
 
18
override_dh_clean:
 
19
        rm -f Mono.Cecil/mono-cecil.pc
 
20
        find . -type d -name obj -exec rm -rf {} \;
 
21
        dh_clean
 
22
 
 
23
override_dh_clideps:
 
24
        dh_clideps --exclude-moduleref=ole32.dll
 
25
 
 
26
# no clilibs — private library
 
27
override_dh_makeclilibs:
32
28
 
33
29
%:
34
30
        dh $@