mrc0mmand / rpms / libguestfs

Forked from rpms/libguestfs 3 years ago
Clone

Blame SOURCES/0021-javadoc-Install-javadoc-in-datadir-javadoc-libguestf.patch

022f11
From 66c2a9697d4a0e17cf3afde837740f92552725df Mon Sep 17 00:00:00 2001
022f11
From: "Richard W.M. Jones" <rjones@redhat.com>
022f11
Date: Wed, 28 Aug 2013 18:45:14 +0100
022f11
Subject: [PATCH] javadoc: Install javadoc in $(datadir)/javadoc/libguestfs
022f11
 (without -java-$(version)).
022f11
022f11
Apparently this is the normal place for javadoc, and not
022f11
where we installed it before.
022f11
022f11
(cherry picked from commit 532117de297ecedb121f20fdc122ad83482e9b48)
022f11
---
022f11
 java/Makefile.am | 4 ++--
022f11
 1 file changed, 2 insertions(+), 2 deletions(-)
022f11
022f11
diff --git a/java/Makefile.am b/java/Makefile.am
022f11
index 7cb22e9..524302f 100644
022f11
--- a/java/Makefile.am
022f11
+++ b/java/Makefile.am
022f11
@@ -115,8 +115,8 @@ doc-stamp: $(java_sources)
022f11
 	touch $@
022f11
 
022f11
 install-data-hook:
022f11
-	mkdir -p $(DESTDIR)$(datadir)/javadoc/$(PACKAGE_NAME)-java-$(PACKAGE_VERSION)
022f11
-	cp -a api/* $(DESTDIR)$(datadir)/javadoc/$(PACKAGE_NAME)-java-$(PACKAGE_VERSION)
022f11
+	mkdir -p $(DESTDIR)$(datadir)/javadoc/$(PACKAGE_NAME)
022f11
+	cp -a api/* $(DESTDIR)$(datadir)/javadoc/$(PACKAGE_NAME)
022f11
 
022f11
 # Tests (not comprehensive).
022f11
 
022f11
-- 
022f11
1.8.3.1
022f11