~ubuntu-branches/ubuntu/wily/dbskkd-cdb/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Takao KAWAMURA
  • Date: 2000-11-22 12:47:01 UTC
  • Revision ID: james.westby@ubuntu.com-20001122124701-ar0pruz9o72qfc1i
Tags: 1:1.01-10
* Source Package: Doesn't provide dbskk-cdb-dic.
* Updated Standars-Version: 3.2.1.

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 by Joey Hess.
 
4
#
 
5
# This version is for a hypothetical package that builds an
 
6
# architecture-dependant package, as well as an architecture-independent
 
7
# package.
 
8
 
 
9
# Uncomment this to turn on verbose mode. 
 
10
#export DH_VERBOSE=1
 
11
 
 
12
# This is the debhelper compatability version to use.
 
13
export DH_COMPAT=1
 
14
 
 
15
configure: configure-stamp
 
16
configure-stamp:
 
17
        dh_testdir
 
18
        # Add here commands to configure the package.
 
19
        #CONFIGURE#
 
20
 
 
21
        touch configure-stamp
 
22
 
 
23
build: configure-stamp build-stamp
 
24
build-stamp:
 
25
        dh_testdir
 
26
 
 
27
        # Add here commands to compile the package.
 
28
        chmod 644 Release-Notes.*
 
29
        $(MAKE) \
 
30
        COMPAT=-DJISHO_FILE=\\\"/usr/share/skk/SKK-JISYO.cdb\\\"\
 
31
        SERVERDIR=/usr/sbin\
 
32
        LDFLAGS="-lfreecdb"\
 
33
        CC="cc -O"
 
34
 
 
35
        touch build-stamp
 
36
 
 
37
clean:
 
38
        dh_testdir
 
39
        dh_testroot
 
40
        rm -f build-stamp configure-stamp
 
41
 
 
42
        # Add here commands to clean up after the build process.
 
43
        -$(MAKE) clean
 
44
 
 
45
        dh_clean
 
46
 
 
47
install: build
 
48
        dh_testdir
 
49
        dh_testroot
 
50
        dh_clean -k
 
51
        dh_installdirs
 
52
 
 
53
        # Add here commands to install the package into debian/tmp.
 
54
        $(MAKE) install SERVERDIR=`pwd`/debian/tmp/usr/sbin
 
55
 
 
56
        dh_movefiles
 
57
 
 
58
# Build architecture-independent files here.
 
59
binary-indep: build install
 
60
 
 
61
# Build architecture-dependent files here.
 
62
binary-arch: build install
 
63
#       dh_testversion
 
64
        dh_testdir
 
65
        dh_testroot
 
66
#       dh_installdebconf
 
67
        dh_installdocs
 
68
#       dh_installexamples
 
69
#       dh_installmenu
 
70
#       dh_installemacsen
 
71
#       dh_installpam
 
72
#       dh_installinit
 
73
#       dh_installcron
 
74
        dh_installmanpages
 
75
#       dh_installinfo
 
76
#       dh_undocumented
 
77
        dh_installchangelogs
 
78
        dh_link
 
79
        dh_strip
 
80
        dh_compress
 
81
        dh_fixperms
 
82
        # You may want to make some executables suid here.
 
83
        dh_suidregister
 
84
        dh_installdeb
 
85
#       dh_perl
 
86
        dh_shlibdeps
 
87
        dh_gencontrol
 
88
        dh_md5sums
 
89
        dh_builddeb
 
90
 
 
91
binary: binary-indep binary-arch
 
92
.PHONY: build clean binary-indep binary-arch binary install