Skip to content

Commit

Permalink
- no more svn
Browse files Browse the repository at this point in the history
  • Loading branch information
jordansissel committed May 30, 2011
1 parent 8b2c82c commit 15835e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ create-package: pre-create-package VERSION xdo_version.h
@NAME=xdotool-$(VERSION); \
echo "Creating package: $$NAME"; \
mkdir $${NAME}; \
rsync --exclude .svn --exclude '.*' -a `ls -d *.pod COPYRIGHT *.c *.h examples t CHANGELIST README Makefile* version.sh platform.sh VERSION Doxyfile 2> /dev/null` $${NAME}/; \
rsync --exclude '.*' -a `ls -d *.pod COPYRIGHT *.c *.h examples t CHANGELIST README Makefile* version.sh platform.sh VERSION Doxyfile 2> /dev/null` $${NAME}/; \
tar -zcf $${NAME}.tar.gz $${NAME}/; \
rm -r $${NAME}
rm VERSION
Expand Down
3 changes: 2 additions & 1 deletion version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ fi
if [ -z "$MAJOR" -o -z "$RELEASE" -o -z "$REVISION" ] ; then
MAJOR="2"
RELEASE="$(date +%Y%m%d)"
REVISION=$([ -d .svn ] && svn info . | awk '/Revision:/ {print $2}')
REVISION=1
#$([ -d .svn ] && svn info . | awk '/Revision:/ {print $2}')
: ${REVISION=:0}
fi

Expand Down

0 comments on commit 15835e3

Please sign in to comment.