diff options
| author | Roy Marples <roy@marples.name> | 2014-01-03 17:16:12 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-01-03 17:16:12 +0000 |
| commit | b3c55f23df5dc674e14f9df1c3b1ec26b1185c77 (patch) | |
| tree | 6db007a6fa2516f178c90f59744725d22a663e09 /Makefile | |
| parent | 172f26b97e22cdbf10c2b6db05d138ab1421d5d3 (diff) | |
| download | dhcpcd-b3c55f23df5dc674e14f9df1c3b1ec26b1185c77.tar.xz | |
Change configure to detect fossil for debugging.
Make dist now exports the current fossil checkin.
Remove old .git files.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -48,8 +48,10 @@ _VERSION_SH= sed -n 's/\#define VERSION[[:space:]]*"\(.*\)".*/\1/p' defs.h _VERSION!= ${_VERSION_SH} VERSION= ${_VERSION}$(shell ${_VERSION_SH}) -GITREF?= HEAD +FOSSILID?= current + DISTPREFIX?= ${PROG}-${VERSION} +DISTFILEGZ?= ${DISTPREFIX}.tar.gz DISTFILE?= ${DISTPREFIX}.tar.bz2 HOST_SH?= /bin/sh @@ -130,7 +132,9 @@ distclean: clean rm -f .depend config.h config.mk dist: - git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE} + fossil tarball --name ${DISTPREFIX} ${FOSSILID} ${DISTFILEGZ} + gunzip -c ${DISTFILEGZ} | bzip2 >${DISTFILE} + rm ${DISTFILEGZ} import: ${SRCS} rm -rf /tmp/${DISTPREFIX} |
