[med-svn] [Git][med-team/pll-modules][master] 2 commits: Build examples/
Shayan Doust
gitlab at salsa.debian.org
Sun Jun 7 01:58:28 BST 2020
Shayan Doust pushed to branch master at Debian Med / pll-modules
Commits:
cc506273 by Shayan Doust at 2020-06-07T01:55:58+01:00
Build examples/
- - - - -
0de3ca15 by Shayan Doust at 2020-06-07T01:58:16+01:00
Enable hardening
- - - - -
1 changed file:
- debian/rules
Changes:
=====================================
debian/rules
=====================================
@@ -6,7 +6,7 @@ export LC_ALL=C.UTF-8
include /usr/share/dpkg/default.mk
# for hardening you might like to uncomment this:
-# export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
INSTALLATION_PREFIX = "/usr"
@@ -16,13 +16,21 @@ INSTALLATION_PREFIX = "/usr"
override_dh_auto_configure:
dh_auto_configure -- --prefix $(INSTALLATION_PREFIX) CPPFLAGS="-I/usr/include/libpll" LDFLAGS="-L/usr/include/libpll"
+override_dh_auto_build:
+ dh_auto_build
+ # header files and compiled libraries needed within debian/tmp/ for example binaries so install these first
+ dh_auto_install
+ cd examples/consensus && $(MAKE)
+ cd examples/rf-distance && $(MAKE)
+ cd examples/weight-consensus && $(MAKE)
+
override_dh_missing:
find debian/tmp -name "*.la" -delete
dh_missing
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
- # header files are needed in one place so do dh_auto_install right now
- dh_auto_install
+ ## header files are needed in one place so do dh_auto_install right now
+ #dh_auto_install
cd test && $(MAKE)
endif
View it on GitLab: https://salsa.debian.org/med-team/pll-modules/-/compare/67c1687e5cdd85f921e63dc2f61fef42cd6fb930...0de3ca15d1c957a90899eb586d4f272ef0653780
--
View it on GitLab: https://salsa.debian.org/med-team/pll-modules/-/compare/67c1687e5cdd85f921e63dc2f61fef42cd6fb930...0de3ca15d1c957a90899eb586d4f272ef0653780
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200607/bfb6e0eb/attachment-0001.html>
More information about the debian-med-commit
mailing list