File: Makefile

package info (click to toggle)
s-tui 1.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,052 kB
  • sloc: python: 2,243; makefile: 13
file content (21 lines) | stat: -rwxr-xr-x 531 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# A make file for creating a s-tui executable.
# This requires pandoc and pyinstaller

all: stui del

# Create s-tui executable
stui:
	pyinstaller s_tui/s_tui.py -F -n s-tui
	mv dist/s-tui .

# Remove files created by pyinstaller
del:
	rm -rf ./s_tui/dist/ ./build/ ./s_tui/s*.spec ./s_tui/*.pyc ./s_tui/*.log s-tui.spec dist/

# Clear pyinstall cache and delete file
clean:
	pyinstaller --clean s-tui
	rm -rf ./s_tui/dist/ ./s_tui/build/ ./s_tui/s*.spec ./s_tui/*.pyc ./s_tui/*.log s-tui.spec dist/

debug:
	python -m s_tui.s_tui