1NAME = bdist_mpkg 2VERSION = 0.4.4 3 4PYTHON3 := $(shell python -c 'import sys;print("YES" if sys.version_info[0] > 2 else "NO")') 5 6include ../Makefile.inc 7 8ifeq ($(PYTHON3),YES) 9custompatching: 10 2to3 --no-diffs -w -n $(DIR) 11endif 12 13postinstall: 14 cp -f MIT.license $(OSL)/$(NAME)-$(VERSION).txt 15 cp -f $(NAME).partial $(OSV)/$(NAME)-$(VERSION).partial 16