| 1 |
|
| 2 |
|
| 3 |
export JAVA_HOMEscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/JAVA_HOME. := /usr/lib/jvm/default-java |
| 4 |
export ANT_ARGSscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/ANT_ARGS. := -f debian/build.xml |
| 5 |
VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.=$(shellscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/shell. dpkg-parsechangelog | sed -n '/^Version/s/Version: \(.*\)-[^-]*$$/\1/p') |
| 6 |
|
| 7 |
%scip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/`%`().: |
| 8 |
dh $@ --buildsystem=ant --with maven_repo_helper |
| 9 |
|
| 10 |
override_dh_auto_buildscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/override_dh_auto_build().: |
| 11 |
mkdir -p build/common/META-INF/plexus |
| 12 |
cp -p debian/common-plexus-components.xml build/common/META-INF/plexus/components.xml |
| 13 |
mkdir -p build/groovy/META-INF/plexus |
| 14 |
cp -p debian/groovy-plexus-components.xml build/groovy/META-INF/plexus/components.xml |
| 15 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). |
| 16 |
|
| 17 |
get-orig-sourcescip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/get-orig-source().: |
| 18 |
git clone git://github.com/tobrien/polyglot-maven.git polyglot-maven-$(VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.) |
| 19 |
|
| 20 |
rm -rf polyglot-maven-$(VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.)/pmaven-commands polyglot-maven-$(VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.)/.git |
| 21 |
tar czf ../polyglot-maven_$(VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.).orig.tar.gz polyglot-maven-$(VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.) |
| 22 |
rm -rf polyglot-maven-$(VERSIONscip-debian debian polyglot-maven 0.8~tobrien+git20120905-10 polyglot-maven/rules/VERSION.) |