]>
git.proxmox.com Git - pve-common.git/blob - Makefile
6 PACKAGE
=libpve-common-perl
10 MANDIR
=${PREFIX}/share
/man
11 DOCDIR
=${PREFIX}/share
/doc
12 MAN1DIR
=${MANDIR}/man1
/
13 PERLDIR
=${PREFIX}/share
/perl5
16 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
18 DEB
=${PACKAGE}_
${VERSION}-${PKGREL}_
${ARCH}.deb
32 rsync
-a debian
/ build
/debian
33 echo
"git clone git://git.proxmox.com/git/pve-common.git\\ngit checkout ${GITVERSION}" > build
/debian
/SOURCE
34 cd build
; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
39 rm -rf
*~
*.deb
*.changes build
${PACKAGE}-*.
tar.gz
50 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
51 mkdir
-p
/pve
/${RELEASE}/extra
52 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}_
*.deb
53 rm -f
/pve
/${RELEASE}/extra
/Packages
*
54 cp
${DEB} /pve
/${RELEASE}/extra
55 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
56 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro