[Pkg-octave-commit] [SCM] octave-gsl branch, master, updated. 6d4ed2b590332bd4db4a5dc590d7abe7ad243973

Rafael Laboissiere rafael at debian.org
Sun May 24 12:31:29 UTC 2009


The following commit has been merged in the master branch:
commit 0507c801b6758f09e8f3300a466fe44d56d48edd
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 14:28:00 2009 +0200

    Remove the unneeded documentation sources

diff --git a/debian/changelog b/debian/changelog
index f93f482..3564c36 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,8 +5,8 @@ octave-gsl (1.0.8-1) UNRELEASED; urgency=low
     + (Standards-Version): Bump to 3.8.1 (no changes needed)
     + (Depends): Add ${misc:Depends}
     + (Vcs-Git, Vcs-Browser): Adjust to new Git repository
-  * debian/rules: Remove the bogus directory RCS, which is installed in
-    /usr/share/doc
+  * debian/rules: Remove the unneeded documentation sources, which are
+    installed in /usr/share/doc
   * debian/copyright:
     + Use DEP5 URL in Format-Specification
     + Use separate License stanzas for instructing about the location of
diff --git a/debian/rules b/debian/rules
index a2358ab..69fbeab 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,12 @@
 
 include /usr/share/cdbs/1/class/octave-pkg.mk
 
-install/octave-gsl::
-	rm -r debian/octave-gsl/usr/share/doc/octave-gsl/RCS
+pkg = octave-gsl
+wrongdocs = gsl_sf.doc make.lst gsl_sf.dvi mkdoc texinfo.tex gsl_sf.log	\
+	mk_pdf_dvi texinfo.tex.max DOSCSTRINGS.old mktexi txt2latex	\
+	gsl_sf_a.ps gsl_sf.ps mktexi_inc gsl_sf.cc gsl_sf.texi mk.tgz
+
+install/$(pkg)::
+	( cd debian/$(pkg)/usr/share/doc/$(pkg) ; 			\
+	  for f in $(wrongdocs) ; do [ -f $$f ] && rm $$f ; done ;	\
+	  [ -d RCS ] && rm -rf RCS )

-- 
octave-gsl



More information about the Pkg-octave-commit mailing list