Rename the main module lib.rs.
This is a first step toward the use of rustpkg.
This commit is contained in:
parent
a40899ef67
commit
70cee0ea3d
8
Makefile
8
Makefile
|
@ -3,16 +3,16 @@ nalgebra_lib_path=lib
|
||||||
nalgebra_doc_path=doc
|
nalgebra_doc_path=doc
|
||||||
all:
|
all:
|
||||||
mkdir -p $(nalgebra_lib_path)
|
mkdir -p $(nalgebra_lib_path)
|
||||||
rust build src/nalgebra.rc --out-dir $(nalgebra_lib_path) --opt-level 3
|
rust build src/lib.rs --out-dir $(nalgebra_lib_path) --opt-level 3
|
||||||
|
|
||||||
test:
|
test:
|
||||||
mkdir -p $(nalgebra_lib_path)
|
mkdir -p $(nalgebra_lib_path)
|
||||||
rust test src/nalgebra.rc
|
rust test src/lib.rs
|
||||||
rm nalgebratest~
|
rm libtest~
|
||||||
|
|
||||||
doc:
|
doc:
|
||||||
mkdir -p $(nalgebra_doc_path)
|
mkdir -p $(nalgebra_doc_path)
|
||||||
rust doc src/nalgebra.rc --output-dir $(nalgebra_doc_path)
|
rust doc src/lib.rs --output-dir $(nalgebra_doc_path)
|
||||||
|
|
||||||
distcheck:
|
distcheck:
|
||||||
rm -rf $(tmp)
|
rm -rf $(tmp)
|
||||||
|
|
Loading…
Reference in New Issue