~ubuntu-branches/ubuntu/breezy/remind/breezy

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Javier Fernandez-Sanguino Pen~a
  • Date: 1999-02-19 13:36:15 UTC
  • Revision ID: james.westby@ubuntu.com-19990219133615-ovob95sord67b0ks
Tags: 03.00.22-1
* NMU upload, maintainer seems to be missing.
* Changed to main (now GPL) (Closes: #42402)
* New upstream version (Closes: #59447)
* Moved to use debconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
2
# GPL copyright 2000 Javier Fern�ndez-Sanguino Pe�a
 
3
 
 
4
package=remind
 
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=1
 
10
 
 
11
 
 
12
build: build-stamp
 
13
build-stamp:
 
14
        dh_testdir
 
15
        ./configure --prefix=/usr
 
16
        make
 
17
        touch build-stamp
 
18
 
 
19
clean:
 
20
        dh_testdir
 
21
        dh_testroot
 
22
        rm -f build-stamp
 
23
        -rm `find . -name "*~"`
 
24
        -make clean
 
25
        ./unconfigure
 
26
        dh_clean
 
27
 
 
28
install:
 
29
        dh_testdir
 
30
        dh_testroot
 
31
        dh_clean -k
 
32
        dh_installdirs
 
33
        $(MAKE) install prefix=`pwd`/debian/tmp/usr mandir=`pwd`/debian/tmp/usr/share/man/
 
34
        # move tkremind stuff to X11R6 dirs
 
35
        mv debian/tmp/usr/share/man/man1/tkremind.1 debian/tmp/usr/X11R6/man/man1/tkremind.1x
 
36
        mv debian/tmp/usr/share/man/man1/cm2rem.1 debian/tmp/usr/share/man/man1/cm2rem.tcl.1
 
37
        mv debian/tmp/usr/bin/tkremind debian/tmp/usr/X11R6/bin/tkremind
 
38
 
 
39
binary-indep:   build install
 
40
# Nothing to do
 
41
 
 
42
binary-arch: build install
 
43
#       dh_testversion
 
44
        dh_testdir
 
45
        dh_testroot
 
46
#       dh_installdebconf
 
47
        dh_installdocs www docs/* ACKNOWLEDGEMENTS README
 
48
        dh_installexamples examples/* tests
 
49
        dh_installmenu
 
50
#       dh_installemacsen
 
51
#       dh_installpam
 
52
#       dh_installmime
 
53
#       dh_installinit
 
54
        dh_installcron
 
55
# Installed by 'install'
 
56
#       dh_installmanpages 
 
57
        dh_installinfo
 
58
#       dh_undocumented
 
59
        dh_installchangelogs
 
60
        dh_link
 
61
        dh_strip
 
62
        dh_compress
 
63
        dh_fixperms
 
64
        dh_suidregister
 
65
#       dh_makeshlibs
 
66
        dh_installdeb
 
67
#       dh_perl
 
68
        dh_shlibdeps
 
69
        dh_gencontrol
 
70
        dh_md5sums
 
71
        dh_builddeb
 
72
 
 
73
binary: binary-indep binary-arch
 
74
.PHONY: build clean binary-indep binary-arch binary install
 
75