[sagemath] 01/01: Set correct language specific index files in doc-base files and fix a typo in d/copyright.
Tobias Hansen
thansen at moszumanska.debian.org
Sun Nov 27 20:09:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository sagemath.
commit 4e4701ad90a07095c6e3d0f587b73bfa8c71ee46
Author: Tobias Hansen <thansen at broeselmaschine.fc.up.pt>
Date: Sun Nov 27 20:09:34 2016 +0000
Set correct language specific index files in doc-base files and fix a typo in d/copyright.
---
debian/copyright | 2 +-
debian/rules | 12 +++++++++++-
debian/sagemath-doc-LANG.doc-base.in | 11 +----------
3 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/debian/copyright b/debian/copyright
index 6ccd4f4..93658e7 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -73,7 +73,7 @@ License: GPL-3+
On Debian systems, the complete text of the GNU General Public License
version 3 can be found in `/usr/share/common-licenses/GPL-3'.
-License" BSD-2-clause
+License: BSD-2-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
.
diff --git a/debian/rules b/debian/rules
index c009e41..278e302 100755
--- a/debian/rules
+++ b/debian/rules
@@ -48,8 +48,18 @@ debian/sagemath-doc-%.control: debian/sagemath-doc-LANG.control.in debian/rules
debian/sagemath-doc-%.install: debian/sagemath-doc-LANG.install.in debian/rules
sed -e "s/LANGUAGE/$$(debian/lang.py $*)/g" -e 's/LANG/$*/g' < "$<" > "$@"
+debian/sagemath-doc-en.doc-base: debian/sagemath-doc-LANG.doc-base.in debian/rules
+ sed -e "s/LANGUAGE/$$(debian/lang.py en)/g" -e 's/LANG/en/g' -e 's/SUBDIR//g' < "$<" > "$@"
+
+debian/sagemath-doc-ca.doc-base: debian/sagemath-doc-LANG.doc-base.in debian/rules
+ sed -e "s/LANGUAGE/$$(debian/lang.py ca)/g" -e 's/LANG/ca/g' -e 's/SUBDIR/intro\//g' < "$<" > "$@"
+
debian/sagemath-doc-%.doc-base: debian/sagemath-doc-LANG.doc-base.in debian/rules
- sed -e "s/LANGUAGE/$$(debian/lang.py $*)/g" -e 's/LANG/$*/g' < "$<" > "$@"
+ if [ "$*" = "hu" -o "$*" = "it" -o "$*" = "tr" ]; then \
+ sed -e "s/LANGUAGE/$$(debian/lang.py $*)/g" -e 's/LANG/$*/g' -e 's/SUBDIR/a_tour_of_sage\//g' < "$<" > "$@"; \
+ else \
+ sed -e "s/LANGUAGE/$$(debian/lang.py $*)/g" -e 's/LANG/$*/g' -e 's/SUBDIR/tutorial\//g' < "$<" > "$@"; \
+ fi
override_dh_auto_build: prune
$(MAKE) --directory=sage $(DEB_BUILD_TARGET)
diff --git a/debian/sagemath-doc-LANG.doc-base.in b/debian/sagemath-doc-LANG.doc-base.in
index c451768..ed8af24 100644
--- a/debian/sagemath-doc-LANG.doc-base.in
+++ b/debian/sagemath-doc-LANG.doc-base.in
@@ -2,16 +2,7 @@ Document: sagemath-doc-LANG
Title: SageMath Manual (LANGUAGE)
Author: The Sage Development Team
Abstract: This is the manual for SageMath in LANGUAGE.
- SageMath is a free open-source mathematics software system licensed under the
- GPL. It builds on top of many existing open-source packages: NumPy, SciPy,
- matplotlib, Sympy, Maxima, GAP, FLINT, R and many more. Access their combined
- power through a common, Python-based language or directly via interfaces or
- wrappers.
- .
- Note that the English documentation (sagemath-doc-en) contains far
- more documentation than any of the other languages. So if you're finding this
- package lacking in content, then you could try that one as well.
Section: Science/Mathematics
Format: HTML
-Index: /usr/share/doc/sage/html/LANG/index.html
+Index: /usr/share/doc/sage/html/LANG/SUBDIRindex.html
Files: /usr/share/doc/sage/html/LANG/*
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/sagemath.git
More information about the debian-science-commits
mailing list