~ubuntu-branches/ubuntu/hoary/exif/hoary

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): christophe barbe
  • Date: 2004-06-18 14:44:26 UTC
  • Revision ID: james.westby@ubuntu.com-20040618144426-3r6r7xkbdz0h9j38
Tags: 0.6.9-1
* Rebuilt against libexif10.
* New upstream release. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
config.status: configure
 
9
        dh_testdir
 
10
        ./configure --prefix=/usr --mandir=\$${prefix}/share/man
 
11
 
 
12
build: build-stamp
 
13
 
 
14
build-stamp:  config.status
 
15
        dh_testdir
 
16
        $(MAKE)
 
17
        touch build-stamp
 
18
 
 
19
clean:
 
20
        dh_testdir
 
21
        dh_testroot
 
22
        rm -f build-stamp 
 
23
        -$(MAKE) distclean
 
24
        -test -r /usr/share/misc/config.sub && \
 
25
          cp -f /usr/share/misc/config.sub config.sub
 
26
        -test -r /usr/share/misc/config.guess && \
 
27
          cp -f /usr/share/misc/config.guess config.guess
 
28
        dh_clean
 
29
 
 
30
install: build
 
31
        dh_testdir
 
32
        dh_testroot
 
33
        dh_clean -k
 
34
        dh_installdirs
 
35
        $(MAKE) install prefix=$(CURDIR)/debian/exif/usr
 
36
 
 
37
# Build architecture-independent files here.
 
38
binary-indep: build install
 
39
# We have nothing to do by default.
 
40
 
 
41
# Build architecture-dependent files here.
 
42
binary-arch: build install
 
43
        dh_testdir
 
44
        dh_testroot
 
45
        dh_installdocs
 
46
        dh_installexamples
 
47
        dh_installmenu
 
48
#       dh_installmime
 
49
        dh_installman
 
50
        dh_installinfo
 
51
#       dh_undocumented exif.1
 
52
        dh_installchangelogs ChangeLog
 
53
        dh_link
 
54
        dh_strip
 
55
        dh_compress
 
56
        dh_fixperms
 
57
#       dh_makeshlibs
 
58
        dh_installdeb
 
59
#       dh_perl
 
60
        dh_shlibdeps
 
61
        dh_gencontrol
 
62
        dh_md5sums
 
63
        dh_builddeb
 
64
 
 
65
binary: binary-indep binary-arch
 
66
.PHONY: build clean binary-indep binary-arch binary install