]>
git.proxmox.com Git - pve-container.git/blob - Makefile
7 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
11 DEB
=${PACKAGE}_
${VERSION}-${PKGREL}_
${ARCH}.deb
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
32 rm -rf build
*.deb
${PACKAGE}-*.
tar.gz
*.changes
33 find .
-name
'*~' -exec
rm {} ';'
40 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
41 mkdir
-p
/pve
/${RELEASE}/extra
42 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}_
*.deb
43 rm -f
/pve
/${RELEASE}/extra
/Packages
*
44 cp
${DEB} /pve
/${RELEASE}/extra
45 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
46 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro