~ubuntu-branches/ubuntu/wily/ttf-mikachan/wily

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Hideki Yamane
  • Date: 2010-05-30 15:58:59 UTC
  • mfrom: (3.4.1 oneiric)
  • Revision ID: package-import@ubuntu.com-20100530155859-a9vmyx4zpkhvgjuf
Tags: 9.1-2
* use debhelper7
* switch to source format 3.0 (quilt)
  - include separated upstream tarball
  - add 1 more TTC file, petit and petit bold style.
* debian/copyright:
  - convert from EUC-JP to UTF-8
  - add copyright year. 
* debian/control:
  - set "Maintainer: Debian Fonts Task Force" and "Uploaders" as me and 
    GOTO Masanori <gotom@debian.org>
  - add descriptions for mikachan-puchi
  - add "Homepage:", "Vcs-Svn:" and "Vcs-Browser:".
  - set "Standards-Version: 3.8.4"
  - remove "Build-Depends-Indep:"
  - set "Build-Depends: debhelper (>= 7.0.50~)"
  - remove "Suggests:"
  - set "Depends: ${misc:Depends}"
  - set "Section: non-free/fonts"

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
 
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
4
 
# GNU copyright 1997 to 1999 by Joey Hess.
5
 
 
6
2
# Uncomment this to turn on verbose mode.
7
3
#export DH_VERBOSE=1
8
 
 
9
 
 
10
 
VERSION         = 9.1
11
 
 
12
 
PACKAGE_NAME    = ttf-mikachan
13
 
 
14
 
DIR_MIKACHAN    = mikachanfont-$(VERSION)
15
 
DIR_MIKACHAN_P  = mikachanfontP-$(VERSION)
16
 
DIR_MIKACHAN_PB = mikachanfontPB-$(VERSION)
17
 
DIR_MIKACHAN_PS = mikachanfontPS-$(VERSION)
18
 
ALL_DIR         = $(DIR_MIKACHAN) $(DIR_MIKACHAN_P) $(DIR_MIKACHAN_PB) $(DIR_MIKACHAN_PS)
19
 
 
20
 
ARC_MIKACHAN    = $(DIR_MIKACHAN).tar.bz2
21
 
ARC_MIKACHAN_P  = $(DIR_MIKACHAN_P).tar.bz2
22
 
ARC_MIKACHAN_PB = $(DIR_MIKACHAN_PB).tar.bz2
23
 
ARC_MIKACHAN_PS = $(DIR_MIKACHAN_PS).tar.bz2
24
 
ALL_ARC         = $(ARC_MIKACHAN) $(ARC_MIKACHAN_P) $(ARC_MIKACHAN_PB) $(ARC_MIKACHAN_PS)
25
 
 
26
 
configure: configure-stamp
27
 
configure-stamp:
28
 
        dh_testdir
29
 
        # Add here commands to configure the package.
30
 
        # extract tar ball
31
 
        for arc in $(ALL_ARC); do \
32
 
                tar xvfj $$arc  ; \
33
 
        done
34
 
 
35
 
        touch configure-stamp
36
 
 
37
 
build: build-stamp
38
 
 
39
 
build-stamp: configure-stamp 
40
 
        dh_testdir
41
 
 
42
 
        # Add here commands to compile the package.
43
 
 
44
 
        # nothing to do
45
 
 
46
 
        #/usr/bin/docbook-to-man debian/ttf-mikachan.sgml > ttf-mikachan.1
47
 
 
48
 
        touch build-stamp
49
 
 
50
 
clean:
51
 
        dh_testdir
52
 
        dh_testroot
53
 
        rm -f build-stamp configure-stamp
54
 
 
55
 
        # Add here commands to clean up after the build process.
56
 
        rm -rf $(ALL_DIR)
57
 
 
58
 
        dh_clean 
59
 
 
60
 
install: build
61
 
        dh_testdir
62
 
        dh_testroot
63
 
        dh_clean -k 
64
 
        dh_installdirs
65
 
 
66
 
        # Add here commands to install the package into debian/ttf-mikachan.
67
 
 
68
 
        # Install TTF
69
 
        for dir in $(ALL_DIR); do \
70
 
                install -m 644 $$dir/fonts/*.ttf \
71
 
                `pwd`/debian/$(PACKAGE_NAME)/usr/share/fonts/truetype/mikachan/ ;\
72
 
        done
73
 
 
74
 
        # Install defoma
75
 
        install -m 644 debian/defoma/*.hints \
76
 
                `pwd`/debian/$(PACKAGE_NAME)/etc/defoma/hints
77
 
 
78
 
 
79
 
# Build architecture-independent files here.
80
 
binary-indep: build install
81
 
        dh_testdir
82
 
        dh_testroot
83
 
        dh_installchangelogs $(DIR_MIKACHAN)/ChangeLog
84
 
        dh_installdocs $(DIR_MIKACHAN)/COPYRIGHT $(DIR_MIKACHAN)/COPYRIGHT.ja $(DIR_MIKACHAN)/README $(DIR_MIKACHAN)/README.ja
85
 
#       dh_installexamples
86
 
#       dh_install
87
 
#       dh_installmenu
88
 
#       dh_installdebconf       
89
 
#       dh_installlogrotate
90
 
#       dh_installemacsen
91
 
#       dh_installpam
92
 
#       dh_installmime
93
 
#       dh_installinit
94
 
#       dh_installcron
95
 
#       dh_installinfo
96
 
#       dh_installman
97
 
        dh_link
98
 
        dh_strip
99
 
        dh_compress
100
 
        dh_fixperms
101
 
#       dh_perl
102
 
#       dh_python
103
 
#       dh_makeshlibs
104
 
        dh_installdeb
105
 
        dh_shlibdeps
106
 
        dh_gencontrol
107
 
        dh_md5sums
108
 
        dh_builddeb
109
 
 
110
 
# Build architecture-dependent files here.
111
 
binary-arch: 
112
 
 
113
 
binary: binary-indep binary-arch
114
 
.PHONY: build clean binary-indep binary-arch binary install configure
 
4
%:
 
5
        dh  $@
 
6