/[pkg-java]/tags/RELEASE_0_14-1/argouml/debian/rules
ViewVC logotype

Contents of /tags/RELEASE_0_14-1/argouml/debian/rules

Parent Directory Parent Directory | Revision Log Revision Log


Revision 289 - (show annotations) (download)
Sat Sep 13 08:24:40 2003 UTC (9 years, 8 months ago) by (unknown author)
File size: 2287 byte(s)
This commit was manufactured by cvs2svn to create tag
'RELEASE_0_14-1'.
1 #!/usr/bin/make -f
2 # debian/rules for Commons Beanutils (uses CDBS)
3
4 # Uncomment this to turn on verbose mode.
5 #export DH_VERBOSE=1
6
7 # This is the debhelper compatibility version to use.
8 #export DH_COMPAT=4
9
10 include /usr/share/cdbs/1/rules/debhelper.mk
11 include /usr/share/cdbs/1/class/ant.mk
12
13 #added for dpatch
14 include /usr/share/dpatch/dpatch.make
15
16 #export JD=/usr/share/java
17 #export CLASSPATH=$(JD)/antlrall.jar:$(JD)/gef.jar:$(JD)/log4j.jar:$(JD)/nsuml.jar:$(JD)/ocl-argo.jar:$(JD)/xerces.jar
18
19 # compile --> compiles the source code to the tree under ${argo.build.dir}
20 # run --> runs ArgoUML from compiled source
21 # package --> copies files in place
22 # jar --> generates the ${name}.jar file
23 # dist --> generates ${Name} .tar.gz and .zip files into ${argo.dist.dir}
24 # prepare-docs --> writes the documentation to ${argo.javadocs.dir}
25 # clean --> cleans up the ${build.dir} directory
26 # distclean --> cleans up the distribution directory, ${dist.dir}
27 # jdepend --> obtain design quality metrics by applying JDepend
28 # usage --> show this message (default)
29
30 JAVA_HOME_DIRS := /usr/lib/j2se/1.4
31 ANT_HOME := /usr/share/ant
32 DEB_JARS := ant-optional log4j-1.2 xercesImpl antlrall gef nsuml ocl-argo jdepend junit i18n
33 DEB_ANT_COMPILER := jikes
34 #DEB_ANT_COMPILER := modern
35 DEB_ANT_BUILD_TARGET := jar prepare-docs
36 DEB_BUILDDIR := .
37 DEB_ANT_BUILDFILE := build.xml
38 DEB_ANT_CLEAN_TARGET := clean
39 #DEB_ANT_PROPERTYFILE := debian/ant.properties
40 DEB_ANT_DEFAULT_OPTIONS += -propertyfile debian/ant.properties
41
42 LIBRARY=argouml
43 VERSION=0.14
44
45 #install/lib${LIBRARY}-java::
46 # dh_install lib/${LIBRARY}.jar usr/share/java/${LIBRARY}-${VERSION}.jar
47
48 configure-stamp:: patch-stamp
49
50 install/${LIBRARY}::
51 install -m 644 $(CURDIR)/build/argouml.jar $(CURDIR)/debian/argouml/usr/share/java/
52 install -m 755 $(CURDIR)/debian/argouml.sh $(CURDIR)/debian/argouml/usr/bin/argouml
53 cp -R $(CURDIR)/build/javadocs/* \
54 $(CURDIR)/debian/argouml-doc/usr/share/doc/argouml-doc/
55
56 # install -m 644 lib/${LIBRARY}.jar ${CURDIR}/debian/lib${LIBRARY}-java/usr/share/java/${LIBRARY}-${VERSION}.jar
57 # dh_link usr/share/java/${LIBRARY}-${VERSION}.jar usr/share/java/${LIBRARY}.jar
58
59
60 clean:: unpatch
61

Properties

Name Value
svn:eol-style native
svn:executable *
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.5