]> git.proxmox.com Git - corosync-pve.git/blobdiff - Makefile
buildsys: missing build dependencies
[corosync-pve.git] / Makefile
index f1aa99b7c14bdcccb179bfeb1445efb0970413b5..77b2532a5c5adab07b8783cb6d58a82e35184601 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,16 +10,19 @@ CSSRC=corosync-${CSVERSION}.tar.gz
 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
 GITVERSION:=$(shell cat .git/refs/heads/master)
 
-DEBS=                                                                  \
-       corosync-pve_${CSVERSION}-${CSRELEASE}_${ARCH}.deb              \
-       libcorosync4-pve_${CSVERSION}-${CSRELEASE}_${ARCH}.deb          \
+DEB1 := corosync-pve_${CSVERSION}-${CSRELEASE}_${ARCH}.deb
+
+DEB2 := libcorosync4-pve_${CSVERSION}-${CSRELEASE}_${ARCH}.deb \
        libcorosync-pve-dev_${CSVERSION}-${CSRELEASE}_${ARCH}.deb
 
+DEBS := $(DEB1) $(DEB2)
+
 all: ${DEBS}
        echo ${DEBS}
 
-${DEBS}: ${CSSRC}
-       echo ${DEBS}
+$(DEB2): $(DEB1)
+
+${DEB1}: ${CSSRC}
        rm -rf ${CSDIR}
        tar xf ${CSSRC} 
        cp -a debian ${CSDIR}/debian