9 ARCH
:=$(shell dpkg-architecture
-qDEB_BUILD_ARCH
)
10 GITVERSION
:=$(shell cat .git
/refs
/heads
/master
)
12 DEB
=${PACKAGE}_
${VER}-${DEBREL}_
${ARCH}.deb
18 cp
-rpa
${SRCDIR} ${SRCDIR}.tmp
19 cd
${SRCDIR}.tmp
; patch
-p1
< ..
/patches
/update_changelog.patch
20 cd
${SRCDIR}.tmp
; dpkg-buildpackage
-rfakeroot
-b
-uc
-us
26 git submodule update
--init
27 cd
${SRCDIR}; git fetch
28 cd
${SRCDIR}; git merge
--ff-only master
32 tar cf
- ${DEB} | ssh repoman@repo.proxmox.com upload
38 rm -rf
${SRCDIR}.tmp
*_
${ARCH}.deb
*.changes
*.dsc
39 find .
-name
'*~' -exec
rm {} ';'