]> git.proxmox.com Git - pve-container.git/blame - Makefile
update_lxc_config: remove unused parameter
[pve-container.git] / Makefile
CommitLineData
c853a3bf 1RELEASE=4.2
f76a2828 2
de81c147 3VERSION=1.0
f76a2828 4PACKAGE=pve-container
591b30f1 5PKGREL=71
f76a2828
DM
6
7GITVERSION:=$(shell cat .git/refs/heads/master)
8
9ARCH:=all
10
11DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
12
13all: ${DEB}
14
15.PHONY: dinstall
16dinstall: ${DEB}
17 dpkg -i ${DEB}
18
6535fcdb 19.PHONY: deb
f76a2828
DM
20deb ${DEB}:
21 rm -rf build
22 mkdir build
23 rsync -a src/ build
24 rsync -a debian/ build/debian
25 echo "git clone git://git.proxmox.com/git/pve-container\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
26 cd build; dpkg-buildpackage -rfakeroot -b -us -uc
27 lintian ${DEB}
28
29.PHONY: clean
30clean:
31 make -C src clean
32 rm -rf build *.deb ${PACKAGE}-*.tar.gz *.changes
33 find . -name '*~' -exec rm {} ';'
34
35.PHONY: distclean
36distclean: clean
37
38.PHONY: upload
39upload: ${DEB}
c9c3758d 40 tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload