File: rules

package info (click to toggle)
libjboss-reflect-java 2.0.2.GA-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 1,960 kB
  • ctags: 3,292
  • sloc: java: 16,076; xml: 99; makefile: 18; sh: 12
file content (24 lines) | stat: -rwxr-xr-x 713 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk

JAVA_HOME 		:= /usr/lib/jvm/java-gcj
DEB_ANT_BUILD_TARGET	:= jar
DEB_ANT_BUILDFILE	:= debian/build.xml
DEB_JARS		:= jboss-common javassist


ALL_JARS = $(wildcard jboss*.jar)
DEST_DIR = $(DEB_DESTDIR)/usr/share/java
install/libjboss-reflect-java::
	for jar in $(ALL_JARS); do                         \
	  BASENAME=`basename $$jar .jar`;		   \
	  FULLNAME=$$BASENAME-$(DEB_UPSTREAM_VERSION).jar; \
	  install -m 644 -D $$jar $(DEST_DIR)/$$FULLNAME;  \
	  ln -s $$FULLNAME $(DEST_DIR)/$$BASENAME.jar;     \
	done

get-orig-source:
	-uscan --upstream-version 0