[Pkg-octave-commit] [SCM] octave-odepkg branch, master, updated. 680a85792602089ca7c7af62141d352a2079d73b

Rafael Laboissiere rafael at debian.org
Sun May 24 16:13:34 UTC 2009


The following commit has been merged in the master branch:
commit 8073e6de2152487ccbd0e26bce93e8949f5f9989
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 17:16:38 2009 +0200

    Removed unneeded documentation source files that get installed

diff --git a/debian/changelog b/debian/changelog
index 7ddadcc..14606d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,8 +12,11 @@ octave-odepkg (0.6.6-1) UNRELEASED; urgency=low
   * debian/patches/info-dir-section.diff: Changed this patch to add
     @dircategory and @direntry macros directly into the texinfo source
     file
-  * debian/rules: Build the odepkg.info file from the texinfo source and
-    install it instead of inst/doc.info
+  * debian/rules:
+    + Build the odepkg.info file from the texinfo source and install it
+      instead of inst/doc.info
+    + Removed unneeded documentation source files, which get wrongly
+      installed in /usr/share/doc
   * debian/clean: Remove odepkg.info, which is generated during package
     build
 
diff --git a/debian/rules b/debian/rules
index 081e27c..b476356 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,11 @@ include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 
 pkg = octave-odepkg
 debshr = $(CURDIR)/debian/$(pkg)/usr/share
+wrongdocs = Makefile dldfunref.texi mfunref.texi odepkg.texi
 
 install/$(pkg)::
 	( cd doc ; make odepkg.info )
 	dh_installinfo doc/odepkg.info
+	( cd $(debshr)/doc/$(pkg) ;					\
+	  for f in $(wrongdocs) ; do [ -f $$f ] && rm $$f ; done )
 	rm -f $(debshr)/octave/packages/*/doc.info

-- 
octave-odepkg



More information about the Pkg-octave-commit mailing list