/[debian-med]/trunk/packages/dazzle/trunk/debian/rules
ViewVC logotype

Contents of /trunk/packages/dazzle/trunk/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1566 - (show annotations) (download)
Thu Mar 13 08:13:08 2008 UTC (5 years, 2 months ago) by tille
File size: 1546 byte(s)
Moved Steffen Möllers work on dazzle which was stalled to svn to keep track of previous work.
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
13 build: build-stamp
14 build-stamp:
15 dh_testdir
16
17 ant package-main javadocs-main
18
19 touch build-stamp
20
21 clean:
22 dh_testdir
23 dh_testroot
24 rm -f build-stamp
25
26 # Add here commands to clean up after the build process.
27 ant clean
28
29 dh_clean
30
31 DESTDIR=$(CURDIR)/debian/dazzle
32
33 install: build
34 dh_testdir
35 dh_testroot
36 dh_clean -k
37 dh_installdirs
38
39 cp ant-build/dazzle.jar $(DESTDIR)/usr/share/java/
40 cp -r ant-build/docs/dazzle $(DESTDIR)/usr/share/doc/dazzle/api
41 cp -r dazzle-webapp $(DESTDIR)/usr/share/doc/dazzle/dazzle-webapp
42 (cd $(DESTDIR)/usr/share/doc/dazzle/dazzle-webapp/WEB-INF/lib \
43 && ln -s ../../../../../java/{biojava,bytecode,dazzle}.jar . )
44
45
46 binary-arch: build install
47 # Build architecture-dependent files here.
48 # We have nothing to do by default.
49 #
50 binary-indep: build install
51 # Build architecture-independent files here.
52 dh_testdir
53 dh_testroot
54 dh_installchangelogs
55 dh_installdocs
56 dh_installexamples
57 dh_installman
58 dh_link
59 dh_strip
60 dh_compress
61 dh_fixperms
62 dh_shlibdeps
63 dh_gencontrol
64 dh_md5sums
65 dh_builddeb
66
67 binary: binary-indep
68 .PHONY: build clean binary-indep binary-arch binary install

  ViewVC Help
Powered by ViewVC 1.1.5