| 1 | #!/usr/bin/make -f |
| 2 | |
| 3 | include /usr/share/dpkg/default.mk |
| 4 | |
| 5 | %: |
| 6 | dh $@ --buildsystem=cmake --with sphinxdoc |
| 7 | |
| 8 | execute_after_dh_auto_build: |
| 9 | ( cd bin/dynamic/; \ |
| 10 | VERSION_UPSTREAM=$$(echo ${DEB_VERSION_UPSTREAM} | sed 's/\+.*//'); \ |
| 11 | MAJOR=$$(echo ${DEB_VERSION_UPSTREAM} | sed 's/\..*//'); \ |
| 12 | patchelf --set-soname libxeddsa.so.$${MAJOR} libxeddsa.so.$${VERSION_UPSTREAM} ) |
| 13 | cd docs && $(MAKE) html |
| 14 | |
| 15 | override_dh_dwz: # override dwz as it breaks on shlibs edited by patchelf |