~ubuntu-branches/ubuntu/lucid/xen-meta/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2007-02-20 20:55:24 UTC
  • Revision ID: james.westby@ubuntu.com-20070220205524-ddtwnmqh7nd92t3p
Tags: 0.0.1-2ubuntu2
Fix FTBFS. (Thanks to geser).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
build-stamp:
13
13
        dh_clean
14
14
 
15
 
        for seed in xen-server xen-desktop; do \
 
15
        for seed in xen-server xen-desktop xen-desktop-amd64; do \
16
16
                package=ubuntu-$$seed; \
17
17
                (printf "$$package:Depends="; grep -v '^#' $$seed | perl -pe 's/\n/, /g'; echo) \
18
18
                        >> debian/$$package.substvars; \
41
41
        dh_compress -i
42
42
        dh_fixperms -i
43
43
        dh_installdeb -i
44
 
        dh_gencontrol -i
45
 
        dh_md5sums -i
46
 
        dh_builddeb -i
 
44
ifeq ($(DEB_BUILD_ARCH), amd64)
 
45
        dh_gencontrol -pubuntu-xen-desktop-amd64
 
46
        dh_md5sums -pubuntu-xen-desktop-amd64
 
47
        dh_builddeb -pubuntu-xen-desktop-amd64
 
48
else
 
49
        dh_gencontrol -pubuntu-xen-server
 
50
        dh_gencontrol -pubuntu-xen-desktop
 
51
        dh_md5sums -pubuntu-xen-server
 
52
        dh_md5sums -pubuntu-xen-desktop
 
53
        dh_builddeb -pubuntu-xen-server
 
54
        dh_builddeb -pubuntu-xen-desktop
 
55
endif
47
56
 
48
57
binary: binary-indep binary-arch
49
58