]> git.proxmox.com Git - lxcfs.git/blobdiff - Makefile
update to lxcfs-2.0.5
[lxcfs.git] / Makefile
index 09acdea3500f682b46d8d031eac4f4c95113493f..d410f17b03731063c187e5390c2edba61358ed99 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
-RELEASE=4.0
+RELEASE=4.3
 
 PACKAGE=lxcfs
-PKGVER=0.9
+PKGVER=2.0.5
 DEBREL=pve1
 
 SRCDIR=${PACKAGE}
@@ -10,7 +10,8 @@ SRCTAR=${SRCDIR}.tgz
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
-DEB=${PACKAGE}_${PKGVER}-${DEBREL}_amd64.deb
+DEB=${PACKAGE}_${PKGVER}-${DEBREL}_${ARCH}.deb \
+    ${PACKAGE}-dbg_${PKGVER}-${DEBREL}_${ARCH}.deb
 
 all: ${DEB}
 
@@ -27,7 +28,7 @@ deb ${DEB}: ${SRCTAR}
 .PHONY: download
 download ${SRCTAR}:
        rm -rf ${SRCDIR} ${SRCTAR}
-       git clone git://github.com/lxc/lxcfs
+       git clone --depth=1 -b lxcfs-${PKGVER} git://github.com/lxc/lxcfs
        tar czf ${SRCTAR}.tmp ${SRCDIR}
        mv ${SRCTAR}.tmp ${SRCTAR}
 
@@ -36,6 +37,7 @@ upload: ${DEB}
        umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
        mkdir -p /pve/${RELEASE}/extra
        rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
+       rm -f /pve/${RELEASE}/extra/${PACKAGE}-dbg_*.deb
        rm -f /pve/${RELEASE}/extra/Packages*
        cp ${DEB} /pve/${RELEASE}/extra
        cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz