]>
git.proxmox.com Git - pve-cluster.git/blob - Makefile
8d20e167a9ada093c711e00093ae0075662bfaba
7 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
9 DEB
=${PACKAGE}_
${PKGVER}-${PKGREL}_
${ARCH}.deb
15 gcc
-Wall cpgtest.c
$(shell pkg-config
--cflags --libs libcpg libcoroipcc
) -o cpgtest
24 rsync
-a
--exclude .svn data
/ build
25 cp
-a debian build
/debian
26 cd build
; .
/autogen.sh
27 cd build
; dpkg-buildpackage
-rfakeroot
-b
-us
-uc
33 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o rw
34 mkdir
-p
/pve
/${RELEASE}/extra
35 rm -f
/pve
/${RELEASE}/extra
/${PACKAGE}*.deb
36 rm -f
/pve
/${RELEASE}/extra
/Packages
*
37 cp
${DEB} /pve
/${RELEASE}/extra
38 cd
/pve
/${RELEASE}/extra
; dpkg-scanpackages .
/dev
/null
> Packages
; gzip
-9c Packages
> Packages.gz
39 umount
/pve
/${RELEASE}; mount
/pve
/${RELEASE} -o ro
43 rm -rf
*~ build
*_
${ARCH}.deb
*.changes
*.dsc
${CSDIR}