| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
include /usr/share/dpkg/default.mk |
| 6 |
|
| 7 |
JAVA_HOMEscip-debian debian cgview 0.0.20100111-8 cgview/rules/JAVA_HOME. := /usr/lib/jvm/default-java |
| 8 |
DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR. := /usr/share/java |
| 9 |
CLASS_PATHscip-debian debian cgview 0.0.20100111-8 cgview/rules/CLASS_PATH. := $(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-all.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-constants.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-awt-util.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-dom.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-svggen.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-util.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/batik-xml.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/commons-lang.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/jargs.jar:$(DEBJARscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEBJAR.)/xercesImpl.jar |
| 10 |
|
| 11 |
%scip-debian debian cgview 0.0.20100111-8 cgview/rules/`%`().: |
| 12 |
dh $@ --with javahelper |
| 13 |
|
| 14 |
override_dh_cleanscip-debian debian cgview 0.0.20100111-8 cgview/rules/override_dh_clean().: |
| 15 |
dh_cleanscip-debian debian debhelper . dh_clean(). |
| 16 |
rm -f src/ca/ualberta/stothard/cgview/*.class |
| 17 |
rm -rf src/includes |
| 18 |
find . -name "*.jar" -delete |
| 19 |
|
| 20 |
override_dh_auto_buildscip-debian debian cgview 0.0.20100111-8 cgview/rules/override_dh_auto_build().: |
| 21 |
cd src && \ |
| 22 |
cp -a ca/ualberta/stothard/cgview/includes . && \ |
| 23 |
javac -classpath $(CLASS_PATHscip-debian debian cgview 0.0.20100111-8 cgview/rules/CLASS_PATH.) ca/ualberta/stothard/cgview/*.java && \ |
| 24 |
jar -cmf ../manifestinfo $(DEB_SOURCEscip-debian debian cgview 0.0.20100111-8 cgview/rules/DEB_SOURCE.).jar ca/ualberta/stothard/cgview/*.class includes && \ |
| 25 |
rm -rf includes |