debian/rules
raw| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
| 4 | |
| 5 | %: |
| 6 | dh $@ |
| 7 | |
| 8 | override_dh_auto_configure: |
| 9 | dh_auto_configure -- --with-moduledir="\$${prefix}/lib/lcmaps" |
| 10 | |
| 11 | override_dh_makeshlibs: |
| 12 | dh_makeshlibs -n |
| 13 | |
| 14 | override_dh_install: |
| 15 | rm debian/lcmaps-plugins-voms/usr/lib/lcmaps/lib*.a |
| 16 | rm debian/lcmaps-plugins-voms/usr/lib/lcmaps/lib*.la |
| 17 | rm -rf debian/lcmaps-plugins-voms/usr/share/doc/lcmaps-plugins-voms-* |
| 18 | dh_install |