~ubuntu-branches/ubuntu/maverick/tegaki-zinnia-japanese/maverick

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-11-03 22:41:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103224114-va8lod5rymil7rbf
Tags: 0.3-1
* new upstream release.
* debian/watch: updated. 
* debian/control:
  - bump standards version to 3.8.3.
  - no longer build depends on python.
* debian/rules: updated.
* debian/docs: updated.
* debian/copyright: updated. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
build-stamp:
15
15
        dh_testdir
16
 
        python setup.py build
17
16
        touch $@
18
17
 
19
18
clean: 
20
19
        dh_testdir
21
20
        dh_testroot
22
21
        rm -f build-stamp
23
 
        python setup.py clean
24
22
        dh_clean 
25
23
 
26
24
install: build
28
26
        dh_testroot
29
27
        dh_clean -k 
30
28
        dh_installdirs
31
 
        python setup.py install --prefix=/usr --root=$(CURDIR)/debian/tegaki-zinnia-japanese
32
 
        rm -rf $(CURDIR)/debian/tegaki-zinnia-japanese/usr/lib
 
29
        mkdir -p $(CURDIR)/debian/tegaki-zinnia-japanese/usr/share/tegaki/models/zinnia
 
30
        cp handwriting-ja.model handwriting-ja.meta $(CURDIR)/debian/tegaki-zinnia-japanese/usr/share/tegaki/models/zinnia
33
31
 
34
32
# Build architecture-independent files here.
35
33
binary-arch: build install