view Makefile @ 409:8809d79777c3 build-2.7 tip

MERGE: IGNORE: with current trunk
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 17 Feb 2026 17:18:10 +0100
parents d3429477cd55
children
line wrap: on
line source

# dev and build helper
# :-
# SPDX-FileCopyrightText: © 2025-2026 Franz Glasner
# SPDX-License-Identifier: BSD-3-Clause
# :-

.PHONY: help clean export-for-dist build distclean dist

help:
	@echo Targets: clean, export-for-dist, build, distclean and dist

clean:
	rm -rf __arch/
	find . -name '*.pyc' -delete

export-for-dist: clean
	hg kwarchive __arch

build:
	python setup.py sdist bdist_wheel
	python _postprocess-sdist.py
	gzip --best dist/*tar

distclean: clean
# package build information
	rm -rf build/ dist/ *.egg-info

# Full clean build for sdist, wheel and docs
dist: distclean build