]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Punt old dirs and work with svn.
authorRoy Marples <roy@marples.name>
Thu, 25 Sep 2008 21:23:16 +0000 (21:23 +0000)
committerRoy Marples <roy@marples.name>
Thu, 25 Sep 2008 21:23:16 +0000 (21:23 +0000)
mk/cc.mk
mk/dist.mk

index eecbffcb6b49fdd1ad1e88183d3e199bd161586d..63f396cb70cab47e6cd2fc915759f199a00f3f57 100644 (file)
--- 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 \
index 3d9385b3138cc82bdb944c2bd5922d0f78b867f8..9ba66757b259443e00f9275aa19b2a468e767133 100644 (file)
@@ -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}