~ubuntu-branches/ubuntu/oneiric/likewise-open/oneiric

« back to all changes in this revision

Viewing changes to build/packages/rpc/deb/rules

  • Committer: Bazaar Package Importer
  • Author(s): Scott Salley
  • Date: 2010-11-22 12:06:00 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20101122120600-8lba1fpceot71wlb
Tags: 6.0.0.53010-1
Likewise Open 6.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/make -f
2
 
 
3
 
# This has to be exported to make some magic below work.
4
 
export DH_OPTIONS
5
 
 
6
 
# Uncomment this to turn on verbose mode.
7
 
#export DH_VERBOSE=1
8
 
 
9
 
# Set the host and build architectures for use with config.cache loading,
10
 
# cross-building, etc.
11
 
DEB_HOST_GNU_TYPE       := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
12
 
DEB_BUILD_GNU_TYPE      := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
13
 
DEB_HOST_ARCH_OS        := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
14
 
 
15
 
export DEB_HOST_GNU_TYPE
16
 
export DEB_BUILD_GNU_TYPE
17
 
export DEB_HOST_ARCH_OS
18
 
pyversio := $(shell pyversions -vd)
19
 
 
20
 
#include /usr/share/quilt/quilt.make
21
 
 
22
 
DESTDIR=`pwd`/debian/tmp
23
 
PKGNAME=__PKG_NAME
24
 
PREFIX=/opt/likewise
25
 
 
26
 
 
27
 
configure: configure-stamp
28
 
configure-stamp:
29
 
        dh_testdir
30
 
 
31
 
        touch configure-stamp
32
 
 
33
 
build: build-stamp
34
 
 
35
 
build-stamp: configure-stamp
36
 
        dh_testdir
37
 
 
38
 
        touch build-stamp
39
 
 
40
 
clean:
41
 
        dh_testdir
42
 
        dh_testroot
43
 
        rm -f build-stamp configure-stamp
44
 
 
45
 
        dh_clean
46
 
 
47
 
install: build
48
 
        dh_testdir
49
 
        dh_testroot
50
 
        dh_clean -k
51
 
#       dh_installdirs -P $(DESTDIR)
52
 
        dh_installdirs
53
 
 
54
 
        ## rsync files from install prefix to $(DESTDIR)/
55
 
        rsync -a ../populate/ $(DESTDIR)/
56
 
 
57
 
        dh_install --sourcedir=$(DESTDIR)
58
 
 
59
 
 
60
 
 
61
 
# Build architecture-independent files here.
62
 
binary-indep: build install
63
 
# We have nothing to do by default.
64
 
 
65
 
# Build architecture-dependent files here.
66
 
binary-arch: build install
67
 
        dh_testdir
68
 
        dh_testroot
69
 
        dh_installchangelogs
70
 
        dh_installdocs
71
 
        dh_installexamples
72
 
#       dh_install
73
 
#       dh_installmenu
74
 
#       dh_installdebconf
75
 
#       dh_installlogrotate
76
 
#       dh_installemacsen
77
 
#       dh_installpam
78
 
#       dh_installmime
79
 
#       dh_python
80
 
        dh_installinit
81
 
#       dh_installcron
82
 
#       dh_installinfo
83
 
        dh_installman
84
 
        dh_link
85
 
        dh_strip
86
 
        dh_compress
87
 
        dh_fixperms
88
 
        dh_perl
89
 
        dh_makeshlibs
90
 
        dh_installdeb
91
 
#       dh_shlibdeps -ldebian/likewise-open/usr/lib/likewise-open
92
 
        dh_gencontrol
93
 
        dh_md5sums
94
 
        dh_builddeb
95
 
 
96
 
binary: binary-indep binary-arch
97
 
.PHONY: build clean binary-indep binary-arch binary install configure