diff options
| author | Roy Marples <roy@marples.name> | 2015-02-23 12:16:17 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2015-02-23 12:16:17 +0000 |
| commit | 0828e822ddd4137cc71b2a8628b017a54ec706f5 (patch) | |
| tree | a9fe16a50c46f538b2fcad715afa26313631caea /Makefile | |
| parent | 9e0626b7cac51839ed9abd1b9c0c9e264f595f4c (diff) | |
| download | dhcpcd-0828e822ddd4137cc71b2a8628b017a54ec706f5.tar.xz | |
Allow snapshots to be built.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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} |
