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