##// END OF EJS Templates
makefile: remove Ubuntu Yakkety and Zesty docker targets...
av6 -
r35927:89c81739 default
parent child Browse files
Show More
@@ -1,326 +1,312 b''
1 # If you want to change PREFIX, do not just edit it below. The changed
1 # If you want to change PREFIX, do not just edit it below. The changed
2 # value wont get passed on to recursive make calls. You should instead
2 # value wont get passed on to recursive make calls. You should instead
3 # override the variable on the command like:
3 # override the variable on the command like:
4 #
4 #
5 # % make PREFIX=/opt/ install
5 # % make PREFIX=/opt/ install
6
6
7 export PREFIX=/usr/local
7 export PREFIX=/usr/local
8 PYTHON=python
8 PYTHON=python
9 $(eval HGROOT := $(shell pwd))
9 $(eval HGROOT := $(shell pwd))
10 HGPYTHONS ?= $(HGROOT)/build/pythons
10 HGPYTHONS ?= $(HGROOT)/build/pythons
11 PURE=
11 PURE=
12 PYFILES:=$(shell find mercurial hgext doc -name '*.py')
12 PYFILES:=$(shell find mercurial hgext doc -name '*.py')
13 DOCFILES=mercurial/help/*.txt
13 DOCFILES=mercurial/help/*.txt
14 export LANGUAGE=C
14 export LANGUAGE=C
15 export LC_ALL=C
15 export LC_ALL=C
16 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
16 TESTFLAGS ?= $(shell echo $$HGTESTFLAGS)
17 OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS)
17 OSXVERSIONFLAGS ?= $(shell echo $$OSXVERSIONFLAGS)
18
18
19 # Set this to e.g. "mingw32" to use a non-default compiler.
19 # Set this to e.g. "mingw32" to use a non-default compiler.
20 COMPILER=
20 COMPILER=
21
21
22 COMPILERFLAG_tmp_ =
22 COMPILERFLAG_tmp_ =
23 COMPILERFLAG_tmp_${COMPILER} ?= -c $(COMPILER)
23 COMPILERFLAG_tmp_${COMPILER} ?= -c $(COMPILER)
24 COMPILERFLAG=${COMPILERFLAG_tmp_${COMPILER}}
24 COMPILERFLAG=${COMPILERFLAG_tmp_${COMPILER}}
25
25
26 help:
26 help:
27 @echo 'Commonly used make targets:'
27 @echo 'Commonly used make targets:'
28 @echo ' all - build program and documentation'
28 @echo ' all - build program and documentation'
29 @echo ' install - install program and man pages to $$PREFIX ($(PREFIX))'
29 @echo ' install - install program and man pages to $$PREFIX ($(PREFIX))'
30 @echo ' install-home - install with setup.py install --home=$$HOME ($(HOME))'
30 @echo ' install-home - install with setup.py install --home=$$HOME ($(HOME))'
31 @echo ' local - build for inplace usage'
31 @echo ' local - build for inplace usage'
32 @echo ' tests - run all tests in the automatic test suite'
32 @echo ' tests - run all tests in the automatic test suite'
33 @echo ' test-foo - run only specified tests (e.g. test-merge1.t)'
33 @echo ' test-foo - run only specified tests (e.g. test-merge1.t)'
34 @echo ' dist - run all tests and create a source tarball in dist/'
34 @echo ' dist - run all tests and create a source tarball in dist/'
35 @echo ' clean - remove files created by other targets'
35 @echo ' clean - remove files created by other targets'
36 @echo ' (except installed files or dist source tarball)'
36 @echo ' (except installed files or dist source tarball)'
37 @echo ' update-pot - update i18n/hg.pot'
37 @echo ' update-pot - update i18n/hg.pot'
38 @echo
38 @echo
39 @echo 'Example for a system-wide installation under /usr/local:'
39 @echo 'Example for a system-wide installation under /usr/local:'
40 @echo ' make all && su -c "make install" && hg version'
40 @echo ' make all && su -c "make install" && hg version'
41 @echo
41 @echo
42 @echo 'Example for a local installation (usable in this directory):'
42 @echo 'Example for a local installation (usable in this directory):'
43 @echo ' make local && ./hg version'
43 @echo ' make local && ./hg version'
44
44
45 all: build doc
45 all: build doc
46
46
47 local:
47 local:
48 $(PYTHON) setup.py $(PURE) \
48 $(PYTHON) setup.py $(PURE) \
49 build_py -c -d . \
49 build_py -c -d . \
50 build_ext $(COMPILERFLAG) -i \
50 build_ext $(COMPILERFLAG) -i \
51 build_hgexe $(COMPILERFLAG) -i \
51 build_hgexe $(COMPILERFLAG) -i \
52 build_mo
52 build_mo
53 env HGRCPATH= $(PYTHON) hg version
53 env HGRCPATH= $(PYTHON) hg version
54
54
55 build:
55 build:
56 $(PYTHON) setup.py $(PURE) build $(COMPILERFLAG)
56 $(PYTHON) setup.py $(PURE) build $(COMPILERFLAG)
57
57
58 wheel:
58 wheel:
59 FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG)
59 FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG)
60
60
61 doc:
61 doc:
62 $(MAKE) -C doc
62 $(MAKE) -C doc
63
63
64 cleanbutpackages:
64 cleanbutpackages:
65 -$(PYTHON) setup.py clean --all # ignore errors from this command
65 -$(PYTHON) setup.py clean --all # ignore errors from this command
66 find contrib doc hgext hgext3rd i18n mercurial tests hgdemandimport \
66 find contrib doc hgext hgext3rd i18n mercurial tests hgdemandimport \
67 \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
67 \( -name '*.py[cdo]' -o -name '*.so' \) -exec rm -f '{}' ';'
68 rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
68 rm -f MANIFEST MANIFEST.in hgext/__index__.py tests/*.err
69 rm -f mercurial/__modulepolicy__.py
69 rm -f mercurial/__modulepolicy__.py
70 if test -d .hg; then rm -f mercurial/__version__.py; fi
70 if test -d .hg; then rm -f mercurial/__version__.py; fi
71 rm -rf build mercurial/locale
71 rm -rf build mercurial/locale
72 $(MAKE) -C doc clean
72 $(MAKE) -C doc clean
73 $(MAKE) -C contrib/chg distclean
73 $(MAKE) -C contrib/chg distclean
74
74
75 clean: cleanbutpackages
75 clean: cleanbutpackages
76 rm -rf packages
76 rm -rf packages
77
77
78 install: install-bin install-doc
78 install: install-bin install-doc
79
79
80 install-bin: build
80 install-bin: build
81 $(PYTHON) setup.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force
81 $(PYTHON) setup.py $(PURE) install --root="$(DESTDIR)/" --prefix="$(PREFIX)" --force
82
82
83 install-doc: doc
83 install-doc: doc
84 cd doc && $(MAKE) $(MFLAGS) install
84 cd doc && $(MAKE) $(MFLAGS) install
85
85
86 install-home: install-home-bin install-home-doc
86 install-home: install-home-bin install-home-doc
87
87
88 install-home-bin: build
88 install-home-bin: build
89 $(PYTHON) setup.py $(PURE) install --home="$(HOME)" --prefix="" --force
89 $(PYTHON) setup.py $(PURE) install --home="$(HOME)" --prefix="" --force
90
90
91 install-home-doc: doc
91 install-home-doc: doc
92 cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
92 cd doc && $(MAKE) $(MFLAGS) PREFIX="$(HOME)" install
93
93
94 MANIFEST-doc:
94 MANIFEST-doc:
95 $(MAKE) -C doc MANIFEST
95 $(MAKE) -C doc MANIFEST
96
96
97 MANIFEST.in: MANIFEST-doc
97 MANIFEST.in: MANIFEST-doc
98 hg manifest | sed -e 's/^/include /' > MANIFEST.in
98 hg manifest | sed -e 's/^/include /' > MANIFEST.in
99 echo include mercurial/__version__.py >> MANIFEST.in
99 echo include mercurial/__version__.py >> MANIFEST.in
100 sed -e 's/^/include /' < doc/MANIFEST >> MANIFEST.in
100 sed -e 's/^/include /' < doc/MANIFEST >> MANIFEST.in
101
101
102 dist: tests dist-notests
102 dist: tests dist-notests
103
103
104 dist-notests: doc MANIFEST.in
104 dist-notests: doc MANIFEST.in
105 TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist
105 TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist
106
106
107 check: tests
107 check: tests
108
108
109 tests:
109 tests:
110 cd tests && $(PYTHON) run-tests.py $(TESTFLAGS)
110 cd tests && $(PYTHON) run-tests.py $(TESTFLAGS)
111
111
112 test-%:
112 test-%:
113 cd tests && $(PYTHON) run-tests.py $(TESTFLAGS) $@
113 cd tests && $(PYTHON) run-tests.py $(TESTFLAGS) $@
114
114
115 testpy-%:
115 testpy-%:
116 @echo Looking for Python $* in $(HGPYTHONS)
116 @echo Looking for Python $* in $(HGPYTHONS)
117 [ -e $(HGPYTHONS)/$*/bin/python ] || ( \
117 [ -e $(HGPYTHONS)/$*/bin/python ] || ( \
118 cd $$(mktemp --directory --tmpdir) && \
118 cd $$(mktemp --directory --tmpdir) && \
119 $(MAKE) -f $(HGROOT)/contrib/Makefile.python PYTHONVER=$* PREFIX=$(HGPYTHONS)/$* python )
119 $(MAKE) -f $(HGROOT)/contrib/Makefile.python PYTHONVER=$* PREFIX=$(HGPYTHONS)/$* python )
120 cd tests && $(HGPYTHONS)/$*/bin/python run-tests.py $(TESTFLAGS)
120 cd tests && $(HGPYTHONS)/$*/bin/python run-tests.py $(TESTFLAGS)
121
121
122 check-code:
122 check-code:
123 hg manifest | xargs python contrib/check-code.py
123 hg manifest | xargs python contrib/check-code.py
124
124
125 format-c:
125 format-c:
126 clang-format --style file -i \
126 clang-format --style file -i \
127 `hg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-blacklist"'`
127 `hg files 'set:(**.c or **.cc or **.h) and not "listfile:contrib/clang-format-blacklist"'`
128
128
129 update-pot: i18n/hg.pot
129 update-pot: i18n/hg.pot
130
130
131 i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n/posplit i18n/hggettext
131 i18n/hg.pot: $(PYFILES) $(DOCFILES) i18n/posplit i18n/hggettext
132 $(PYTHON) i18n/hggettext mercurial/commands.py \
132 $(PYTHON) i18n/hggettext mercurial/commands.py \
133 hgext/*.py hgext/*/__init__.py \
133 hgext/*.py hgext/*/__init__.py \
134 mercurial/fileset.py mercurial/revset.py \
134 mercurial/fileset.py mercurial/revset.py \
135 mercurial/templatefilters.py mercurial/templatekw.py \
135 mercurial/templatefilters.py mercurial/templatekw.py \
136 mercurial/templater.py \
136 mercurial/templater.py \
137 mercurial/filemerge.py \
137 mercurial/filemerge.py \
138 mercurial/hgweb/webcommands.py \
138 mercurial/hgweb/webcommands.py \
139 mercurial/util.py \
139 mercurial/util.py \
140 $(DOCFILES) > i18n/hg.pot.tmp
140 $(DOCFILES) > i18n/hg.pot.tmp
141 # All strings marked for translation in Mercurial contain
141 # All strings marked for translation in Mercurial contain
142 # ASCII characters only. But some files contain string
142 # ASCII characters only. But some files contain string
143 # literals like this '\037\213'. xgettext thinks it has to
143 # literals like this '\037\213'. xgettext thinks it has to
144 # parse them even though they are not marked for translation.
144 # parse them even though they are not marked for translation.
145 # Extracting with an explicit encoding of ISO-8859-1 will make
145 # Extracting with an explicit encoding of ISO-8859-1 will make
146 # xgettext "parse" and ignore them.
146 # xgettext "parse" and ignore them.
147 echo $(PYFILES) | xargs \
147 echo $(PYFILES) | xargs \
148 xgettext --package-name "Mercurial" \
148 xgettext --package-name "Mercurial" \
149 --msgid-bugs-address "<mercurial-devel@mercurial-scm.org>" \
149 --msgid-bugs-address "<mercurial-devel@mercurial-scm.org>" \
150 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
150 --copyright-holder "Matt Mackall <mpm@selenic.com> and others" \
151 --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \
151 --from-code ISO-8859-1 --join --sort-by-file --add-comments=i18n: \
152 -d hg -p i18n -o hg.pot.tmp
152 -d hg -p i18n -o hg.pot.tmp
153 $(PYTHON) i18n/posplit i18n/hg.pot.tmp
153 $(PYTHON) i18n/posplit i18n/hg.pot.tmp
154 # The target file is not created before the last step. So it never is in
154 # The target file is not created before the last step. So it never is in
155 # an intermediate state.
155 # an intermediate state.
156 mv -f i18n/hg.pot.tmp i18n/hg.pot
156 mv -f i18n/hg.pot.tmp i18n/hg.pot
157
157
158 %.po: i18n/hg.pot
158 %.po: i18n/hg.pot
159 # work on a temporary copy for never having a half completed target
159 # work on a temporary copy for never having a half completed target
160 cp $@ $@.tmp
160 cp $@ $@.tmp
161 msgmerge --no-location --update $@.tmp $^
161 msgmerge --no-location --update $@.tmp $^
162 mv -f $@.tmp $@
162 mv -f $@.tmp $@
163
163
164 # Packaging targets
164 # Packaging targets
165
165
166 osx:
166 osx:
167 rm -rf build/mercurial
167 rm -rf build/mercurial
168 /usr/bin/python2.7 setup.py install --optimize=1 \
168 /usr/bin/python2.7 setup.py install --optimize=1 \
169 --root=build/mercurial/ --prefix=/usr/local/ \
169 --root=build/mercurial/ --prefix=/usr/local/ \
170 --install-lib=/Library/Python/2.7/site-packages/
170 --install-lib=/Library/Python/2.7/site-packages/
171 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
171 make -C doc all install DESTDIR="$(PWD)/build/mercurial/"
172 # Place a bogon .DS_Store file in the target dir so we can be
172 # Place a bogon .DS_Store file in the target dir so we can be
173 # sure it doesn't get included in the final package.
173 # sure it doesn't get included in the final package.
174 touch build/mercurial/.DS_Store
174 touch build/mercurial/.DS_Store
175 # install zsh completions - this location appears to be
175 # install zsh completions - this location appears to be
176 # searched by default as of macOS Sierra.
176 # searched by default as of macOS Sierra.
177 install -d build/mercurial/usr/local/share/zsh/site-functions/
177 install -d build/mercurial/usr/local/share/zsh/site-functions/
178 install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/_hg
178 install -m 0644 contrib/zsh_completion build/mercurial/usr/local/share/zsh/site-functions/_hg
179 # install bash completions - there doesn't appear to be a
179 # install bash completions - there doesn't appear to be a
180 # place that's searched by default for bash, so we'll follow
180 # place that's searched by default for bash, so we'll follow
181 # the lead of Apple's git install and just put it in a
181 # the lead of Apple's git install and just put it in a
182 # location of our own.
182 # location of our own.
183 install -d build/mercurial/usr/local/hg/contrib/
183 install -d build/mercurial/usr/local/hg/contrib/
184 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
184 install -m 0644 contrib/bash_completion build/mercurial/usr/local/hg/contrib/hg-completion.bash
185 make -C contrib/chg \
185 make -C contrib/chg \
186 HGPATH=/usr/local/bin/hg \
186 HGPATH=/usr/local/bin/hg \
187 PYTHON=/usr/bin/python2.7 \
187 PYTHON=/usr/bin/python2.7 \
188 HGEXTDIR=/Library/Python/2.7/site-packages/hgext \
188 HGEXTDIR=/Library/Python/2.7/site-packages/hgext \
189 DESTDIR=../../build/mercurial \
189 DESTDIR=../../build/mercurial \
190 PREFIX=/usr/local \
190 PREFIX=/usr/local \
191 clean install
191 clean install
192 mkdir -p $${OUTPUTDIR:-dist}
192 mkdir -p $${OUTPUTDIR:-dist}
193 HGVER=$$(python contrib/genosxversion.py $(OSXVERSIONFLAGS) build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py) && \
193 HGVER=$$(python contrib/genosxversion.py $(OSXVERSIONFLAGS) build/mercurial/Library/Python/2.7/site-packages/mercurial/__version__.py) && \
194 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
194 OSXVER=$$(sw_vers -productVersion | cut -d. -f1,2) && \
195 pkgbuild --filter \\.DS_Store --root build/mercurial/ \
195 pkgbuild --filter \\.DS_Store --root build/mercurial/ \
196 --identifier org.mercurial-scm.mercurial \
196 --identifier org.mercurial-scm.mercurial \
197 --version "$${HGVER}" \
197 --version "$${HGVER}" \
198 build/mercurial.pkg && \
198 build/mercurial.pkg && \
199 productbuild --distribution contrib/macosx/distribution.xml \
199 productbuild --distribution contrib/macosx/distribution.xml \
200 --package-path build/ \
200 --package-path build/ \
201 --version "$${HGVER}" \
201 --version "$${HGVER}" \
202 --resources contrib/macosx/ \
202 --resources contrib/macosx/ \
203 "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg
203 "$${OUTPUTDIR:-dist/}"/Mercurial-"$${HGVER}"-macosx"$${OSXVER}".pkg
204
204
205 deb:
205 deb:
206 contrib/builddeb
206 contrib/builddeb
207
207
208 ppa:
208 ppa:
209 contrib/builddeb --source-only
209 contrib/builddeb --source-only
210
210
211 contrib/docker/debian-%: contrib/docker/debian.template
211 contrib/docker/debian-%: contrib/docker/debian.template
212 sed "s/__CODENAME__/$*/" $< > $@
212 sed "s/__CODENAME__/$*/" $< > $@
213
213
214 docker-debian-jessie: contrib/docker/debian-jessie
214 docker-debian-jessie: contrib/docker/debian-jessie
215 mkdir -p packages/debian-jessie
215 mkdir -p packages/debian-jessie
216 contrib/dockerdeb debian jessie
216 contrib/dockerdeb debian jessie
217
217
218 docker-debian-stretch: contrib/docker/debian-stretch
218 docker-debian-stretch: contrib/docker/debian-stretch
219 mkdir -p packages/debian-stretch
219 mkdir -p packages/debian-stretch
220 contrib/dockerdeb debian stretch
220 contrib/dockerdeb debian stretch
221
221
222 contrib/docker/ubuntu-%: contrib/docker/ubuntu.template
222 contrib/docker/ubuntu-%: contrib/docker/ubuntu.template
223 sed "s/__CODENAME__/$*/" $< > $@
223 sed "s/__CODENAME__/$*/" $< > $@
224
224
225 docker-ubuntu-trusty: contrib/docker/ubuntu-trusty
225 docker-ubuntu-trusty: contrib/docker/ubuntu-trusty
226 contrib/dockerdeb ubuntu trusty
226 contrib/dockerdeb ubuntu trusty
227
227
228 docker-ubuntu-trusty-ppa: contrib/docker/ubuntu-trusty
228 docker-ubuntu-trusty-ppa: contrib/docker/ubuntu-trusty
229 contrib/dockerdeb ubuntu trusty --source-only
229 contrib/dockerdeb ubuntu trusty --source-only
230
230
231 docker-ubuntu-xenial: contrib/docker/ubuntu-xenial
231 docker-ubuntu-xenial: contrib/docker/ubuntu-xenial
232 contrib/dockerdeb ubuntu xenial
232 contrib/dockerdeb ubuntu xenial
233
233
234 docker-ubuntu-xenial-ppa: contrib/docker/ubuntu-xenial
234 docker-ubuntu-xenial-ppa: contrib/docker/ubuntu-xenial
235 contrib/dockerdeb ubuntu xenial --source-only
235 contrib/dockerdeb ubuntu xenial --source-only
236
236
237 docker-ubuntu-yakkety: contrib/docker/ubuntu-yakkety
238 contrib/dockerdeb ubuntu yakkety
239
240 docker-ubuntu-yakkety-ppa: contrib/docker/ubuntu-yakkety
241 contrib/dockerdeb ubuntu yakkety --source-only
242
243 docker-ubuntu-zesty: contrib/docker/ubuntu-zesty
244 contrib/dockerdeb ubuntu zesty
245
246 docker-ubuntu-zesty-ppa: contrib/docker/ubuntu-zesty
247 contrib/dockerdeb ubuntu zesty --source-only
248
249 docker-ubuntu-artful: contrib/docker/ubuntu-artful
237 docker-ubuntu-artful: contrib/docker/ubuntu-artful
250 contrib/dockerdeb ubuntu artful
238 contrib/dockerdeb ubuntu artful
251
239
252 docker-ubuntu-artful-ppa: contrib/docker/ubuntu-artful
240 docker-ubuntu-artful-ppa: contrib/docker/ubuntu-artful
253 contrib/dockerdeb ubuntu artful --source-only
241 contrib/dockerdeb ubuntu artful --source-only
254
242
255 fedora20:
243 fedora20:
256 mkdir -p packages/fedora20
244 mkdir -p packages/fedora20
257 contrib/buildrpm
245 contrib/buildrpm
258 cp rpmbuild/RPMS/*/* packages/fedora20
246 cp rpmbuild/RPMS/*/* packages/fedora20
259 cp rpmbuild/SRPMS/* packages/fedora20
247 cp rpmbuild/SRPMS/* packages/fedora20
260 rm -rf rpmbuild
248 rm -rf rpmbuild
261
249
262 docker-fedora20:
250 docker-fedora20:
263 mkdir -p packages/fedora20
251 mkdir -p packages/fedora20
264 contrib/dockerrpm fedora20
252 contrib/dockerrpm fedora20
265
253
266 fedora21:
254 fedora21:
267 mkdir -p packages/fedora21
255 mkdir -p packages/fedora21
268 contrib/buildrpm
256 contrib/buildrpm
269 cp rpmbuild/RPMS/*/* packages/fedora21
257 cp rpmbuild/RPMS/*/* packages/fedora21
270 cp rpmbuild/SRPMS/* packages/fedora21
258 cp rpmbuild/SRPMS/* packages/fedora21
271 rm -rf rpmbuild
259 rm -rf rpmbuild
272
260
273 docker-fedora21:
261 docker-fedora21:
274 mkdir -p packages/fedora21
262 mkdir -p packages/fedora21
275 contrib/dockerrpm fedora21
263 contrib/dockerrpm fedora21
276
264
277 centos5:
265 centos5:
278 mkdir -p packages/centos5
266 mkdir -p packages/centos5
279 contrib/buildrpm --withpython
267 contrib/buildrpm --withpython
280 cp rpmbuild/RPMS/*/* packages/centos5
268 cp rpmbuild/RPMS/*/* packages/centos5
281 cp rpmbuild/SRPMS/* packages/centos5
269 cp rpmbuild/SRPMS/* packages/centos5
282
270
283 docker-centos5:
271 docker-centos5:
284 mkdir -p packages/centos5
272 mkdir -p packages/centos5
285 contrib/dockerrpm centos5 --withpython
273 contrib/dockerrpm centos5 --withpython
286
274
287 centos6:
275 centos6:
288 mkdir -p packages/centos6
276 mkdir -p packages/centos6
289 contrib/buildrpm --withpython
277 contrib/buildrpm --withpython
290 cp rpmbuild/RPMS/*/* packages/centos6
278 cp rpmbuild/RPMS/*/* packages/centos6
291 cp rpmbuild/SRPMS/* packages/centos6
279 cp rpmbuild/SRPMS/* packages/centos6
292
280
293 docker-centos6:
281 docker-centos6:
294 mkdir -p packages/centos6
282 mkdir -p packages/centos6
295 contrib/dockerrpm centos6 --withpython
283 contrib/dockerrpm centos6 --withpython
296
284
297 centos7:
285 centos7:
298 mkdir -p packages/centos7
286 mkdir -p packages/centos7
299 contrib/buildrpm
287 contrib/buildrpm
300 cp rpmbuild/RPMS/*/* packages/centos7
288 cp rpmbuild/RPMS/*/* packages/centos7
301 cp rpmbuild/SRPMS/* packages/centos7
289 cp rpmbuild/SRPMS/* packages/centos7
302
290
303 docker-centos7:
291 docker-centos7:
304 mkdir -p packages/centos7
292 mkdir -p packages/centos7
305 contrib/dockerrpm centos7
293 contrib/dockerrpm centos7
306
294
307 linux-wheels: linux-wheels-x86_64 linux-wheels-i686
295 linux-wheels: linux-wheels-x86_64 linux-wheels-i686
308
296
309 linux-wheels-x86_64:
297 linux-wheels-x86_64:
310 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`:/src quay.io/pypa/manylinux1_x86_64 /src/contrib/build-linux-wheels.sh
298 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`:/src quay.io/pypa/manylinux1_x86_64 /src/contrib/build-linux-wheels.sh
311
299
312 linux-wheels-i686:
300 linux-wheels-i686:
313 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`:/src quay.io/pypa/manylinux1_i686 linux32 /src/contrib/build-linux-wheels.sh
301 docker run -e "HGTEST_JOBS=$(shell nproc)" --rm -ti -v `pwd`:/src quay.io/pypa/manylinux1_i686 linux32 /src/contrib/build-linux-wheels.sh
314
302
315 .PHONY: help all local build doc cleanbutpackages clean install install-bin \
303 .PHONY: help all local build doc cleanbutpackages clean install install-bin \
316 install-doc install-home install-home-bin install-home-doc \
304 install-doc install-home install-home-bin install-home-doc \
317 dist dist-notests check tests check-code format-c update-pot \
305 dist dist-notests check tests check-code format-c update-pot \
318 osx deb ppa docker-debian-jessie docker-debian-stretch \
306 osx deb ppa docker-debian-jessie docker-debian-stretch \
319 docker-ubuntu-trusty docker-ubuntu-trusty-ppa \
307 docker-ubuntu-trusty docker-ubuntu-trusty-ppa \
320 docker-ubuntu-xenial docker-ubuntu-xenial-ppa \
308 docker-ubuntu-xenial docker-ubuntu-xenial-ppa \
321 docker-ubuntu-yakkety docker-ubuntu-yakkety-ppa \
322 docker-ubuntu-zesty docker-ubuntu-zesty-ppa \
323 docker-ubuntu-artful docker-ubuntu-artful-ppa \
309 docker-ubuntu-artful docker-ubuntu-artful-ppa \
324 fedora20 docker-fedora20 fedora21 docker-fedora21 \
310 fedora20 docker-fedora20 fedora21 docker-fedora21 \
325 centos5 docker-centos5 centos6 docker-centos6 centos7 docker-centos7 \
311 centos5 docker-centos5 centos6 docker-centos6 centos7 docker-centos7 \
326 linux-wheels
312 linux-wheels
General Comments 0
You need to be logged in to leave comments. Login now