~ubuntu-branches/debian/jessie/ardesia/jessie

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): TANIGUCHI Takaki
  • Date: 2011-01-19 11:30:47 UTC
  • Revision ID: james.westby@ubuntu.com-20110119113047-jk7twe13n8p29cy4
Tags: 0.6-1
Initial release (Closes: #599359)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
# -*- makefile -*-
3
 
# Sample debian/rules that uses debhelper.
4
 
# This file was originally written by Joey Hess and Craig Small.
5
 
# As a special exception, when this file is copied by dh-make into a
6
 
# dh-make output file, you may use that output file without restriction.
7
 
# This special exception was added by Craig Small in version 0.37 of dh-make.
8
 
 
9
 
# Uncomment this to turn on verbose mode.
10
 
#export DH_VERBOSE=1
11
 
 
12
 
 
13
 
 
14
 
 
15
 
 
16
 
configure: configure-stamp
17
 
configure-stamp:
18
 
        dh_testdir
19
 
        # Add here commands to configure the package.
20
 
 
21
 
        touch configure-stamp
22
 
 
23
 
 
24
 
build: build-stamp
25
 
 
26
 
build-stamp: configure-stamp  
27
 
        dh_testdir
28
 
 
29
 
        # Add here commands to compile the package.
30
 
        $(MAKE)
31
 
        #docbook-to-man debian/ardesia.sgml > ardesia.1
32
 
 
33
 
        touch $@
34
 
 
35
 
clean: 
36
 
        dh_testdir
37
 
        dh_testroot
38
 
        rm -f build-stamp configure-stamp
39
 
 
40
 
        # Add here commands to clean up after the build process.
41
 
        $(MAKE) clean
42
 
 
43
 
        dh_clean 
44
 
 
45
 
install: build
46
 
        dh_testdir
47
 
        dh_testroot
48
 
        dh_prep  
49
 
        dh_installdirs
50
 
 
51
 
        # Add here commands to install the package into debian/ardesia.
52
 
        $(MAKE) DESTDIR=$(CURDIR)/debian/ardesia install
53
 
 
54
 
 
55
 
# Build architecture-independent files here.
56
 
binary-indep: install
57
 
# We have nothing to do by default.
58
 
 
59
 
# Build architecture-dependent files here.
60
 
binary-arch: install
61
 
        dh_testdir
62
 
        dh_testroot
63
 
        dh_installchangelogs 
64
 
        dh_installdocs
65
 
        dh_installexamples
66
 
#       dh_install
67
 
#       dh_installmenu
68
 
#       dh_installdebconf
69
 
#       dh_installlogrotate
70
 
#       dh_installemacsen
71
 
#       dh_installpam
72
 
#       dh_installmime
73
 
#       dh_python
74
 
#       dh_installinit
75
 
#       dh_installcron
76
 
#       dh_installinfo
77
 
        dh_installman
78
 
        dh_link
79
 
        dh_strip
80
 
        dh_compress
 
3
 
 
4
%:
 
5
        dh $@
 
6
 
 
7
override_dh_auto_configure:
 
8
        dh_auto_configure -- --docdir=/usr/share/doc
 
9
 
 
10
override_dh_auto_install:
 
11
        dh_auto_install -- ardesiadocdir=/usr/share/doc/ardesia
 
12
        rm  $(CURDIR)/debian/ardesia/usr/share/doc/ardesia/COPYING
 
13
        rm  $(CURDIR)/debian/ardesia/usr/share/doc/ardesia/INSTALL
 
14
 
 
15
override_dh_fixperms:
81
16
        dh_fixperms
82
 
#       dh_perl
83
 
#       dh_makeshlibs
84
 
        dh_installdeb
85
 
        dh_shlibdeps
86
 
        dh_gencontrol
87
 
        dh_md5sums
88
 
        dh_builddeb
 
17
        for i in ./usr/share/ardesia/scripts/screencast.sh \
 
18
./usr/share/ardesia/scripts/screencast.bat \
 
19
./usr/share/ardesia/ui/pixmaps/white.png \
 
20
./usr/share/ardesia/ui/pixmaps/red.png \
 
21
./usr/share/ardesia/ui/pixmaps/yellow.png \
 
22
./usr/share/ardesia/scripts/test3.ogv \
 
23
./usr/share/ardesia/ui/pixmaps/eraser.png \
 
24
./usr/share/ardesia/scripts/test.ogv \
 
25
./usr/share/ardesia/scripts/test2.ogv \
 
26
./usr/share/ardesia/ui/pixmaps/blue.png \
 
27
./usr/share/ardesia/ui/pixmaps/green.png ; \
 
28
        do \
 
29
                chmod -x $(CURDIR)/debian/ardesia/$${i};\
 
30
        done
89
31
 
90
 
binary: binary-indep binary-arch
91
 
.PHONY: build clean binary-indep binary-arch binary install configure