]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Update for svn.
authorRoy Marples <roy@marples.name>
Thu, 25 Sep 2008 22:02:04 +0000 (22:02 +0000)
committerRoy Marples <roy@marples.name>
Thu, 25 Sep 2008 22:02:04 +0000 (22:02 +0000)
config.h
mk/cc.mk
mk/dist.mk

index 922203944c6bfe631955764ef4993e9e5df6b623..cac1d35ef90f4e969e90a997a90ae3a6fe0aca06 100644 (file)
--- 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.
index fcf05351625e4db8b452afeb23fa782e42f0f3be..c801eace0552d02afe00da4ff7bc4399a3fc7721 100644 (file)
--- 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
index 3d9385b3138cc82bdb944c2bd5922d0f78b867f8..455397dc9920a6e32a933c81aaad5e6e53b95206 100644 (file)
@@ -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 <roy@marples.name>
 
 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}