[Git][java-team/openchemlib][master] 3 commits: Using system-provided JS modules in documentation.

Andrius Merkys gitlab at salsa.debian.org
Thu Aug 8 06:36:53 BST 2019



Andrius Merkys pushed to branch master at Debian Java Maintainers / openchemlib


Commits:
4789161f by Andrius Merkys at 2019-08-08T05:29:28Z
Using system-provided JS modules in documentation.

- - - - -
7431077f by Andrius Merkys at 2019-08-08T05:31:49Z
Using maven:Depends in documentation package.

- - - - -
c0da969a by Andrius Merkys at 2019-08-08T05:36:36Z
Adding b-dep on libopenjfx-java-doc.

- - - - -


2 changed files:

- debian/control
- debian/rules


Changes:

=====================================
debian/control
=====================================
@@ -14,6 +14,7 @@ Build-Depends-Indep:
  libmaven-javadoc-plugin-java,
  libmaven-javadoc-plugin-java (>= 3.0.1),
  libopenjfx-java,
+ libopenjfx-java-doc,
 Standards-Version: 4.2.1
 Vcs-Git: https://salsa.debian.org/java-team/openchemlib.git
 Vcs-Browser: https://salsa.debian.org/java-team/openchemlib
@@ -52,6 +53,7 @@ Section: doc
 Depends:
  libjs-jquery,
  libjs-jquery-ui,
+ ${maven:Depends},
  ${misc:Depends},
 Recommends:
  ${maven:DocDepends},


=====================================
debian/rules
=====================================
@@ -1,4 +1,15 @@
 #!/usr/bin/make -f
 
+JQUERY_DIR = $(CURDIR)/debian/libopenchemlib-java-doc/usr/share/doc/libopenchemlib-java/api/jquery
+
 %:
-	dh $@ --buildsystem=maven
\ No newline at end of file
+	dh $@ --buildsystem=maven
+
+override_dh_installdocs:
+	dh_installdocs
+	ln -fs /usr/share/javascript/jquery/jquery.js ${JQUERY_DIR}/external/jquery/jquery.js
+	ln -fs /usr/share/javascript/jquery/jquery.js ${JQUERY_DIR}/jquery-3*.js
+	ln -fs /usr/share/javascript/jquery-ui/themes/base/jquery-ui.css ${JQUERY_DIR}/jquery-ui.css
+	ln -fs /usr/share/javascript/jquery-ui/jquery-ui.js ${JQUERY_DIR}/jquery-ui.js
+	ln -fs /usr/share/javascript/jquery-ui/themes/base/jquery-ui.min.css ${JQUERY_DIR}/jquery-ui.min.css
+	ln -fs /usr/share/javascript/jquery-ui/jquery-ui.min.js ${JQUERY_DIR}/jquery-ui.min.js



View it on GitLab: https://salsa.debian.org/java-team/openchemlib/compare/9e3c76be9be43e89106a0ff0973e0ea6a685e265...c0da969ab7969b7b17744b164cdc101d7f41733e

-- 
View it on GitLab: https://salsa.debian.org/java-team/openchemlib/compare/9e3c76be9be43e89106a0ff0973e0ea6a685e265...c0da969ab7969b7b17744b164cdc101d7f41733e
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20190808/4277f519/attachment.html>


More information about the pkg-java-commits mailing list