[Pkg-octave-commit] [octave-interval] 03/04: d/rules: Strip test files from binary package after validation
Oliver Heimlich
oheim-guest at moszumanska.debian.org
Sun Apr 24 19:25:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
oheim-guest pushed a commit to branch master
in repository octave-interval.
commit 5c1861a5e38a9bef68a0da25b652a516997e420b
Author: Oliver Heimlich <oheim at posteo.de>
Date: Sun Apr 24 21:05:17 2016 +0200
d/rules: Strip test files from binary package after validation
---
debian/rules | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 6c85448..74ffa86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -31,12 +31,19 @@ install-docs:
# so we have to set paths for the build process.
OCTAVE="$(octave) $(octave_options) --eval \"pkg ('prefix', [pwd(),'/../$(debpkg)/$(mpath)'], [pwd(),'/../$(debpkg)/$(bpath)']); pkg ('local_list', [pwd(),'/../local-list']); pkg ('global_list', [pwd(),'/../global-list']); pkg ('load', '$(pkg)');\"" \
make -C doc manual.html
- rm -rf $(debpkg)/$(mpath)/*/doc
# dh_installdocs does not support subdirectories,
# so we move everything in place
mkdir -p "$(doc_image_dir)"
cp doc/image/*.png doc/image/*.svg "$(doc_image_dir)/"
+remove-dirs:
+ rmdir --ignore-fail-on-non-empty -p \
+ $(CURDIR)/$(debpkg)/$(mpath) \
+ $(CURDIR)/$(debpkg)/$(bpath)
+ rm -rf \
+ $(CURDIR)/$(debpkg)/$(mpath)/*/doc \
+ $(CURDIR)/$(debpkg)/$(mpath)/*/test
+
clean::
( cd doc ; \
rm -f *.aux *.cp *.fn *.ky *.log *.pg *.toc *.tp *.vr manual.html image/*.m.png )
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-interval.git
More information about the Pkg-octave-commit
mailing list