[symmetrica] 02/02: Create symmetrica-doc package.

Tobias Hansen thansen at alioth.debian.org
Sat Nov 2 21:40:04 UTC 2013


This is an automated email from the git hooks/post-receive script.

thansen pushed a commit to branch master
in repository symmetrica.

commit 182d8a40f00a840e2b5b7ef8527cd1e24a166b37
Author: Tobias Hansen <tobias.han at gmx.de>
Date:   Sat Nov 2 22:30:19 2013 +0100

    Create symmetrica-doc package.
---
 debian/control |   13 +++++++++++++
 debian/rules   |   10 +++++++++-
 2 files changed, 22 insertions(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 579686c..bff06ad 100644
--- a/debian/control
+++ b/debian/control
@@ -32,3 +32,16 @@ Description: A library for combinatorics, shared library
  of type A_n.
  .
  This package contains the shared library for symmetrica.
+
+Package: symmetrica-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Description: A library for combinatorics, documentation
+ Symmetrica is a library for combinatorics.  It has support for the
+ representation theory of the symmetric group and related groups,
+ combinatorics of tableaux, symmetric functions and polynomials,
+ Schubert polynomials, and the representation theory of Hecke algebras
+ of type A_n.
+ .
+ This package contains the documentation for symmetrica.
diff --git a/debian/rules b/debian/rules
index 28bcfe3..4de1af6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,13 @@
 #!/usr/bin/make -f
 
-%:
+DESTDIR=$(CURDIR)/debian/tmp
 
+%:
 	dh $@
+
+override_dh_installdocs:
+	for file in *.doc; \
+	  do install -D $${file} debian/symmetrica-doc/usr/share/doc/symmetrica-doc/$${file%.doc}.txt; \
+	done
+	dh_installdocs
+	for

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/symmetrica.git



More information about the debian-science-commits mailing list