[Pkg-octave-commit] [SCM] octave-communications branch, master, updated. e0270cfc6045be3872ba96018e4b1e497f3f2604

Rafael Laboissiere rafael at debian.org
Sun May 24 09:58:47 UTC 2009


The following commit has been merged in the master branch:
commit 38051b03e5e3a4fcba8b34e33893cd70f0ad59aa
Author: Rafael Laboissiere <rafael at debian.org>
Date:   Sun May 24 11:39:58 2009 +0200

    Remove unneeded documentation sources from /usr/share/doc

diff --git a/debian/changelog b/debian/changelog
index fa21347..33c7401 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ octave-communications (1.0.9-1) UNRELEASED; urgency=low
   * debian/rules:
     + Include patchsys-quilt.mk
     + Fix permission of some installed *.m scripts
+    + 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 6cfe420..dc0cd91 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,9 +12,7 @@ pkgdir = $(indepshr)/octave/packages/*/$(pkg)-*
 
 DEB_DH_INSTALL_SOURCEDIR = debian/octave-$(pkg)
 
-build/octave-$(pkg)-common:: install/octave-$(pkg)
-
-install/octave-$(pkg)-common::
+install/octave-$(pkg)-common:: install/octave-$(pkg)
 	# Move the architecture independent files into the appropriate
 	# package
 	mkdir -p $(indepshr)
@@ -25,3 +23,10 @@ install/octave-$(pkg)-common::
 	for f in $(wrongperm) ; do					\
 		[ -x $(pkgdir)/$$f ] && chmod -x $(pkgdir)/$$f ;	\
 	done
+
+install/octave-$(pkg)::
+	# Remove unneeded doc sources
+	( cd $(archshr)/doc/octave-$(pkg) ;		\
+	  for e in txi texi ; do  			\
+		[ -f comms.$$e ] && rm comms.$$e ;	\
+	  done )

-- 
octave-communications



More information about the Pkg-octave-commit mailing list