File: rules

package info (click to toggle)
rust-derive-deftly 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,652 kB
  • sloc: perl: 1,032; sh: 373; python: 227; makefile: 11
file content (19 lines) | stat: -rwxr-xr-x 608 bytes parent folder | download
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]*