[med-svn] [gadgetron] 08/09: add documentation package
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Fri Apr 24 18:41:19 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository gadgetron.
commit 654d675dfa29431667f297802b3091123a2a21df
Author: Ghislain Antony Vaillant <ghisvail at gmail.com>
Date: Fri Apr 24 15:09:25 2015 +0100
add documentation package
---
.pc/.quilt_patches | 1 +
.pc/.quilt_series | 1 +
.pc/.version | 1 +
debian/control | 14 +++++++++++---
debian/gadgetron-doc.install | 1 +
debian/rules | 5 +++++
6 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/.pc/.quilt_patches b/.pc/.quilt_patches
new file mode 100644
index 0000000..6857a8d
--- /dev/null
+++ b/.pc/.quilt_patches
@@ -0,0 +1 @@
+debian/patches
diff --git a/.pc/.quilt_series b/.pc/.quilt_series
new file mode 100644
index 0000000..c206706
--- /dev/null
+++ b/.pc/.quilt_series
@@ -0,0 +1 @@
+series
diff --git a/.pc/.version b/.pc/.version
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/.pc/.version
@@ -0,0 +1 @@
+2
diff --git a/debian/control b/debian/control
index 5bf64e9..403d72a 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,15 @@ Homepage: https://github.com/gadgetron/gadgetron
Package: gadgetron-client
Architecture: any
Depends:
- ${shlibs:Depends},
- ${misc:Depends}
-Description: an open source framework for medical image reconstruction
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: an open source framework for medical image reconstruction (Client)
This package provides the client application.
+
+Package: gadgetron-doc
+Architecture: all
+Depends:
+ ${misc:Depends},
+ libjs-jquery
+Description: an open source framework for medical image reconstruction (Documentation)
+ This package provides the common documentation.
diff --git a/debian/gadgetron-doc.install b/debian/gadgetron-doc.install
new file mode 100644
index 0000000..cc8f355
--- /dev/null
+++ b/debian/gadgetron-doc.install
@@ -0,0 +1 @@
+debian/build/doc/html/api
diff --git a/debian/rules b/debian/rules
index b826ebe..6317832 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,3 +18,8 @@ override_dh_auto_configure:
dh_auto_configure -- \
-DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH) \
-DCMAKE_INSTALL_PREFIX=/usr
+
+override_dh_auto_build:
+ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
+ cd $(BUILDDIR); $(MAKE) apidoc
+endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gadgetron.git
More information about the debian-med-commit
mailing list