File: Makefile

package info (click to toggle)
pyfiglet 1.0.3%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 288 kB
  • sloc: python: 925; sh: 66; makefile: 27
file content (23 lines) | stat: -rw-r--r-- 621 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
22
23
all:
	@echo 'Run "make clean" to remove artifacts from old builds'
	@echo 'Run "make minimal" to build a package compliant with Fedora licensing'
	@echo 'Run "make full" to build a full package complete with contributed fonts'
	@echo 'Run "make publish" to upload to pypi'

clean:
	rm -rf build/
	rm -rf pyfiglet/fonts/
	mkdir pyfiglet/fonts/

minimal:    clean
	cp pyfiglet/fonts-standard/* pyfiglet/fonts
	python3 -m build

full:    clean
	cp pyfiglet/fonts-standard/* pyfiglet/fonts
	cp pyfiglet/fonts-contrib/* pyfiglet/fonts
	python3 -m build

publish:
	python3 -m twine check dist/*
	python3 -m twine upload dist/*