debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | # We want to use the system version of included modules, so |
| 9 | # we move the inc directory away and move it back afterwards |
| 10 | override_dh_auto_clean: |
| 11 | dh_auto_clean |
| 12 | [ ! -d $(CURDIR)/inc.save ] || mv $(CURDIR)/inc.save $(CURDIR)/inc |
| 13 | |
| 14 | override_dh_auto_configure: |
| 15 | [ ! -d $(CURDIR)/inc ] || mv $(CURDIR)/inc $(CURDIR)/inc.save |
| 16 | dh_auto_configure |