Mercurial > hg > dhcpcd
changeset 2958:c5b27f45290c draft
Allow snapshots to be built.
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Mon, 23 Feb 2015 12:16:17 +0000 |
| parents | 25dafd1a9960 |
| children | eed2de3189ce |
| files | Makefile |
| diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Mon Feb 23 12:05:34 2015 +0000 +++ b/Makefile Mon Feb 23 12:16:17 2015 +0000 @@ -142,6 +142,15 @@ 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}
