Commit 5e61f327 authored by Julien Y. Dutheil's avatar Julien Y. Dutheil
Browse files

Symbol files for amd64 arch only.

Fixed dates in copyright file.
parent 28cfae1a
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
libbpp-raa (2.4.0-2) UNRELEASED; urgency=medium

  [ Julien Dutheil ]
  * Provide symbols file only for amd64

  [ Andreas Tille ]
  * Provide full license text of CeCILL license

 -- Andreas Tille <tille@debian.org>  Fri, 06 Apr 2018 07:57:17 +0200
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@ Upstream-Contact: Julien Yann Dutheil <julien.dutheil@univ-montp2.fr>
Source: https://github.com/BioPP/bpp-raa/

Files: *
Copyright: 2010-2016 Julien Yann Dutheil <julien.dutheil@univ-montp2.fr>
Copyright: 2010-2018 Julien Yann Dutheil <julien.dutheil@univ-montp2.fr>
                     Bio++ Development Team
License: CeCILL

+16 −0
Original line number Diff line number Diff line
@@ -6,6 +6,22 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all

%:
	dh $@
override_dh_makeshlibs:
ifeq ($(DEB_BUILD_ARCH),amd64)
	echo "Architecture amd64 is the only one where a symbols file is provided"
else
	echo "Symbols file for architecture $(DEB_BUILD_ARCH) is not provided"
	mkdir -p debian/hidesymbols
	mv debian/*.symbols debian/hidesymbols
endif
	dh_makeshlibs
ifeq ($(DEB_BUILD_ARCH),amd64)
	echo "dh_makeshlibs for architecture amd64 including symbols done"
else
	# restore original debian/ dir to enable building twice in a row
	mv debian/hidesymbols/*.symbols debian
	rmdir debian/hidesymbols
endif

override_dh_install:
	dh_install