[Pkg-octave-commit] [SCM] octave-control branch, master, updated. 1af1655491e64ba820311d76af5ecc64e3d1f0a1

Rafael Laboissiere rafael at debian.org
Sun May 24 10:06:57 UTC 2009


The following commit has been merged in the master branch:
commit 1ee76768480269667098aae59feeea4535c81928
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 12:04:54 2009 +0200

    Remove unneeded documentation sources from /usr/share/doc

diff --git a/debian/changelog b/debian/changelog
index c3a995d..64ec299 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,7 +3,9 @@ octave-control (1.0.10-1) UNRELEASED; urgency=low
   * New upstream release
   * debian/patches/no-check-failure-acker-place.diff: Get around precision
     problems when testing functions acker and place
-  * debian/rules: Include patchsys-quilt.mk
+  * debian/rules:
+    + Include patchsys-quilt.mk
+    + Remove unneeded documentation sources from /usr/share/doc
   * debian/control:
     + (Build-Depends): Add quilt
     + (Standards-Version): Bump to 3.8.1 (no changes needed)
diff --git a/debian/rules b/debian/rules
index 038c30c..1b44c3b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,12 @@
 
 include /usr/share/cdbs/1/class/octave-pkg.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
+
+pkg = octave-control
+
+install/$(pkg)::
+	# Remove unneeded doc sources
+	( cd debian/$(pkg)/usr/share/doc/$(pkg) ;	\
+	  for e in txi texi ; do  			\
+		[ -f control.$$e ] && rm control.$$e ;	\
+	  done )

-- 
octave-control



More information about the Pkg-octave-commit mailing list