[pkg-java] r14855 - trunk/asm3/debian
Torsten Werner
twerner at alioth.debian.org
Mon Sep 12 12:53:51 UTC 2011
Author: twerner
Date: 2011-09-12 12:53:51 +0000 (Mon, 12 Sep 2011)
New Revision: 14855
Modified:
trunk/asm3/debian/libasm3-java.poms
trunk/asm3/debian/rules
Log:
preprocess upstream poms
Modified: trunk/asm3/debian/libasm3-java.poms
===================================================================
--- trunk/asm3/debian/libasm3-java.poms 2011-09-12 11:57:46 UTC (rev 14854)
+++ trunk/asm3/debian/libasm3-java.poms 2011-09-12 12:53:51 UTC (rev 14855)
@@ -1,10 +1,10 @@
-archive/asm-parent.pom --no-parent
-archive/asm-analysis.pom
-archive/asm-commons.pom
-archive/asm-tree.pom
-archive/asm-util.pom
-archive/asm-xml.pom
-archive/asm.pom
-archive/asm-debug-all.pom
-archive/asm-all.pom
+target/poms/asm-parent.pom --no-parent
+target/poms/asm-analysis.pom
+target/poms/asm-commons.pom
+target/poms/asm-tree.pom
+target/poms/asm-util.pom
+target/poms/asm-xml.pom
+target/poms/asm.pom
+target/poms/asm-debug-all.pom
+target/poms/asm-all.pom
Modified: trunk/asm3/debian/rules
===================================================================
--- trunk/asm3/debian/rules 2011-09-12 11:57:46 UTC (rev 14854)
+++ trunk/asm3/debian/rules 2011-09-12 12:53:51 UTC (rev 14855)
@@ -14,18 +14,20 @@
get-orig-source:
uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
-binary-post-install/lib$(PACKAGE)-java::
+binary-post-install/lib$(PACKAGE)-java::
+ mkdir -p target/poms/
+ set -eu; cd archive; for POM in *.pom; do sed "s, at product.artifact@,$(VERSION)," $$POM > ../target/poms/$$POM; done
mh_installpoms -plib$(PACKAGE)-java -e$(VERSION)
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3 -e$(VERSION) archive/asm.pom output/dist/lib/asm-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-analysis -e$(VERSION) archive/asm-analysis.pom output/dist/lib/asm-analysis-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-commons -e$(VERSION) archive/asm-commons.pom output/dist/lib/asm-commons-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-tree -e$(VERSION) archive/asm-tree.pom output/dist/lib/asm-tree-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-util -e$(VERSION) archive/asm-util.pom output/dist/lib/asm-util-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-xml -e$(VERSION) archive/asm-xml.pom output/dist/lib/asm-xml-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-debug-all -e$(VERSION) archive/asm-debug-all.pom output/dist/lib/all/asm-debug-all-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3 -e$(VERSION) target/poms/asm.pom output/dist/lib/asm-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-analysis -e$(VERSION) target/poms/asm-analysis.pom output/dist/lib/asm-analysis-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-commons -e$(VERSION) target/poms/asm-commons.pom output/dist/lib/asm-commons-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-tree -e$(VERSION) target/poms/asm-tree.pom output/dist/lib/asm-tree-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-util -e$(VERSION) target/poms/asm-util.pom output/dist/lib/asm-util-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-xml -e$(VERSION) target/poms/asm-xml.pom output/dist/lib/asm-xml-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-debug-all -e$(VERSION) target/poms/asm-debug-all.pom output/dist/lib/all/asm-debug-all-$(VERSION).jar
# add osgi headers to asm3-all
jar umf debian/osgi.MF output/dist/lib/all/asm-all-$(VERSION).jar
- mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-all -e$(VERSION) archive/asm-all.pom output/dist/lib/all/asm-all-$(VERSION).jar
+ mh_installjar -plib$(PACKAGE)-java -l --usj-name=asm3-all -e$(VERSION) target/poms/asm-all.pom output/dist/lib/all/asm-all-$(VERSION).jar
binary-post-install/lib$(PACKAGE)-java-doc::
dh_install -plib$(PACKAGE)-java-doc output/dist/doc/javadoc/user/* usr/share/doc/libasm3-java-doc/api
More information about the pkg-java-commits
mailing list