[Pkg-octave-commit] [octave-pkg-dev] 01/02: octave-pkg.mk: Reintroduce code exclude by mistake
Rafael Laboissiere
rafael at debian.org
Fri Dec 29 18:51:34 UTC 2017
This is an automated email from the git hooks/post-receive script.
rafael pushed a commit to branch master
in repository octave-pkg-dev.
commit 5f85d1becd698c3077662f01e9b213427b6ea334
Author: Rafael Laboissiere <rafael at debian.org>
Date: Fri Dec 29 16:47:19 2017 -0200
octave-pkg.mk: Reintroduce code exclude by mistake
Gbp-Dch: Ignore
---
octave-pkg.mk | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/octave-pkg.mk b/octave-pkg.mk
index af2b52d..66cc0bf 100644
--- a/octave-pkg.mk
+++ b/octave-pkg.mk
@@ -67,6 +67,9 @@ include /usr/share/dpkg/buildflags.mk
# Oct-files ldflags are taken from the following variable
export OCT_LINK_OPTS=$(LDFLAGS)
+# Compose the expression for exclusion of requested files from the find command
+export excluded_files_expr = $(shell for i in $(OCTPKG_EXCLUDE_TEST) ; do echo " -a ! -name $$i " ; done)
+
PACKAGES = $(shell perl -e 'use Debian::Debhelper::Dh_Lib;print join(" ", getpackages())')
%:
@@ -94,8 +97,10 @@ override_dh_auto_install:
rm -f COPYING ChangeLog )
# Install documentation files
$(libdir)/install-docs
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
# Check package
$(libdir)/check-pkg
+endif
# Remove directories
-rmdir --ignore-fail-on-non-empty -p \
$(CURDIR)/$(debpkg)/$(mpath) \
--
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-pkg-dev.git
More information about the Pkg-octave-commit
mailing list