[Pkg-octave-commit] [octave-sparsersb] 01/01: Move Octave scripts into the examples directory
Rafael Laboissiere
rafael at debian.org
Tue Mar 14 14:54:36 UTC 2017
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository octave-sparsersb.
commit 4ee853473c9e32e742fea53a63aa676ef77b7bd6
Author: Rafael Laboissiere <rafael at debian.org>
Date: Tue Mar 14 11:54:28 2017 -0300
Move Octave scripts into the examples directory
Gbp-Dch: Ignore
---
debian/rules | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/debian/rules b/debian/rules
index 64db2c1..8405c40 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,17 @@ include /usr/share/cdbs/1/class/octave-pkg.mk
pre-build::
( cd src ; autoconf )
+### Move Octave scripts into the examples directory
+SHAREDIR = debian/octave-sparsersb/usr/share
+EXAMPLESDIR = $(SHAREDIR)/doc/octave-sparsersb/examples
+OCTDIR = $(SHAREDIR)/octave/packages/sparsersb-*
+BINDIR = $(OCTDIR)/bin
+install/octave-sparsersb::
+ mkdir -p $(EXAMPLESDIR)
+ mv $(OCTDIR)/sparsersb*.m $(BINDIR)/*.m $(BINDIR)/pd.mtx $(EXAMPLESDIR)
+ chmod -x $(EXAMPLESDIR)/*
+ rm -rf $(BINDIR)
+ rm -f $(OCTDIR)/doc-cache $(BINDIR)/doc-cache
+
check-pkg::
make OCTAVE=octave-cli -C src/ check
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-sparsersb.git
More information about the Pkg-octave-commit
mailing list