| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 |
|
| 5 |
%: |
| 6 |
dh $@ |
| 7 |
|
| 8 |
|
| 9 |
# we want to use the system version of included modules, so |
| 10 |
# we move the inc away and move it back afterwards. |
| 11 |
# we do this only in inc/Devel since there is already a mechanism |
| 12 |
# to handle system libs in the upstream code. |
| 13 |
override_dh_auto_clean: |
| 14 |
dh_auto_clean |
| 15 |
[ ! -d $(CURDIR)/inc/Devel.save ] || mv $(CURDIR)/inc/Devel.save $(CURDIR)/inc/Devel |
| 16 |
|
| 17 |
override_dh_auto_configure: |
| 18 |
[ ! -d $(CURDIR)/inc/Devel ] || mv $(CURDIR)/inc/Devel $(CURDIR)/inc/Devel.save |
| 19 |
SEREAL_USE_BUNDLED_LIBS=0 SEREAL_USE_BUNDLED_ZSTD=0 dh_auto_configure |