Build icons for distribution.
[dhcpcd-ui] / mk / dist.mk
index eeffe86f5ccf467d65171a92fccb48b13951f445..8c41f885c33b376cfa74184f8c1aaa9970fb0622 100644 (file)
@@ -14,9 +14,14 @@ SNAPDIR=     ${DISTPREFIX}-${SNAP}
 SNAPFILE=      ${SNAPDIR}.tar.bz2
 
 dist:
-       git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE}
+       mkdir /tmp/${DISTPREFIX}
+       cp -RPp * /tmp/${DISTPREFIX}
+       (cd /tmp/${DISTPREFIX}; make clean icons)
+       tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX}
+       rm -rf /tmp/${DISTPREFIX}
+       ls -l ${DISTFILE}
 
-snapshot:
+snapshot: icons
        mkdir /tmp/${SNAPDIR}
        cp -RPp * /tmp/${SNAPDIR}
        (cd /tmp/${SNAPDIR}; make clean)