| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | %: |
| 4 | dh $@ --buildsystem=cmake |
| 5 | |
| 6 | override_dh_auto_configure: |
| 7 | dh_auto_configure -- -DCMAKE_SKIP_RPATH=OFF \ |
| 8 | -DUSE_RPATH=OFF \ |
| 9 | -DCMAKE_BUILD_TYPE=Release \ |
| 10 | -DCMAKE_INSTALL_LIBDIR=/usr/lib |
| 11 | |
| 12 | execute_before_dh_missing: |
| 13 | rm -rf debian/tmp/usr/share/*/examples/ |
| 14 | rm -rf debian/tmp/usr/share/doc/*/ |
| 15 | |
| 16 | override_dh_installexamples: |
| 17 | dh_installexamples |
| 18 | find debian -name CMakeLists.txt -delete |