-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
40 lines (32 loc) · 1004 Bytes
/
Makefile
File metadata and controls
40 lines (32 loc) · 1004 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# ---
# Makefile - QA Makefile to create bin/tcmd binary from python bin/tcmd.py
# ---
SHELL := /bin/bash
ls:
@echo "make <target> where <target> is one of:"
@echo
@grep '^[a-zA-Z_]*:' Makefile | sed 's/:.*//' |sed 's/^/ /'
@echo
cat:
@cat Makefile
tcmd_binary:
@echo "--- Makefile: Creating tcmd binary from tcmd.py ---"
bin/build_tcmd.sh --binary
tcmd_python:
@echo "--- Makefile: Creating tcmd python from tcmd.py ---"
bin/build_tcmd.sh --python
installreq:
@echo "--- Makefile: Installing python dependencies: pip install -r inc/requirements.txt ---"
pip install -r inc/requirements.txt
install_tcmdpy:
@echo "--- Makefile: Installing tcmd.py to /usr/local/bin ---"
cp -f bin/tcmd.py /usr/local/bin/tcmd
ls -alt /usr/local/bin/tcmd
install_tcmdbin:
@echo "--- Makefile: Installing tcmd.bin to /usr/local/bin ---"
cp -f bin/tcmd.bin /usr/local/bin/tcmd
ls -alt /usr/local/bin/tcmd
buildpydoc:
@echo "--- Makefile: Making new pydoc file ---"
# cd bin
bin/build_pydoc.sh