~jochym/+junk/release-0.7.2

« back to all changes in this revision

Viewing changes to debian/indi-apogee/rules

  • Committer: slovin
  • Date: 2010-11-20 15:12:46 UTC
  • Revision ID: svn-v4:9c175fe9-5d0d-0410-980a-8e27439c3501:trunk:400
Updated for maverick ppa release

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
clean::
3
 
        dh_testdir
4
 
        dh_clean
5
 
        rm -rf debian/tmp 
6
 
 
7
 
d:=debian/tmp
8
 
version:=1.0
9
 
 
10
 
build: 
11
 
        mkdir -p $(d)
12
 
        cmake -DCMAKE_INSTALL_PREFIX=$(d)/usr .
13
 
 
14
 
install: build
15
 
        dh_testdir
16
 
        dh_testroot
17
 
        dh_clean -k 
18
 
        dh_installdirs
19
 
        make install
20
 
 
21
 
binary-indep:
22
 
        # nothing to do
23
 
 
24
 
binary-arch: build install
25
 
        dh_testdir
26
 
        dh_testroot
27
 
        dh_installdocs
28
 
        dh_installchangelogs
29
 
        dh_install -s --sourcedir=debian/tmp
30
 
        dh_link -s
31
 
        dh_compress
32
 
        dh_fixperms
33
 
        dh_installdeb
34
 
        dh_gencontrol
35
 
        dh_installdeb -s
36
 
        dh_shlibdeps -s
37
 
        dh_gencontrol -s
38
 
        dh_md5sums -s
39
 
        dh_builddeb -s
40
 
 
41
 
binary: binary-indep binary-arch
42
 
.PHONY: build clean binary-indep binary-arch binary
 
2
 
 
3
include /usr/share/cdbs/1/class/cmake.mk
 
4
include /usr/share/cdbs/1/rules/debhelper.mk
 
5