[gradle-1.12] 197/211: Install multiple doc-base
Kai-Chung Yan
seamlik-guest at moszumanska.debian.org
Wed Jul 1 14:18:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
seamlik-guest pushed a commit to branch master
in repository gradle-1.12.
commit d87b0b030534291d3dcc2fee1dbfbc01ce5d6510
Author: Kai-Chung Yan <seamlikok at gmail.com>
Date: Tue Jun 23 18:03:27 2015 +0800
Install multiple doc-base
---
debian/changelog | 1 +
debian/control | 2 --
debian/gradle-doc.doc-base.gradle-dsl | 9 +++++++++
debian/gradle-doc.doc-base.gradle-groovydoc | 9 +++++++++
debian/gradle-doc.doc-base.gradle-javadoc | 9 +++++++++
debian/gradle-doc.doc-base.gradle-userguide | 11 +++++++++++
debian/gradle-doc.install | 6 +++---
debian/rules | 7 +++++++
8 files changed, 49 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 62746cc..0d636ff 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ gradle (1.12-1) UNRELEASED; urgency=medium
* d/bootstrap: Use Gradle 1.5 for bootstrap
* d/gradle.1.md: Updated man page for gradle using Pandoc Markdown
* Remove most symlinks to external jar files
+ * Install multiple doc-base for all documentations
* Move jars between packages
- gradle-cli.jar from gradle to libgradle-core-java
- gradle-open-api.jar from gradle to libgradle-core-java
diff --git a/debian/control b/debian/control
index c1fff0b..2fc2fa2 100644
--- a/debian/control
+++ b/debian/control
@@ -92,7 +92,6 @@ Replaces: libgradle-core-java (<< 1.12)
Recommends: default-jdk,
libcodenarc-groovy-java,
scala
-Suggests: gradle-doc (>= ${binary:Version})
Description: Groovy based build system
Gradle is a build system written in Groovy. It uses Groovy
also as the language for its build scripts. It has a powerful
@@ -136,7 +135,6 @@ Breaks: libgradle-wrapper-java (<< 1.3~)
Replaces: libgradle-wrapper-java (<< 1.3~),
libgradle-plugins-java (<< 1.12)
Recommends: gradle (>= ${binary:Version})
-Suggests: gradle-doc (>= ${binary:Version})
Description: Groovy based build system - Core library
Gradle is a build system written in Groovy. It uses Groovy
also as the language for its build scripts. It has a powerful
diff --git a/debian/gradle-doc.doc-base.gradle-dsl b/debian/gradle-doc.doc-base.gradle-dsl
new file mode 100644
index 0000000..753a9c2
--- /dev/null
+++ b/debian/gradle-doc.doc-base.gradle-dsl
@@ -0,0 +1,9 @@
+Document: gradle-dsl
+Title: Gradle Build Language Reference
+Author: Gradle developers
+Abstract: Reference for the Gradle build language, or DSL.
+Section: Programming/Java
+
+Format: HTML
+Files: /usr/share/doc/gradle/dsl/*
+Index: /usr/share/doc/gradle/dsl/index.html
\ No newline at end of file
diff --git a/debian/gradle-doc.doc-base.gradle-groovydoc b/debian/gradle-doc.doc-base.gradle-groovydoc
new file mode 100644
index 0000000..31b4bcc
--- /dev/null
+++ b/debian/gradle-doc.doc-base.gradle-groovydoc
@@ -0,0 +1,9 @@
+Document: gradle-groovydoc
+Title: Gradle Groovydoc
+Author: Gradle developers
+Abstract: Groovydoc for Gradle APIs
+Section: Programming/Java
+
+Format: HTML
+Files: /usr/share/doc/gradle/groovydoc/*
+Index: /usr/share/doc/gradle/groovydoc/index.html
\ No newline at end of file
diff --git a/debian/gradle-doc.doc-base.gradle-javadoc b/debian/gradle-doc.doc-base.gradle-javadoc
new file mode 100644
index 0000000..65fa054
--- /dev/null
+++ b/debian/gradle-doc.doc-base.gradle-javadoc
@@ -0,0 +1,9 @@
+Document: gradle-javadoc
+Title: Gradle Javadoc
+Author: Gradle developers
+Abstract: Javadoc for Gradle APIs
+Section: Programming/Java
+
+Format: HTML
+Files: /usr/share/doc/gradle/javadoc/*
+Index: /usr/share/doc/gradle/javadoc/index.html
\ No newline at end of file
diff --git a/debian/gradle-doc.doc-base.gradle-userguide b/debian/gradle-doc.doc-base.gradle-userguide
new file mode 100644
index 0000000..fc98166
--- /dev/null
+++ b/debian/gradle-doc.doc-base.gradle-userguide
@@ -0,0 +1,11 @@
+Document: gradle-userguide
+Title: Gradle User Guide
+Author: Gradle developers
+Section: Programming/Java
+
+Format: HTML
+Files: /usr/share/doc/gradle/userguide/*.html
+Index: /usr/share/doc/gradle/userguide/userguide.html
+
+Format: PDF
+Files: /usr/share/doc/gradle/userguide/userguide.pdf.gz
\ No newline at end of file
diff --git a/debian/gradle-doc.install b/debian/gradle-doc.install
index b7ccaf6..bdb7c19 100644
--- a/debian/gradle-doc.install
+++ b/debian/gradle-doc.install
@@ -1,3 +1,3 @@
-subprojects/docs/build/docs/* /usr/share/doc/gradle/
-subprojects/docs/build/distDocs/getting-started.html /usr/share/doc/gradle/
-subprojects/docs/build/samples/ /usr/share/doc/gradle/
\ No newline at end of file
+subprojects/docs/build/docs/* usr/share/doc/gradle/
+subprojects/docs/build/distDocs/getting-started.html usr/share/doc/gradle/
+subprojects/docs/build/samples/* usr/share/doc/gradle/examples/
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index a070a42..886e345 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,6 +40,13 @@ override_dh_auto_clean:
rm -rf .gradle/ .gradlehome/ buildSrc/.gradle/ buildSrc/build/
rm -rf buildSrc/src/main/java/
+override_dh_install:
+ dh_install
+
+ # Remove empty files that raise lintian warnings
+ rm -f debian/gradle-doc/usr/share/doc/gradle/dsl/dsl-standalone.html
+ rm -f debian/gradle-doc/usr/share/doc/gradle/dsl/sidebar.js
+
get-orig-source:
cd $(dir $(firstword $(MAKEFILE_LIST)))../ && \
uscan \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle-1.12.git
More information about the pkg-java-commits
mailing list