From: Roy Marples Date: Thu, 25 Sep 2008 21:23:16 +0000 (+0000) Subject: Punt old dirs and work with svn. X-Git-Tag: v5.0.0~233 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=071628abd0c3cd692b48a22916777937b1d99e7c;p=thirdparty%2Fdhcpcd.git Punt old dirs and work with svn. --- diff --git a/mk/cc.mk b/mk/cc.mk index eecbffcb..63f396cb 100644 --- a/mk/cc.mk +++ b/mk/cc.mk @@ -19,7 +19,7 @@ _CCFLAGS= -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 \ -Winline -Wwrite-strings -Wcast-align -Wcast-qual \ -Wpointer-arith \ -Wdeclaration-after-statement -Wsequence-point -_CC_FLAGS_SH= if ! test -d .git; then echo ""; else for f in ${_CCFLAGS}; do \ +_CC_FLAGS_SH= if ! test -d .svn; then echo ""; else for f in ${_CCFLAGS}; do \ if echo "int main(void) { return 0;} " | \ ${CC} $$f -S -xc -o /dev/null - ; \ then printf "%s" "$$f "; fi \ diff --git a/mk/dist.mk b/mk/dist.mk index 3d9385b3..9ba66757 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -18,7 +18,10 @@ SNAPDIR= ${DISTPREFIX}-${SNAP} SNAPFILE= ${SNAPDIR}.tar.bz2 dist: - git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE} + svn export . ${DISTPREFIX} + tar cjpf ${DISTFILE} ${DISTPREFIX} + rm -rf ${DISTPREFIX} + #git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE} snapshot: mkdir /tmp/${SNAPDIR}