~ubuntu-branches/ubuntu/intrepid/hotkey-setup/intrepid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Matthew Garrett
  • Date: 2005-10-10 12:09:08 UTC
  • Revision ID: james.westby@ubuntu.com-20051010120908-hnn4vq265k9478os
Tags: 0.1-9ubuntu2
Fix init script so #16071 fix works on branded Acers

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/make -f
 
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
build:
 
13
        make
 
14
 
 
15
clean:
 
16
        dh_testdir
 
17
        dh_testroot
 
18
 
 
19
        dh_clean 
 
20
        make clean
 
21
 
 
22
install: build
 
23
        dh_testdir
 
24
        dh_testroot
 
25
        dh_clean -k 
 
26
        dh_installdirs
 
27
 
 
28
        # Add here commands to install the package into debian/hotkey-setup.
 
29
        mkdir -p $(CURDIR)/debian/hotkey-setup/usr/share/hotkey-setup
 
30
        cp $(CURDIR)/*.hk $(CURDIR)/debian/hotkey-setup/usr/share/hotkey-setup
 
31
        mkdir $(CURDIR)/debian/hotkey-setup/usr/sbin
 
32
        cp $(CURDIR)/dumpkeycodes $(CURDIR)/debian/hotkey-setup/usr/sbin
 
33
 
 
34
# Build architecture-independent files here.
 
35
binary-indep: build install
 
36
# We have nothing to do by default.
 
37
 
 
38
# Build architecture-dependent files here.
 
39
binary-arch: build install
 
40
        dh_testdir
 
41
        dh_testroot
 
42
        dh_installchangelogs 
 
43
        dh_installdocs
 
44
        dh_installexamples
 
45
#       dh_install
 
46
#       dh_installmenu
 
47
#       dh_installdebconf       
 
48
#       dh_installlogrotate
 
49
#       dh_installemacsen
 
50
#       dh_installpam
 
51
#       dh_installmime
 
52
        dh_installinit
 
53
#       dh_installcron
 
54
#       dh_installinfo
 
55
        dh_installman
 
56
        dh_link
 
57
        dh_strip
 
58
        dh_compress
 
59
        dh_fixperms
 
60
#       dh_perl
 
61
#       dh_python
 
62
#       dh_makeshlibs
 
63
        dh_installdeb
 
64
        dh_shlibdeps
 
65
        dh_gencontrol
 
66
        dh_md5sums
 
67
        dh_builddeb
 
68
 
 
69
binary: binary-indep binary-arch
 
70
.PHONY: build clean binary-indep binary-arch binary install configure