Fix: Java Agent JAR file symlink should be created after objects install
A message that is not in the archive (sent off-list or not yet received): [email protected]
Mathieu Desnoyers
AppliedMerged, thanks!
Mathieu
----- Original Message -----
Quoted 50 lines
From: "Christian Babeux" <[email protected]>
To: [email protected]
Cc: "mathieu desnoyers" <[email protected]>, "Christian Babeux" <[email protected]>
Sent: Tuesday, November 4, 2014 4:28:19 PM
Subject: [PATCH v2 lttng-ust] Fix: Java Agent JAR file symlink should be created after objects installSigned-off-by Christian Babeux <[email protected]>--- liblttng-ust-java-agent/java/Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)liblttng-ust-java-agent/java/Makefile.am +1
-1@@ -46,7 +46,7 @@ classes += $(pkgpath)/log4j/*.class endif $(jarfile): classnoinst.stamp - $(JAR) cfm $(JARFLAGS) $@ $(jarfile_manifest) $(classes) && $(LN_S) $@ $(jarfile_symlink) + $(JAR) cfm $(JARFLAGS) $@ $(jarfile_manifest) $(classes) && rm -f $(jarfile_symlink) && $(LN_S) $@ $(jarfile_symlink)$(jarfile_old): classnoinst.stamp
liblttng-ust-java-agent/java/Makefile.am +4
-4$(JAR) cf $(JARFLAGS) $@ $(pkgpath)/*.class \@@ -62,11 +62,11 @@ log4j-jni-header.stamp: $(dist_noinst_JAVA) all-local: $(stamp) -install-data-local: - cd $(DESTDIR)/$(jardir); rm -f $(jarfile_symlink); $(LN_S) $(jarfile) $(jarfile_symlink) +install-data-hook: + cd $(DESTDIR)/$(jardir) && rm -f $(jarfile_symlink) && $(LN_S) $(jarfile) $(jarfile_symlink) -uninstall-local: - cd $(DESTDIR)/$(jardir); rm -f $(jarfile_symlink) +uninstall-hook: + cd $(DESTDIR)/$(jardir) && rm -f $(jarfile_symlink)CLEANFILES = $(jarfile) $(jarfile_old) $(pkgpath)/*.class $(pkgpath_old)/*.class $(pkgpath)/jul/*.class \
$(pkgpath)/log4j/*.class jul-jni-header.stamp log4j-jni-header.stamp \
--
2.1.1
Signature · 3 lines
Mathieu Desnoyers EfficiOS Inc. http://www.efficios.com