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
|
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
%:
dh $@
override_dh_auto_build:
dh_auto_build
override_dh_auto_install:
dh_auto_install
find debian/tmp -name '*.la' -delete
# I build the docs after the 'make install' because the python docs require an installed lcm
cd docs; ./build-docs.sh
override_dh_installdocs:
dh_installdocs
# Remove example makefile which contains build paths and
# binary paths
rm -vf debian/liblcm-doc/usr/share/doc/liblcm-dev/examples/Makefile
override_dh_auto_clean:
dh_auto_clean
rm -rf docs/html
|