]> git.proxmox.com Git - vzquota.git/blob - Makefile
d5e7157e919fe4fed8e9e16dfd97c965ba037529
[vzquota.git] / Makefile
1 RELEASE=2.2
2
3 # wget http://download.openvz.org/utils/vzquota/3.1/src/vzquota-3.1.tar.bz2
4
5 PACKAGE=vzquota
6 PKGVER=3.1
7 PACKAGERELEASE=1
8
9 ARCH=amd64
10 DEB=${PACKAGE}_${PKGVER}-${PACKAGERELEASE}_${ARCH}.deb
11
12 SRCDIR=vzquota-${PKGVER}
13 SRC=${SRCDIR}.tar.bz2
14
15 all: ${DEB}
16
17 ${DEB}: ${SRC}
18 rm -rf ${SRCDIR}
19 tar xf ${SRC}
20 cp -a debian ${SRCDIR}
21 cd ${SRCDIR}; dpkg-buildpackage -b -rfakeroot -us -uc
22 lintian ${DEB}
23
24
25 clean:
26 rm -rf *~ debian/*~ ${SRCDIR} ${PACKAGE}_*.deb ${PACKAGE}_*.changes