diff options
| author | Roy Marples <roy@marples.name> | 2019-07-17 17:53:18 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2019-07-17 17:53:18 +0100 |
| commit | 1cec36a6880aa80ba620df554e2ca44300af5d18 (patch) | |
| tree | 19f9349aaeb1c655cc30fee9e237bfc8d1a525c3 | |
| parent | 59bb0c9674210f41412e53ad5d2b1095f8952c3a (diff) | |
| download | openresolv-3.9.1.tar.xz | |
Fix making distinfoopenresolv-3.9.1
| -rw-r--r-- | Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -42,7 +42,7 @@ DISTINFOSIGN= ${DISTINFO}.asc CKSUM?= cksum -a SHA256 PGP?= netpgp -FOSSILID?= current +GITREF?= HEAD .SUFFIXES: .in @@ -84,10 +84,17 @@ import: ${INSTALL} -d /tmp/${DISTPREFIX} cp README ${SRCS} /tmp/${DISTPREFIX} -dist: - fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ} - gunzip -c ${DISTFILEGZ} | xz >${DISTFILE} - rm ${DISTFILEGZ} +dist-git: + git archive --prefix=${DISTPREFIX}/ ${GITREF} | xz >${DISTFILE} + +dist-inst: + mkdir /tmp/${DISTPREFIX} + cp -RPp * /tmp/${DISTPREFIX} + (cd /tmp/${DISTPREFIX}; make clean) + tar -cvjpf ${DISTFILE} -C /tmp ${DISTPREFIX} + rm -rf /tmp/${DISTPREFIX} + +dist: dist-git distinfo: dist rm -f ${DISTINFO} ${DISTINFOSIGN} |
