summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2008-09-08 17:56:25 +0100
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2008-09-08 17:56:25 +0100
commitd16364cb80f7a0027e7ce6277c1b1c224e3825b2 (patch)
tree703ca28419b067c9d7f95b26bc333ce5b80272c3 /Makefile
parent2786f5b41de2212a75dbc4ca19362bc0215aebf3 (diff)
maintainer-upload-snapshot: talk about git rather than darcs, and include the git commit hash
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6cdd67f2..2d893161 100644
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,7 @@ clean:
maintainer-upload-snapshot: doc/spec.html
@install -d tmp
cp doc/spec.html tmp/spec.html
- sed -i~ -e 's,\(<h2>Version [0-9][0-9.]*\)\(</h2>\),\1 (darcs snapshot '`date +%Y%m%d`')\2,' \
+ sed -i~ -e 's,\(<h2>Version [0-9][0-9.]*\)\(</h2>\),\1 (git commit '`git rev-list -n 1 --abbrev-commit --abbrev=8 HEAD`', '`date +%Y-%m-%d`')\2,' \
tmp/spec.html
scp tmp/spec.html \
telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/spec-snapshot.html