r36189 - in /packages/texmaker/trunk/debian: changelog control rules

tille at users.alioth.debian.org tille at users.alioth.debian.org
Mon Feb 15 14:09:48 UTC 2010


Author: tille
Date: Mon Feb 15 14:09:44 2010
New Revision: 36189

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=36189
Log:
Symlinks to documentation files

Modified:
    packages/texmaker/trunk/debian/changelog
    packages/texmaker/trunk/debian/control
    packages/texmaker/trunk/debian/rules

Modified: packages/texmaker/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/texmaker/trunk/debian/changelog?rev=36189&op=diff
==============================================================================
--- packages/texmaker/trunk/debian/changelog (original)
+++ packages/texmaker/trunk/debian/changelog Mon Feb 15 14:09:44 2010
@@ -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.

Modified: packages/texmaker/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/texmaker/trunk/debian/control?rev=36189&op=diff
==============================================================================
--- packages/texmaker/trunk/debian/control (original)
+++ packages/texmaker/trunk/debian/control Mon Feb 15 14:09:44 2010
@@ -5,7 +5,7 @@
 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/

Modified: packages/texmaker/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/texmaker/trunk/debian/rules?rev=36189&op=diff
==============================================================================
--- packages/texmaker/trunk/debian/rules (original)
+++ packages/texmaker/trunk/debian/rules Mon Feb 15 14:09:44 2010
@@ -1,4 +1,8 @@
 #!/usr/bin/make -f
+
+pkg=texmaker
+data=$(pkg)-data
+
 %:
 	dh $@
 clean:
@@ -11,7 +15,14 @@
 	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
+




More information about the debian-science-commits mailing list