* Update the make install logic to install in debian/tmp/

instead of debian/rust and use the *.install files
* Introduce the rust-doc package
This commit is contained in:
Sylvestre Ledru 2015-01-20 18:06:53 +01:00
parent becfe001c1
commit 8354de7ad6
5 changed files with 21 additions and 1 deletions

3
debian/changelog vendored
View File

@ -3,6 +3,9 @@ rust (1.0.0~0alpha-0.1) unstable; urgency=low
* New upstream release (Closes: #689207)
[ Sylvestre Ledru ]
* Update the make install logic to install in debian/tmp/
instead of debian/rust and use the *.install files
* Introduce the rust-doc package
* Move package to the Rust maintainers team
* Update the uploaders/maintainer fields
* Update of the vcs-* fields

14
debian/control vendored
View File

@ -32,3 +32,17 @@ Description: Rust systems programming language
Features: zero-cost abstractions; move semantics; guaranteed memory
safety; threads without data races; trait-based generics; pattern
matching; type inference; minimal runtime; efficient C bindings
Package: rust-doc
Architecture: all
Depends: ${misc:Depends}
Description: Rust systems programming language - Documentation
Rust is a systems programming language that runs blazingly fast,
prevents almost all crashes, and eliminates data races.
.
Features: zero-cost abstractions; move semantics; guaranteed memory
safety; threads without data races; trait-based generics; pattern
matching; type inference; minimal runtime; efficient C bindings
.
This package contains the documentation.

2
debian/rules vendored
View File

@ -21,7 +21,7 @@ DEBIAN_RUST_VERSION := \
DEBIAN_RUST_VERSION_TYPE := \
$(shell echo $(UPSTREAM_RUST_VERSION) | cut -f 2 -d '-')
RUST_PREFIX := usr/lib/$(DEB_HOST_MULTIARCH)/rust/$(DEBIAN_RUST_VERSION)
DEB_DESTDIR := $(CURDIR)/debian/rust
DEB_DESTDIR := $(CURDIR)/debian/tmp
RUST_TMP_PREFIX := $(DEB_DESTDIR)/$(RUST_PREFIX)
# These are the normal build flags

1
debian/rust-doc.install vendored Normal file
View File

@ -0,0 +1 @@
usr/lib/*/rust/*/share/doc/rust/

2
debian/rust.install vendored Normal file
View File

@ -0,0 +1,2 @@
usr/lib/*/rust/*/bin/
usr/lib/*/rust/*/lib/