Package list libslf4j-java / 95fb86f debian / rules
95fb86f

Tree @95fb86f (Download .tar.gz)

rules @95fb86fraw · history · blame

#!/usr/bin/make -f

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

JAVA_HOME 		:= /usr/lib/jvm/java-gcj
DEB_ANT_BUILD_TARGET	:= jar
DEB_ANT_BUILDFILE	:= debian/build.xml
DEB_JARS		:= commons-logging log4j-1.2

ALL_JARS = $(wildcard *.jar)
DEST_DIR = $(DEB_DESTDIR)/usr/share/java

common-install-prehook-indep::
	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 --rename