*sigh* go back to pycco... for now...
[rust-101.git] / Makefile
1 FILES=$(wildcard src/*.rs)
2
3 all: docs rawsrc
4 .PHONY: docs rawsrc
5
6 docs:
7         @./pycco-rs $(FILES)
8
9 rawsrc:
10         @mkdir -p rawsrc
11         @for file in $(FILES); do echo "$$file -> raw$$file"; egrep -v "^[[:space:]]*// " "$$file" > "raw""$$file"; done