1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
|
#!/usr/bin/make -f
# -*- makefile -*-
DEB_BUILD_MAINT_OPTIONS = hardening=+all
# export DH_VERBOSE=1
%:
dh $@
override_dh_auto_configure:
dh_auto_configure -- -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_RPATH=YES -DTULIP_BUILD_DOC=OFF -DTULIP_BUILD_TESTS=OFF -DTULIP_USE_CCACHE=OFF -DTULIP_PYTHON_SITE_INSTALL=ON # -DCMAKE_INSTALL_PREFIX=/usr -DTULIP_BUILD_CORE_ONLY=OFF -DTULIP_BUILD_GL_TEX_LOADER=ON -DPYTHON_EXECUTABLE=/usr/bin/python3 -DUBUNTU_PPA_BUILD=ON
override_dh_auto_build-arch:
dh_auto_build --parallel
docbook-to-man debian/tulip.sgml > debian/tulip.1
docbook-to-man debian/tulip_perspective.sgml > debian/tulip_perspective.1
docbook-to-man debian/tulip-config.sgml > debian/tulip-config.1
override_dh_auto_test:
# TODO
override_dh_auto_install-arch:
dh_auto_install
install -D -m644 debian/tulip.1 debian/tmp/usr/share/man/man1/tulip.1
install -D -m644 debian/tulip_perspective.1 debian/tmp/usr/share/man/man1/tulip_perspective.1
install -D -m644 debian/tulip-config.1 debian/tmp/usr/share/man/man1/tulip-config.1
override_dh_makeshlibs:
# do not consider .so files under ../tulip/
dh_makeshlibs -X/tulip/
override_dh_install:
dh_install
dh_missing
# override_dh_strip:
# dh_strip --dbg-package tulip-dbg
override_dh_auto_clean:
dh_auto_clean
rm -f debian/tulip.1
rm -f debian/tulip_perspective.1
rm -rf docs/doxygen/xml
|