-all: check test build/crypto-install.py
+all: check test build/crypto-install
-run: build/crypto-install.py
- build/crypto-install.py
+run: build/crypto-install
+ build/crypto-install
check:
pep8 .
build:
mkdir build
-build/crypto-install.py: crypto-install.py build
+build/crypto-install: crypto-install build
sed \
-e "s/GIT-TAG/`git describe --abbrev=0 --tags`/g" \
-e "s/GIT-COMMIT/`git rev-parse --short=7 HEAD`/g" \
-e "s/GIT-BRANCH/`git rev-parse --abbrev-ref HEAD`/g" \
- crypto-install.py > build/crypto-install.py
- chmod a+rx build/crypto-install.py
+ crypto-install > build/crypto-install
+ chmod a+rx build/crypto-install
clean:
rm -rf build