]> git.proxmox.com Git - glusterfs.git/blobdiff - Makefile
create missing log directory (bug reported to debian)
[glusterfs.git] / Makefile
index 9063c2ff55340bbc1437dab2565781cb0a6ec8d5..a7e02779f627d963897880749921dbde018a3f07 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,8 @@ deb ${DEBS}: ${GLUSTERFSSRC} ${DEBSRC}
        rm -rf ${GLUSTERFSDIR}
        tar xf ${GLUSTERFSSRC}
        cd ${GLUSTERFSDIR}; tar xvf ../${DEBSRC}
+       # Hack - create missing log directory
+       echo "/var/log/glusterfs" >> ${GLUSTERFSDIR}/debian/glusterfs-client.dirs
        cd ${GLUSTERFSDIR}; dpkg-buildpackage -b -uc -us
 
 .PHONY: upload