~ubuntu-branches/ubuntu/lucid/diggler/lucid

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Mike Hommey
  • Date: 2004-02-25 16:31:54 UTC
  • Revision ID: james.westby@ubuntu.com-20040225163154-epod7ll0gj01cp7x
Tags: 0.6-3
* Added support for mozilla-firefox.
* Made the output of `which` quiet in postrm and postinst.

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 to 1999 by Joey Hess.
 
4
 
 
5
# Uncomment this to turn on verbose mode.
 
6
#export DH_VERBOSE=1
 
7
 
 
8
SRC=content locale skin
 
9
 
 
10
configure: configure-stamp
 
11
configure-stamp:
 
12
        dh_testdir
 
13
        # Add here commands to configure the package.
 
14
 
 
15
        touch configure-stamp
 
16
 
 
17
 
 
18
build: build-stamp
 
19
build-stamp: configure-stamp 
 
20
        dh_testdir
 
21
 
 
22
        # Add here commands to compile the package.
 
23
 
 
24
        touch build-stamp
 
25
 
 
26
clean:
 
27
        dh_testdir
 
28
        dh_testroot
 
29
        rm -f build-stamp configure-stamp
 
30
 
 
31
        # Add here commands to clean up after the build process.
 
32
 
 
33
        dh_clean
 
34
 
 
35
install: build
 
36
        dh_testdir
 
37
        dh_testroot
 
38
        dh_clean -k
 
39
        dh_installdirs
 
40
 
 
41
        # Add here commands to install the package into debian/mozilla-diggler
 
42
        zip -r $(CURDIR)/debian/mozilla-diggler/usr/share/mozilla-extensions/diggler/diggler.jar $(SRC)
 
43
        cp debian/chrome.d $(CURDIR)/debian/mozilla-diggler/usr/share/mozilla-extensions/diggler 
 
44
        cp debian/prefs.js $(CURDIR)/debian/mozilla-diggler/etc/mozilla-extensions/diggler.js 
 
45
 
 
46
 
 
47
# Build architecture-independent files here.
 
48
binary-indep: build install
 
49
        dh_testdir
 
50
        dh_testroot
 
51
        dh_installdocs -i
 
52
        dh_installchangelogs -i
 
53
        dh_link -i
 
54
        dh_compress -i
 
55
        dh_fixperms -i
 
56
        dh_installdeb -i
 
57
        dh_gencontrol -i
 
58
        dh_md5sums -i
 
59
        dh_builddeb -i
 
60
 
 
61
# Build architecture-dependent files here.
 
62
binary-arch: build install
 
63
# We have nothing
 
64
 
 
65
binary: binary-indep binary-arch
 
66
.PHONY: build clean binary-indep binary-arch binary install configure