Source code of manned.org https://manned.org/

Makefile 951B

12345678910111213141516171819202122232425262728
  1. .PHONY: ManUtils indexer clean
  2. all: ManUtils indexer
  3. ManUtils: lib/ManUtils/inst/lib/perl5/x86_64-linux/ManUtils.pm
  4. lib/ManUtils/inst/lib/perl5/x86_64-linux/ManUtils.pm: lib/ManUtils/Build.PL lib/ManUtils/ManUtils.pm lib/ManUtils/ManUtils.xs web/target/release/libweb.a
  5. -test lib/ManUtils/ManUtils.xs -ot web/target/release/libweb.a && touch -r web/target/release/libweb.a lib/ManUtils/ManUtils.xs
  6. cd lib/ManUtils && perl Build.PL && ./Build install --install-base=inst
  7. touch lib/ManUtils/inst/lib/perl5/x86_64-linux/ManUtils.pm
  8. web/target/release/libweb.a: web/Cargo.toml web/src/*.rs
  9. cd web && cargo build --release
  10. #strip --strip-unneeded web/target/release/libweb.a
  11. indexer: indexer/target/release/indexer
  12. indexer/target/release/indexer: indexer/Cargo.toml indexer/src/*.rs
  13. cd indexer && cargo build --release
  14. clean:
  15. cd lib/ManUtils && ./Build distclean
  16. rm -rf lib/ManUtils/inst
  17. cd indexer && cargo clean
  18. cd web && cargo clean