1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
#!/usr/bin/make -f
# -*- makefile -*-
VERSION_STRING=12.1
VERSION_SHORT_STRING=12_1
CONTENT_DIR="Umlet"
JAVADIR=/usr/share/java
export CLASSPATH=$(JAVADIR)/ecj.jar:$(JAVADIR)/batik-all.jar:$(JAVADIR)/fop.jar:$(JAVADIR)/log4j-1.2.jar:$(JAVADIR)/net.sourceforge.jlibeps.jar:$(JAVADIR)/javax.mail.jar:$(JAVADIR)/itext5.jar:$(JAVADIR)/jsyntaxpane.jar:$(JAVADIR)/rsyntaxtextarea.jar:$(JAVADIR)/autocomplete.jar:$(JAVADIR)/javaparser.jar:$(JAVADIR)/commons-io.jar:$(JAVADIR)/bcel.jar
export JAVA_HOME=/usr/lib/jvm/default-java
#export DH_VERBOSE=1
get-orig-source:
uscan
build: build-arch build-indep
build-arch: build-stamp
build-indep: build-stamp
build-stamp:
test -d eclipse-plugin-source || mkdir eclipse-plugin-source
# move unused source code out of the way
mv Baselet/src/com/baselet/plugin/ eclipse-plugin-source/ || true
mv Baselet/src/com/baselet/gui/eclipse/ eclipse-plugin-source/ || true
jh_build --no-javadoc -o"-encoding utf8" --main=com.baselet.control.Main umlet.jar Baselet/src BaseletElements/src
clean:
dh_testdir
dh_testroot
rm -f build-stamp
# move unused source code back in
mv eclipse-plugin-source/plugin/ Baselet/src/com/baselet/ || true
mv eclipse-plugin-source/eclipse/ Baselet/src/com/baselet/gui/ || true
rmdir eclipse-plugin-source || true
rm -f umlet.jar
jh_build --clean
jh_clean
dh_clean
binary-indep: build
dh_testdir
dh_testroot
dh_clean
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_install -XThumbs.db
dh_install debian/umlet.desktop /usr/share/applications/
dh_installman debian/umlet.1
jh_manifest
dh_link usr/share/java/umlet.jar usr/bin/umlet
jh_depends
jh_exec -v
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: build
# We have nothing to do
binary: binary-indep binary-arch
.PHONY: build build-arch build-indep clean clean1 binary-indep binary-arch binary install orig get-orig-source
|