Modularise makefiles
This commit is contained in:
parent
b7a19200a8
commit
e3f3f27fbc
1 changed files with 525 additions and 526 deletions
13
mk/doc.mk
Normal file
13
mk/doc.mk
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
doc: $(KBUILD)/libkernel.a $(BUILD)/libstd.rlib FORCE
|
||||
$(KCARGO) doc --target $(KTARGET) --manifest-path kernel/Cargo.toml
|
||||
$(CARGO) doc --target $(TARGET) --manifest-path rust/src/libstd/Cargo.toml
|
||||
|
||||
ref: FORCE
|
||||
rm -rf filesystem/ref/
|
||||
mkdir -p filesystem/ref/
|
||||
#cargo run --manifest-path crates/docgen/Cargo.toml -- programs/binutils/src/bin/ filesystem/ref/
|
||||
cargo run --manifest-path crates/docgen/Cargo.toml -- programs/coreutils/src/bin/ filesystem/ref/
|
||||
cargo run --manifest-path crates/docgen/Cargo.toml -- programs/extrautils/src/bin/ filesystem/ref/
|
||||
cargo run --manifest-path crates/docgen/Cargo.toml -- programs/netutils/src/ filesystem/ref/
|
||||
cargo run --manifest-path crates/docgen/Cargo.toml -- programs/pkgutils/src/ filesystem/ref/
|
||||
cargo run --manifest-path crates/docgen/Cargo.toml -- programs/userutils/src/ filesystem/ref/
|
||||
Loading…
Reference in a new issue