[Pkg-octave-commit] [SCM] octave-vrml branch, master, updated. 47ba04b07846b22f52a15a2159b93d88d391eb5f

Rafael Laboissiere rafael at debian.org
Sun May 24 21:19:10 UTC 2009


The following commit has been merged in the master branch:
commit 47ba04b07846b22f52a15a2159b93d88d391eb5f
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 23:07:08 2009 +0200

    Remove unneeded documentation source files in /usr/share/doc

diff --git a/debian/changelog b/debian/changelog
index bd2ede1..3cfa13a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,8 @@ octave-vrml (1.0.9-1) UNRELEASED; urgency=low
     + Use separate License stanzas for instructing about the location of
       the different licenses used in the package
   * debian/patches/whitedune_for_freewrl: Add description
+  * debian/rules: Remove unneeded documentation source files, which get
+    wrongly installed in /usr/share/doc
 
  -- Rafael Laboissiere <rafael at debian.org>  Sun, 12 Apr 2009 17:49:43 +0200
 
diff --git a/debian/rules b/debian/rules
index 0b99ddf..2d9cc5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,3 +3,11 @@
 
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/octave-pkg.mk
+
+pkg = octave-vrml
+wrongdocs = vrml-mini-howto-1.lyx vrml-mini-howto-1.tex Makefile
+
+install/$(pkg)::
+	( cd debian/$(pkg)/usr/share/doc/$(pkg) ;			\
+	  for f in $(wrongdocs) ; do [ -f $$f ] && rm $$f ; done ;	\
+	  [ -d figures ] && rm -rf figures )

-- 
octave-vrml



More information about the Pkg-octave-commit mailing list