diff options
| author | Roy Marples <roy@marples.name> | 2009-04-30 15:34:14 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-04-30 15:34:14 +0000 |
| commit | 57af27b81db2fb128d94b727061f9a3917d2c547 (patch) | |
| tree | 555bd2572d4ab6297dd8b33820b198f13e190e06 | |
| parent | ab7d360cb381708ecf178f21ca327b6cedc37b36 (diff) | |
| download | dhcpcd-57af27b81db2fb128d94b727061f9a3917d2c547.tar.xz | |
Go back to using git
| -rw-r--r-- | .gitignore | 9 | ||||
| -rw-r--r-- | mk/cc.mk | 2 | ||||
| -rw-r--r-- | mk/dist.mk | 6 |
3 files changed, 12 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..5a7e248c --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.depend +*.o +*.bz2 +dhcpcd +dhcpcd.conf.5 +dhcpcd.core +dhcpcd.8 +dhcpcd-run-hooks +dhcpcd-run-hooks.8 @@ -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 .svn; then echo ""; else for f in ${_CCFLAGS}; do \ +_CC_FLAGS_SH= if ! test -d .git; 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 @@ -1,5 +1,5 @@ # rules to make a distribution tarball from a svn repo -# Copyright 2008 Roy Marples <roy@marples.name> +# Copyright 2008-2009 Roy Marples <roy@marples.name> GITREF?= HEAD DISTPREFIX?= ${PROG}-${VERSION} @@ -18,9 +18,7 @@ SNAPDIR= ${DISTPREFIX}-${SNAP} SNAPFILE= ${SNAPDIR}.tar.bz2 dist: - svn export . ${DISTPREFIX} - tar cjpf ${DISTFILE} ${DISTPREFIX} - rm -rf ${DISTPREFIX} + git archive --prefix=${DISTPREFIX}/ ${GITREF} | bzip2 > ${DISTFILE} snapshot: mkdir /tmp/${SNAPDIR} |
