Commit 0720273b authored by Rafael Laboissiere's avatar Rafael Laboissiere

Use the dh-based version of octave-pkg-dev

parent 9d6694aa
system ("make OCTAVE=octave-cli -C src/ check");
......@@ -3,7 +3,7 @@ Section: math
Priority: optional
Maintainer: Debian Octave Group <pkg-octave-devel@lists.alioth.debian.org>
Uploaders: Rafael Laboissiere <rafael@debian.org>
Build-Depends: debhelper (>= 10), cdbs, octave-pkg-dev (>= 1.4.4),
Build-Depends: debhelper (>= 10), octave-pkg-dev (>= 2),
librsb-dev, autoconf
Standards-Version: 4.1.2
Homepage: http://octave.sourceforge.net/sparsersb/
......
#!/usr/bin/make -f
# -*- makefile -*-
include /usr/share/cdbs/1/class/octave-pkg.mk
include /usr/share/octave-pkg-dev/octave-pkg.mk
DEB_COMPRESS_EXCLUDE = .m
pre-build::
pre-build:
( cd src ; autoconf )
### Move Octave scripts into the examples directory
......@@ -13,12 +13,10 @@ SHAREDIR = debian/octave-sparsersb/usr/share
EXAMPLESDIR = $(SHAREDIR)/doc/octave-sparsersb/examples
OCTDIR = $(SHAREDIR)/octave/packages/sparsersb-*
BINDIR = $(OCTDIR)/bin
install/octave-sparsersb::
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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment