debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed |
| 5 | |
| 6 | %: |
| 7 | dh $@ |
| 8 | |
| 9 | override_dh_auto_configure: |
| 10 | dh_auto_configure -- --enable-swtest |
| 11 | |
| 12 | override_dh_auto_install: |
| 13 | dh_auto_install |
| 14 | find debian/tmp -name \*.la -delete |
| 15 | mkdir $(CURDIR)/debian/tmp/usr/share/doc/libirman/examples |
| 16 | cp test_io.c test_func.c test_name.c workmanir.c \ |
| 17 | $(CURDIR)/debian/tmp/usr/share/doc/libirman/examples |