summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile12
-rw-r--r--changelog1
2 files changed, 9 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index b9d5102..d6d501a 100644
--- a/Makefile
+++ b/Makefile
@@ -75,13 +75,17 @@ binclasses: .binclasses
touch .classes
libdbus-java-$(VERSION).jar: .classes
- (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/*.class org/freedesktop/*.class org/freedesktop/dbus/types/*.class org/freedesktop/dbus/exceptions/*.class)
+ echo "Class-Path: ${JAVAUNIXJARDIR}/unix.jar ${JAVAUNIXJARDIR}/debug-$(DEBUG).jar" > Manifest
+ (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/*.class org/freedesktop/*.class org/freedesktop/dbus/types/*.class org/freedesktop/dbus/exceptions/*.class)
dbus-java-test-$(VERSION).jar: .testclasses
- (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/test/*.class)
+ echo "Class-Path: ${JARDIR}/libdbus-java-$(VERSION).jar" > Manifest
+ (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/test/*.class)
dbus-java-viewer-$(VERSION).jar: .viewerclasses
- (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/viewer/*.class)
+ echo "Class-Path: ${JARDIR}/libdbus-java-$(VERSION).jar" > Manifest
+ (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/viewer/*.class)
dbus-java-bin-$(VERSION).jar: .binclasses
- (cd classes; $(JAR) -cf ../$@ org/freedesktop/dbus/bin/*.class)
+ echo "Class-Path: ${JARDIR}/libdbus-java-$(VERSION).jar" > Manifest
+ (cd classes; $(JAR) -cfm ../$@ ../Manifest org/freedesktop/dbus/bin/*.class)
dbus.jar: libdbus-java-$(VERSION).jar
ln -sf $< $@
dbus-bin.jar: dbus-java-bin-$(VERSION).jar
diff --git a/changelog b/changelog
index efeee66..16c78c5 100644
--- a/changelog
+++ b/changelog
@@ -2,6 +2,7 @@ Version 2.3:
* Apply recursive-path patch for DBusViewer (written by Zsombor Gegesy
<gzsombor -at- gmail -dot- com>)
+ * Add Class-Path to jar manifests
Version 2.2: