/[debian]/libspin-java/trunk/debian/rules
ViewVC logotype

Contents of /libspin-java/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1778 - (show annotations)
Thu Jul 30 16:33:46 2009 UTC (11 years, 2 months ago) by gregoa
File size: 1483 byte(s)
remove some trailing whitespace
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 ANT = ant -buildfile $(CURDIR)/debian/build.xml
13 TMPDIR := $(shell mktemp -t -d spin.XXXXXX)
14 PKG = $(shell dh_listpackages)
15
16 get-orig-source:
17 uscan --force-download --verbose --destdir $(TMPDIR)
18 unzip $(TMPDIR)/*.zip -d $(TMPDIR)
19 rm $(TMPDIR)/*.zip
20 tar -czf spin.tar.gz -C $(TMPDIR) .
21 rm -r $(TMPDIR)
22
23 build: build-stamp
24 build-stamp:
25 dh_testdir
26 JAVA_HOME=/usr/lib/jvm/default-java $(ANT) package javadoc
27 touch $@
28
29 clean:
30 dh_testdir
31 dh_testroot
32 rm -f build-stamp install-stamp
33 $(ANT) clean
34 dh_clean
35
36 install-stamp: build-stamp
37 install: install-stamp
38 dh_testdir
39 dh_testroot
40 dh_clean -k
41 dh_installdirs
42 touch $@
43
44 # Build architecture-independent files here.
45 binary-indep: build install
46 dh_testdir
47 dh_testroot
48 dh_installchangelogs
49 dh_installdocs
50 dh_install
51 dh_link
52 dh_compress
53 dh_fixperms
54 dh_installdeb
55 dh_shlibdeps
56 dh_gencontrol
57 dh_md5sums
58 dh_builddeb
59
60 # Build architecture-dependent files here.
61 binary-arch: build install
62 binary: binary-indep binary-arch
63 .PHONY: build clean binary-indep binary-arch binary install configure

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26