| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/DEB_BUILD_MAINT_OPTIONS.=hardening=+all |
| 5 |
|
| 6 |
%scip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/`%`().: |
| 7 |
dh $@ |
| 8 |
|
| 9 |
|
| 10 |
PY3VERSscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/PY3VERS. = $(shellscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/shell. py3versions -v -r debian/control) |
| 11 |
|
| 12 |
override_dh_auto_configure-archscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/override_dh_auto_configure-arch().: |
| 13 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddirectory=build-main -- \ |
| 14 |
-DBUILD_TESTS=$(if $(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILESscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/DEB_BUILD_PROFILES.)),OFF,ON) \ |
| 15 |
-DDOCUMENTATION:BOOL=OFF \ |
| 16 |
-DEXAMPLES:BOOL=OFF \ |
| 17 |
-DFTDIPP:BOOL=ON \ |
| 18 |
-DFTDI_EEPROM:BOOL=ON \ |
| 19 |
-DPYTHON_BINDINGS:BOOL=OFF |
| 20 |
for v in $(PY3VERSscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/PY3VERS.) ; do \ |
| 21 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddirectory=build-python$$v -- \ |
| 22 |
-DBUILD_TESTS=OFF \ |
| 23 |
-DDOCUMENTATION:BOOL=OFF \ |
| 24 |
-DEXAMPLES:BOOL=OFF \ |
| 25 |
-DFTDIPP:BOOL=ON \ |
| 26 |
-DFTDI_EEPROM:BOOL=OFF \ |
| 27 |
-DPYTHON_BINDINGS:BOOL=ON \ |
| 28 |
-DLINK_PYTHON_LIBRARY:BOOL=OFF \ |
| 29 |
; \ |
| 30 |
done |
| 31 |
|
| 32 |
override_dh_auto_build-archscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/override_dh_auto_build-arch().: |
| 33 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddirectory=build-main |
| 34 |
for v in $(PY3VERSscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/PY3VERS.) ; do \ |
| 35 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddirectory=build-python$$v ; \ |
| 36 |
done |
| 37 |
|
| 38 |
override_dh_auto_install-archscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/override_dh_auto_install-arch().: |
| 39 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddirectory=build-main |
| 40 |
for v in $(PY3VERSscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/PY3VERS.) ; do \ |
| 41 |
dh_auto_installscip-debian debian debhelper . dh_auto_install(). --builddirectory=build-python$$v -- CMAKE_INSTALL_ALWAYS=1; \ |
| 42 |
mv $(CURDIRscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/CURDIR.)/debian/tmp/usr/lib/python3 $(CURDIRscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/CURDIR.)/debian/tmp/usr/lib/python$$v ; \ |
| 43 |
done |
| 44 |
|
| 45 |
override_dh_auto_test-archscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/override_dh_auto_test-arch().: |
| 46 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). --builddirectory=build-main |
| 47 |
|
| 48 |
override_dh_auto_configure-indepscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/override_dh_auto_configure-indep().: |
| 49 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). --builddirectory=build-doc -- \ |
| 50 |
-DBUILD_TESTS=OFF \ |
| 51 |
-DDOCUMENTATION:BOOL=ON \ |
| 52 |
-DEXAMPLES:BOOL=OFF \ |
| 53 |
-DFTDIPP:BOOL=OFF \ |
| 54 |
-DFTDI_EEPROM:BOOL=OFF \ |
| 55 |
-DPYTHON_BINDINGS:BOOL=OFF |
| 56 |
|
| 57 |
override_dh_auto_build-indepscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/override_dh_auto_build-indep().: |
| 58 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). --builddirectory=build-doc -- docs |
| 59 |
|
| 60 |
execute_after_dh_auto_cleanscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/execute_after_dh_auto_clean().: |
| 61 |
rm -fr $(CURDIRscip-debian debian libftdi1 1.6~rc1-2 libftdi1/rules/CURDIR.)/build-* |