Replace old Arch Linux scripts with new indexer

This commit is contained in:
Yorhel 2016-11-06 15:26:20 +01:00
parent 1ca43665a1
commit 5e39af459f
5 changed files with 33 additions and 79 deletions

View file

@ -1,4 +1,6 @@
.PHONY: ManUtils
.PHONY: ManUtils indexer clean
all: ManUtils indexer
ManUtils: lib/ManUtils/Build
cd lib/ManUtils && perl Build.PL && ./Build install --install-base=inst
@ -6,7 +8,12 @@ ManUtils: lib/ManUtils/Build
lib/ManUtils/Build: lib/ManUtils/Build.PL
cd lib/ManUtils && perl Build.PL
indexer: indexer/target/release/indexer
indexer/target/release/indexer: indexer/Cargo.toml indexer/src/*.rs
cd indexer && cargo build --release
clean:
cd lib/ManUtils && ./Build distclean
rm -rf lib/ManUtils/inst
cd indexer && cargo clean