File: Makefile

package info (click to toggle)
rust-leptess 0.14.0-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,500 kB
  • sloc: python: 89; makefile: 13; sh: 1
file content (15 lines) | stat: -rw-r--r-- 259 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
check:
	cargo clippy
	make test

test:
	cargo test

gen:
	GEN_BINDING=1 cargo build

variables_list.txt:
	tesseract --print-parameters > $@

src/variable.rs: variables_list.txt build_variables.py
	python build_variables.py < variables_list.txt | rustfmt > $@