[texmaker] 35/103: Symlinks to documentation files

Andreas Tille tille at debian.org
Sun Sep 10 17:38:28 UTC 2017


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

tille pushed a commit to branch master
in repository texmaker.

commit 11797ec60f9c8e5602ae054d1de4ca175c036bbf
Author: Andreas Tille <tille at debian.org>
Date:   Mon Feb 15 14:09:44 2010 +0000

    Symlinks to documentation files
---
 debian/changelog | 10 ++++++++++
 debian/control   |  2 +-
 debian/rules     | 17 ++++++++++++++---
 3 files changed, 25 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 505a15b..252c219 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+texmaker (1.9.9-2) unstable; urgency=low
+
+  * debian/rules: Symlinks to enable texmaker binary finding the
+    documentation in /usr/share/doc/texmaker
+    Closes: #569771
+  * debian/control: debhelper overrides needs Build-Depends:
+    debhelper (>= 7.0.50~)
+
+ -- Andreas Tille <tille at debian.org>  Mon, 15 Feb 2010 14:16:10 +0100
+
 texmaker (1.9.9-1) unstable; urgency=low
 
   * New upstream version.
diff --git a/debian/control b/debian/control
index e97bdec..37c16aa 100644
--- a/debian/control
+++ b/debian/control
@@ -5,7 +5,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
 DM-Upload-Allowed: yes
 Uploaders: Andreas Tille <tille at debian.org>,
  Ruben Molina <rmolina at udea.edu.co>
-Build-Depends: debhelper (>= 7), libqt4-dev (>=4.5.1), libglib2.0-dev
+Build-Depends: debhelper (>= 7.0.50~), libqt4-dev (>=4.5.1), libglib2.0-dev
 Standards-Version: 3.8.4
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/texmaker/trunk/?rev=0&sc=0
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/texmaker/trunk/
diff --git a/debian/rules b/debian/rules
index f1ba28b..603b8e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,8 @@
 #!/usr/bin/make -f
+
+pkg=texmaker
+data=$(pkg)-data
+
 %:
 	dh $@
 clean:
@@ -11,7 +15,14 @@ build:
 	qmake-qt4 -unix PREFIX=/usr texmaker.pro
 	dh build --after dh_auto_build --before dh_auto_test
 	dh build --after dh_auto_test
-binary:
-	dh binary --until dh_prep
+
+override_dh_installchangelogs:
 	dh_installchangelogs utilities/CHANGELOG.txt
-	dh binary --remaining
+
+override_dh_installdocs:
+	dh_installdocs
+	# Setting symlinks from doc dir to /usr/share/texmaker
+	for docfile in `ls $(CURDIR)/debian/$(data)/usr/share/doc/$(pkg)/html/*` ; do \
+	    ln -s ../doc/$(pkg)/html/`basename $${docfile}` $(CURDIR)/debian/$(data)/usr/share/$(pkg) ; \
+	done
+

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



More information about the debian-science-commits mailing list