~ubuntu-branches/debian/sid/aa3d/sid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Uwe Hermann
  • Date: 2005-04-13 22:19:44 UTC
  • Revision ID: james.westby@ubuntu.com-20050413221944-0pylwfa6zfk3ujar
Tags: 1.0-4
* Distinguish between Copyright Holder and License in debian/copyright
  (Closes: #302945, #302890).
* Removed article from short description (see developers reference).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# Sample debian/rules that uses debhelper.
3
 
# GNU copyright 1997 to 1999 by Joey Hess.
4
 
 
5
 
# Uncomment this to turn on verbose mode.
6
 
#export DH_VERBOSE=1
7
 
 
8
 
# This is the debhelper compatability version to use.
9
 
export DH_COMPAT=3
10
 
 
11
 
configure: configure-stamp
12
 
configure-stamp:
13
 
        dh_testdir
14
 
        touch configure-stamp
15
 
 
16
 
build: configure-stamp build-stamp
17
 
build-stamp:
18
 
        dh_testdir
19
 
        $(MAKE)
20
 
        touch build-stamp
21
 
 
22
 
clean:
23
 
        dh_testdir
24
 
        dh_testroot
25
 
        rm -f build-stamp configure-stamp
26
 
        -$(MAKE) clean
27
 
        dh_clean
28
 
 
29
 
install: build
30
 
        dh_testdir
31
 
        dh_testroot
32
 
        dh_clean -k
33
 
        dh_installdirs
34
 
 
 
2
 
 
3
include /usr/share/cdbs/1/rules/debhelper.mk
 
4
include /usr/share/cdbs/1/class/makefile.mk
 
5
 
 
6
common-install-prehook-arch::
35
7
        install aa3d $(CURDIR)/debian/aa3d/usr/bin
36
8
        install -m 0644 logo pyramid $(CURDIR)/debian/aa3d/usr/share/aa3d
37
9
 
38
 
# Build architecture-independent files here.
39
 
binary-indep: build install
40
 
# We have nothing to do by default.
41
 
 
42
 
# Build architecture-dependent files here.
43
 
binary-arch: build install
44
 
        dh_testdir
45
 
        dh_testroot
46
 
#       dh_installdebconf       
47
 
        dh_installdocs
48
 
        #dh_installexamples
49
 
        #dh_installmenu
50
 
#       dh_installlogrotate
51
 
#       dh_installemacsen
52
 
#       dh_installpam
53
 
#       dh_installmime
54
 
#       dh_installinit
55
 
        #dh_installcron
 
10
common-install-arch::
56
11
        dh_installman debian/aa3d.1
57
 
        #dh_installinfo
58
 
#       dh_undocumented
59
 
        dh_installchangelogs 
60
 
        #dh_link
61
 
        dh_strip
62
 
        dh_compress
63
 
        dh_fixperms
64
 
#       dh_makeshlibs
65
 
        dh_installdeb
66
 
#       dh_perl
67
 
        dh_shlibdeps
68
 
        dh_gencontrol
69
 
        dh_md5sums
70
 
        dh_builddeb
71
12
 
72
 
binary: binary-indep binary-arch
73
 
.PHONY: build clean binary-indep binary-arch binary install configure