From: Roy Marples Date: Mon, 23 Feb 2015 12:16:17 +0000 (+0000) Subject: Allow snapshots to be built. X-Git-Tag: v6.8.0~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0828e822ddd4137cc71b2a8628b017a54ec706f5;p=thirdparty%2Fdhcpcd.git Allow snapshots to be built. --- diff --git a/Makefile b/Makefile index 5f2c45ee..36ff297a 100644 --- a/Makefile +++ b/Makefile @@ -142,6 +142,15 @@ dist: gunzip -c ${DISTFILEGZ} | bzip2 >${DISTFILE} rm ${DISTFILEGZ} +snapshot: + rm -rf /tmp/${DISTPREFIX} + ${INSTALL} -d /tmp/${DISTPREFIX} + cp -RPp * /tmp/${DISTPREFIX} + cd /tmp/${DISTPREFIX} && ${MAKE} distclean + cd /tmp && tar -cvjpf ${DISTFILE} ${DISTPREFIX} + mv /tmp/${DISTFILE} . + ls -l ${DISTFILE} + import: ${SRCS} rm -rf /tmp/${DISTPREFIX} ${INSTALL} -d /tmp/${DISTPREFIX}