Skip to content

Commit a8dd045

Browse files
committed
Fix dist to find cairosvg
1 parent 68bc3c8 commit a8dd045

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,13 @@ SNAPDIR= ${DISTPREFIX}-${SNAP}
2727
SNAPFILE= ${SNAPDIR}.tar.xz
2828

2929
dist:
30+
[ -e config.mk ] || ./configure
3031
git archive --prefix=${DISTPREFIX}/ -o /tmp/${DISTFILETAR} ${GITREF}
3132
tar -xpf /tmp/${DISTFILETAR} -C /tmp
33+
# We need config.mk to build the icons - remove it once done
34+
cp config.mk /tmp/${DISTPREFIX}
3235
(cd /tmp/${DISTPREFIX}; make icons)
36+
rm /tmp/${DISTPREFIX}/config.mk
3337
rm -rf /tmp/${DISTPREFIX}/doc
3438
tar -cvJpf ${DISTFILE} -C /tmp ${DISTPREFIX}
3539
rm -rf /tmp/${DISTPREFIX} /tmp/${DISTFILETAR}

0 commit comments

Comments
 (0)