[Git][java-team/eclipse-debian-helper][master] More formatting
Emmanuel Bourg
gitlab at salsa.debian.org
Wed Jul 11 11:20:07 BST 2018
Emmanuel Bourg pushed to branch master at Debian Java Maintainers / eclipse-debian-helper
Commits:
ff0f1897 by Emmanuel Bourg at 2018-07-11T10:20:06+00:00
More formatting
- - - - -
1 changed file:
- README.md
Changes:
=====================================
README.md
=====================================
--- a/README.md
+++ b/README.md
@@ -17,8 +17,8 @@ For example the `org.eclipse.foo.bar`bundle is packaged as
The binary packages carry the version of the bundle packaged. For example
if the project eclipse-platform-foo 4.9.2 contains the version 1.2.3 of the
-bundle org.eclipse.foo, the version of the libeclipse-foo-java package will
-be 1.2.3+eclipse4.9.2-1.
+bundle `org.eclipse.foo`, the version of the `libeclipse-foo-java` package
+will be 1.2.3+eclipse4.9.2-1.
Usage
@@ -31,27 +31,23 @@ Usage
2. Start with the following template for the `debian/rules` file:
-```Make
-#!/usr/bin/make -f
-
-include /usr/share/dpkg/pkg-info.mk
-
-%:
- dh $@ --buildsystem=eclipse_bundles
-
-override_dh_gencontrol:
- # Use the bundle versions as package versions
- awk 'system("dh_gencontrol -p"$$4" -- -v"$$2"+eclipse$(DEB_VERSION)")' debian/bundles.properties
-```
+ #!/usr/bin/make -f
+
+ include /usr/share/dpkg/pkg-info.mk
+
+ %:
+ dh $@ --buildsystem=eclipse_bundles
+
+ override_dh_gencontrol:
+ # Use the bundle versions as package versions
+ awk 'system("dh_gencontrol -p"$$4" -- -v"$$2"+eclipse$(DEB_VERSION)")' debian/bundles.properties
3. Create a `debian/bundles` file listing the names of the bundles to build,
one per line. For example:
-```
- org.eclipse.foo
- org.eclipse.foo.bar
- org.eclipse.foo.baz
-```
+ org.eclipse.foo
+ org.eclipse.foo.bar
+ org.eclipse.foo.baz
4. Create a `debian/build.xml` file importing `build-eclipse-bundle.xml`
from `/usr/share/eclipse-debian-helper/` and implementing one target
@@ -70,7 +66,7 @@ override_dh_gencontrol:
<make-bundle name="org.eclipse.foo"/>
</target>
- <!-- Equinox Bar -->
+ <!-- Eclipse Bar -->
<target name="org.eclipse.bar" depends="org.eclipse.foo">
<make-bundle name="org.eclipse.bar" depends="org.eclipse.foo">
<pathelement path="/usr/share/java/equinox-common.jar"/>
View it on GitLab: https://salsa.debian.org/java-team/eclipse-debian-helper/commit/ff0f189753963b412cb9c6cb931e19741dde8676
--
View it on GitLab: https://salsa.debian.org/java-team/eclipse-debian-helper/commit/ff0f189753963b412cb9c6cb931e19741dde8676
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20180711/6b88122d/attachment.html>
More information about the pkg-java-commits
mailing list