Mercurial > evolve
comparison Makefile @ 6189:16f59121f8f6 mercurial-4.8
test-compat: merge mercurial-4.9 into mercurial-4.8
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 23 Feb 2022 00:09:39 +0300 |
parents | 7da0f8128d90 |
children | a80ed2e4745b |
comparison
equal
deleted
inserted
replaced
6168:8d04f00c2fbf | 6189:16f59121f8f6 |
---|---|
1 PYTHON ?= python3 | 1 PYTHON ?= python3 |
2 VERSION = $(shell python setup.py --version) | 2 VERSION = $(shell $(PYTHON) setup.py --version) |
3 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS) | 3 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS) |
4 HGTESTS = $(HGROOT)/tests | 4 HGTESTS = $(HGROOT)/tests |
5 | 5 |
6 .PHONY: help | 6 .PHONY: help |
7 help: | 7 help: |
13 .PHONY: all | 13 .PHONY: all |
14 all: help | 14 all: help |
15 | 15 |
16 .PHONY: deb-prepare | 16 .PHONY: deb-prepare |
17 deb-prepare: | 17 deb-prepare: |
18 python setup.py sdist --dist-dir .. | 18 $(PYTHON) setup.py sdist --dist-dir .. |
19 mv -f ../hg-evolve-$(VERSION).tar.gz ../mercurial-evolve_$(VERSION).orig.tar.gz | 19 mv -f ../hg-evolve-$(VERSION).tar.gz ../mercurial-evolve_$(VERSION).orig.tar.gz |
20 tar xf ../mercurial-evolve_$(VERSION).orig.tar.gz | 20 tar xf ../mercurial-evolve_$(VERSION).orig.tar.gz |
21 rm -rf ../mercurial-evolve_$(VERSION).orig | 21 rm -rf ../mercurial-evolve_$(VERSION).orig |
22 mv hg-evolve-$(VERSION) ../mercurial-evolve_$(VERSION).orig | 22 mv hg-evolve-$(VERSION) ../mercurial-evolve_$(VERSION).orig |
23 cp -r debian/ ../mercurial-evolve_$(VERSION).orig/ | 23 cp -r debian/ ../mercurial-evolve_$(VERSION).orig/ |