From: Roy Marples Date: Thu, 25 Sep 2008 22:02:04 +0000 (+0000) Subject: Update for svn. X-Git-Tag: v4.0.2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=853d4efc6a4a4bdd353721fe4b499e26e011522e;p=thirdparty%2Fdhcpcd.git Update for svn. --- diff --git a/config.h b/config.h index 92220394..cac1d35e 100644 --- a/config.h +++ b/config.h @@ -28,7 +28,7 @@ #define CONFIG_H #define PACKAGE "dhcpcd" -#define VERSION "4.0.0" +#define VERSION "4.0.1" /* * By default we don't add a local link route if we got a routeable address. diff --git a/mk/cc.mk b/mk/cc.mk index fcf05351..c801eace 100644 --- a/mk/cc.mk +++ b/mk/cc.mk @@ -15,7 +15,7 @@ _CCFLAGS= -pedantic -Wall -Wunused -Wimplicit -Wshadow -Wformat=2 \ -Wbad-function-cast -Wnested-externs -Wcomment -Winline \ -Wchar-subscripts -Wcast-align -Wno-format-nonliteral \ -Wdeclaration-after-statement -Wsequence-point -Wextra -_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 ${CC} $$f -S -o /dev/null -xc /dev/null >/dev/null 2>&1; \ then printf "%s" "$$f "; fi \ done; fi diff --git a/mk/dist.mk b/mk/dist.mk index 3d9385b3..455397dc 100644 --- a/mk/dist.mk +++ b/mk/dist.mk @@ -1,4 +1,4 @@ -# rules to make a distribution tarball from a git repo +# rules to make a distribution tarball from a svn repo # Copyright 2008 Roy Marples GITREF?= HEAD @@ -18,7 +18,9 @@ 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} snapshot: mkdir /tmp/${SNAPDIR}