File: Makefile

package info (click to toggle)
python-git 3.1.44-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,732 kB
  • sloc: python: 18,505; sh: 186; makefile: 78
file content (16 lines) | stat: -rw-r--r-- 299 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: all clean release force_release

all:
	@awk -F: '/^[[:alpha:]].*:/ && !/^all:/ {print $$1}' Makefile

clean:
	rm -rf build/ dist/ .eggs/ .tox/

release: clean
	./check-version.sh
	make force_release

force_release: clean
	./build-release.sh
	twine upload dist/*
	git push --tags origin main