[Pkg-octave-commit] [SCM] octave-optim branch, master, updated. c9462374a0a45d1dcfb02ed3d5e65e7221670cb1

Rafael Laboissiere rafael at debian.org
Sun May 24 16:36:02 UTC 2009


The following commit has been merged in the master branch:
commit cf2a5678a0ffe5476f665a2842e00cdb7d094a3e
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 18:32:42 2009 +0200

    Removed unneeded documentation source files installed in /usr/share/doc

diff --git a/debian/changelog b/debian/changelog
index f9ef448..856e1d7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ octave-optim (1.0.5-1) UNRELEASED; urgency=low
     + Use separate License stanzas for instructing about the location of
       the different licenses used in the package
   * debian/patches/pdfsources.diff: Add description
+  * debian/rules: Removed unneeded documentation source files, which get
+    wrongly installed in /usr/share/doc
 
  -- Rafael Laboissiere <rafael at debian.org>  Sun, 12 Apr 2009 17:51:27 +0200
 
diff --git a/debian/rules b/debian/rules
index ff41ca8..7dd166e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,3 +4,10 @@
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/octave-pkg.mk
 
+pkg = octave-optim
+wrongdocs = Makefile optim-mini-howto-2.lyx optim-mini-howto-2.tex
+
+install/$(pkg)::
+	( cd debian/$(pkg)/usr/share/doc/$(pkg) ;			\
+	  for f in $(wrondocs) ; do [ -f $$f ] && rm $$f ; done ;	\
+	  [ -d figures ] && rm -rf figures )

-- 
octave-optim



More information about the Pkg-octave-commit mailing list