/[debian]/libspin-java/tags/1.5-1/debian/rules
ViewVC logotype

Annotation of /libspin-java/tags/1.5-1/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1115 - (hide annotations)
Mon Dec 17 00:18:34 2007 UTC (13 years, 7 months ago) by gregoa
File size: 1450 byte(s)
[svn-buildpackage] Tagging libspin-java (1.5-1)
1 gregoa 379 #!/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 gregoa 384
12 gregoa 1111 ANT = ant -buildfile $(CURDIR)/debian/build.xml
13     TMPDIR := $(shell mktemp -t -d spin.XXXXXX)
14     PKG = $(shell dh_listpackages)
15 gregoa 384
16 gregoa 1111 get-orig-source:
17     uscan --force-download --verbose --destdir $(TMPDIR)
18     unzip $(TMPDIR)/*.zip -d $(TMPDIR)
19     rm $(TMPDIR)/*.zip
20 gregoa 1112 tar -czf spin.tar.gz -C $(TMPDIR) .
21 gregoa 1111 rm -r $(TMPDIR)
22    
23 gregoa 379 build: build-stamp
24 gregoa 1109 build-stamp:
25 gregoa 379 dh_testdir
26 gregoa 1109 $(ANT) package javadoc
27 gregoa 379 touch $@
28    
29 gregoa 1109 clean:
30 gregoa 379 dh_testdir
31     dh_testroot
32 gregoa 1109 rm -f build-stamp install-stamp
33     $(ANT) clean
34 gregoa 379 dh_clean
35    
36 gregoa 1109 install-stamp: build-stamp
37     install: install-stamp
38 gregoa 379 dh_testdir
39     dh_testroot
40     dh_clean -k
41     dh_installdirs
42 gregoa 1109 touch $@
43 gregoa 379
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 gregoa 1109 dh_compress
53 gregoa 379 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