Build icons for distribution.
[dhcpcd-ui] / mk / dist.mk
index b45436ecf1a3a355130eeed7e0c0ed58e2820e27..8c41f885c33b376cfa74184f8c1aaa9970fb0622 100644 (file)
@@ -14,11 +14,14 @@ SNAPDIR=    ${DISTPREFIX}-${SNAP}
 SNAPFILE=      ${SNAPDIR}.tar.bz2
 
 dist:
 SNAPFILE=      ${SNAPDIR}.tar.bz2
 
 dist:
-       svn export . ${DISTPREFIX}
-       tar cjpf ${DISTFILE} ${DISTPREFIX}
-       rm -rf ${DISTPREFIX}
+       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)
        mkdir /tmp/${SNAPDIR}
        cp -RPp * /tmp/${SNAPDIR}
        (cd /tmp/${SNAPDIR}; make clean)