| 1 |
|
| 2 |
|
| 3 |
DPKG_EXPORT_BUILDFLAGSscip-debian debian cgreen 1.7.0-1 cgreen/rules/DPKG_EXPORT_BUILDFLAGS. = 1 |
| 4 |
|
| 5 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian cgreen 1.7.0-1 cgreen/rules/DEB_BUILD_MAINT_OPTIONS. := hardening=+all reproducible=-fixfilepath |
| 6 |
export DEB_CFLAGS_MAINT_APPENDscip-debian debian cgreen 1.7.0-1 cgreen/rules/DEB_CFLAGS_MAINT_APPEND. := -Wall -D_FORTIFY_SOURCE=2 -O1 |
| 7 |
SRCscip-debian debian cgreen 1.7.0-1 cgreen/rules/SRC. := $(CURDIRscip-debian debian cgreen 1.7.0-1 cgreen/rules/CURDIR.) |
| 8 |
BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD. := $(SRCscip-debian debian cgreen 1.7.0-1 cgreen/rules/SRC.)/build |
| 9 |
TARGETscip-debian debian cgreen 1.7.0-1 cgreen/rules/TARGET. := $(SRCscip-debian debian cgreen 1.7.0-1 cgreen/rules/SRC.)/debian/tmp |
| 10 |
|
| 11 |
%scip-debian debian cgreen 1.7.0-1 cgreen/rules/`%`().: |
| 12 |
dh $@ |
| 13 |
|
| 14 |
override_dh_auto_testscip-debian debian cgreen 1.7.0-1 cgreen/rules/override_dh_auto_test().: |
| 15 |
if ! LD_LIBRARY_PATH="$(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.)/src/" dh_auto_testscip-debian debian debhelper . dh_auto_test().; then \ |
| 16 |
cat $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.)/Testing/Temporary/LastTest.log; \ |
| 17 |
exit 1; \ |
| 18 |
fi |
| 19 |
|
| 20 |
override_dh_auto_configurescip-debian debian cgreen 1.7.0-1 cgreen/rules/override_dh_auto_configure().: |
| 21 |
[ -d $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.) ] || mkdir $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.) |
| 22 |
cd $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.) && cmake $(CURDIRscip-debian debian cgreen 1.7.0-1 cgreen/rules/CURDIR.) -DCMAKE_INSTALL_PREFIX="/usr" \ |
| 23 |
-DCMAKE_C_FLAGS="${CFLAGSscip-debian debian cgreen 1.7.0-1 cgreen/rules/CFLAGS.} $(DEB_CFLAGS_MAINT_APPENDscip-debian debian cgreen 1.7.0-1 cgreen/rules/DEB_CFLAGS_MAINT_APPEND.) -fzero-init-padding-bits=unions" \ |
| 24 |
-DCMAKE_SKIP_RPATH=ON \ |
| 25 |
-DCMAKE_VERBOSE_MAKEFILE=ON \ |
| 26 |
-DLIB_INSTALL_DIR=/usr/lib \ |
| 27 |
-DCGREEN_WITH_PDF_DOCS:bool=FALSE |
| 28 |
touch configure-stamp |
| 29 |
|
| 30 |
override_dh_auto_buildscip-debian debian cgreen 1.7.0-1 cgreen/rules/override_dh_auto_build().: |
| 31 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). |
| 32 |
mkdir -p $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.)/doc |
| 33 |
asciidoctor -a docinfo -a linkcss! -a icons! -a source-highlighter! -a webfonts! \ |
| 34 |
-o $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.)/doc/cgreen-guide-en.html doc/cgreen-guide-en.asciidoc |
| 35 |
|
| 36 |
override_dh_cleanscip-debian debian cgreen 1.7.0-1 cgreen/rules/override_dh_clean().: |
| 37 |
rm -f configure-stamp build-stamp gitrevision.h |
| 38 |
rm -rf $(BUILDscip-debian debian cgreen 1.7.0-1 cgreen/rules/BUILD.) |
| 39 |
dh_cleanscip-debian debian debhelper . dh_clean(). |