From a8dd0451274ae174ec02750f3b555e3fd5a2ad36 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Mon, 28 Dec 2020 16:12:14 +0000 Subject: Fix dist to find cairosvg --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 0e9cc1f..adc2da9 100644 --- a/Makefile +++ b/Makefile @@ -27,9 +27,13 @@ SNAPDIR= ${DISTPREFIX}-${SNAP} SNAPFILE= ${SNAPDIR}.tar.xz dist: + [ -e config.mk ] || ./configure git archive --prefix=${DISTPREFIX}/ -o /tmp/${DISTFILETAR} ${GITREF} tar -xpf /tmp/${DISTFILETAR} -C /tmp + # We need config.mk to build the icons - remove it once done + cp config.mk /tmp/${DISTPREFIX} (cd /tmp/${DISTPREFIX}; make icons) + rm /tmp/${DISTPREFIX}/config.mk rm -rf /tmp/${DISTPREFIX}/doc tar -cvJpf ${DISTFILE} -C /tmp ${DISTPREFIX} rm -rf /tmp/${DISTPREFIX} /tmp/${DISTFILETAR} -- cgit v1.2.3