1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#!/usr/bin/make -f
%:
dh $@
execute_before_dh_gencontrol:
debian/rust-update-control dh-gencontrol librust-derive-deftly-dev
# "cargo package" includes the whole tree, but this is a .deb for building
# against. We don't need all this stuff in our -dev .deb. We'll put the
# formatted documentation in -doc.
execute_after_dh_auto_install:
set -e; cd debian/librust-derive-deftly-dev; \
cd usr/share/cargo/registry/derive-deftly-[0-9]*; \
rm Cargo.lock.minimal; \
rm -r book maint playground
#
set -e; cd debian/librust-derive-deftly-dev; \
cd usr/share/cargo/registry/derive-deftly-macros-[0-9]*
|