~ubuntu-branches/ubuntu/oneiric/freeguide/oneiric

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Watkins
  • Date: 2008-09-07 15:49:32 UTC
  • mfrom: (1.2.6 upstream) (4.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20080907154932-2jvgv76btq068fe0
Tags: 0.10.9-1
* New upstream release. (Closes: #492789)
* Moved package from contrib to main. (Closes: #492544)
* Added lintian override for 'build-depends-without-arch-dep ant', as ant is
  used in the clean target.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/make -f
2
2
 
3
 
export JAVA_HOME=/usr/lib/jvm/java-1.5.0-sun
 
3
include /usr/share/dpatch/dpatch.make
4
4
 
5
5
build: build-stamp
6
 
build-stamp:
7
 
        rm -f doc/html-local/README.html doc/html-local/developers-*.html
 
6
build-stamp: patch
 
7
        rm -f doc/html-local/README.html
 
8
        rm -f doc/html-local/developers-*.html
8
9
        ant
9
10
        touch $@
10
11
 
11
12
install: build
12
 
        dh_clean -k
 
13
        dh_prep
13
14
        ant -DDESTDIR=debian/tmp install-linux-destdir
14
15
        rm debian/tmp/usr/share/doc/freeguide/COPYING
15
16
        cp debian/freeguide.xpm debian/tmp/usr/share/pixmaps/
16
17
 
17
 
clean:
 
18
clean: unpatch
18
19
        rm -f build-stamp
 
20
        ant clean
19
21
        dh_clean
20
 
        ant clean
21
22
 
22
 
binary-indep binary: install
 
23
binary-indep: install
23
24
        dh_install -i --sourcedir=debian/tmp
24
25
        dh_installchangelogs -i
25
26
        dh_installdocs -i
34
35
 
35
36
binary-arch:
36
37
 
 
38
binary: binary-indep
 
39
 
37
40
.PHONY: build clean install binary-indep binary-arch binary