Commit 4f3c86ed authored by Rafael Laboissiere's avatar Rafael Laboissiere

d/rules: Use override_dh_installdeb for post-install actions

parent f2ec0417
......@@ -14,11 +14,10 @@ SHAREDIR = debian/octave-sparsersb/usr/share
EXAMPLESDIR = $(SHAREDIR)/doc/octave-sparsersb/examples
OCTDIR = $(SHAREDIR)/octave/packages/sparsersb-*
BINDIR = $(OCTDIR)/bin
override_dh_auto_install:
dh_auto_install
override_dh_installdeb:
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
dh_installdeb
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