Mercurial > hg-stable
diff Makefile @ 21255:62a2749895e4
build: initial support for in-tree autobuilding recipes
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 07 May 2014 17:58:13 -0500 |
parents | 54d7657d7d1e |
children | 9a9de26ad99a |
line wrap: on
line diff
--- a/Makefile Sun May 04 22:48:07 2014 -0700 +++ b/Makefile Wed May 07 17:58:13 2014 -0500 @@ -132,6 +132,29 @@ msgmerge --no-location --update $@.tmp $^ mv -f $@.tmp $@ +# Packaging targets + +fedora: + mkdir -p build/fedora + echo y | contrib/buildrpm + cp rpmbuild/RPMS/*/* build/fedora + cp rpmbuild/SRPMS/* build/fedora + rm -rf rpmbuild + +docker-fedora: + mkdir -p build/fedora + contrib/dockerrpm fedora + +centos6: + mkdir -p build/centos6 + echo y | contrib/buildrpm + cp rpmbuild/RPMS/*/* build/centos6 + cp rpmbuild/SRPMS/* build/centos6 + +docker-centos6: + mkdir -p build/centos6 + contrib/dockerrpm centos6 + .PHONY: help all local build doc clean install install-bin install-doc \ install-home install-home-bin install-home-doc dist dist-notests tests \ - update-pot + update-pot fedora docker-fedora