summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMatthew Johnson <mjj29@adonis.trinhall.cam.ac.uk>2007-05-30 02:03:53 +0100
committerMatthew Johnson <mjj29@adonis.trinhall.cam.ac.uk>2007-05-30 02:03:53 +0100
commit0e749d6c0562bc59a9ee601bfaf063695558699c (patch)
treeda01b20c5fe58d155a479d6cbe967fc92a7c54f5 /Makefile
parent28d6ab16baad2d64a50b9f29454b0666f220d430 (diff)
+++ b/changelog
+ * Add Class-Path to jar manifests
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 8 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