-RELEASE=4.3
-
PACKAGE=lxc-pve
-LXCVER=2.0.6
-DEBREL=2
+LXCVER=2.0.7
+DEBREL=500
SRCDIR=lxc
SRCTAR=${SRCDIR}.tgz
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
GITVERSION:=$(shell cat .git/refs/heads/master)
-DEBS= \
-${PACKAGE}_${LXCVER}-${DEBREL}_${ARCH}.deb \
-${PACKAGE}-dev_${LXCVER}-${DEBREL}_${ARCH}.deb \
-${PACKAGE}-dbg_${LXCVER}-${DEBREL}_${ARCH}.deb
+DEB1=${PACKAGE}_${LXCVER}-${DEBREL}_${ARCH}.deb
+DEB2=${PACKAGE}-dev_${LXCVER}-${DEBREL}_${ARCH}.deb \
+ ${PACKAGE}-dbg_${LXCVER}-${DEBREL}_${ARCH}.deb
+DEBS=$(DEB1) $(DEB2)
all: ${DEBS}
echo ${DEBS}
-deb ${DEBS}: ${SRCTAR}
+.PHONY: deb
+deb: ${DEBS}
+$(DEB2): $(DEB1)
+$(DEB1): ${SRCTAR}
rm -rf ${SRCDIR}
tar xf ${SRCTAR}
cp -a debian ${SRCDIR}/debian
.PHONY: upload
upload: ${DEBS}
- tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload
+ tar cf - ${DEBS} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch
distclean: clean