Provide input at thread start.
[crypto-install.git] / Makefile
1 all: check test build/crypto-install
2
3 run: build/crypto-install
4         build/crypto-install
5
6 check:
7         pep8 .
8
9 test:
10         ./setup.py test
11
12 build:
13         mkdir build
14
15 build/crypto-install: crypto-install build
16         sed \
17                 -e "s/GIT-TAG/`git describe --abbrev=0 --tags`/g" \
18                 -e "s/GIT-COMMIT/`git rev-parse --short=7 HEAD`/g" \
19                 -e "s/GIT-BRANCH/`git rev-parse --abbrev-ref HEAD`/g" \
20                 crypto-install > build/crypto-install
21         chmod a+rx build/crypto-install
22
23 clean:
24         rm -rf build