summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2011-07-07 16:24:56 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2011-07-07 16:24:56 +0100
commitbfcb1a34dcd0c7b2b2e43e4610c6ddebf26a747a (patch)
treea5e89aae3da9343492d35c53e58b31434e62e54a /tools
parentdf52a7dc52147f70c2e180c09b58de052e3eed10 (diff)
downloadtelepathy-salut-bfcb1a34dcd0c7b2b2e43e4610c6ddebf26a747a.tar.gz
Update coding style and release mail scripts
I grabbed the latter from an old branch by mistake when I added it.
Diffstat (limited to 'tools')
-rw-r--r--tools/check-coding-style.mk4
-rw-r--r--tools/make-release-mail.py3
2 files changed, 5 insertions, 2 deletions
diff --git a/tools/check-coding-style.mk b/tools/check-coding-style.mk
index 3fc92fc8..1c0a60f6 100644
--- a/tools/check-coding-style.mk
+++ b/tools/check-coding-style.mk
@@ -3,12 +3,12 @@ check-coding-style:
if test -n "$(check_misc_sources)"; then \
tools_dir=$(top_srcdir)/tools \
sh $(top_srcdir)/tools/check-misc.sh \
- $(check_misc_sources) || fail=1; \
+ $(addprefix $(srcdir)/,$(check_misc_sources)) || fail=1; \
fi; \
if test -n "$(check_c_sources)"; then \
tools_dir=$(top_srcdir)/tools \
sh $(top_srcdir)/tools/check-c-style.sh \
- $(check_c_sources) || fail=1; \
+ $(addprefix $(srcdir)/,$(check_c_sources)) || fail=1; \
fi;\
if test yes = "$(ENABLE_CODING_STYLE_CHECKS)"; then \
exit "$$fail";\
diff --git a/tools/make-release-mail.py b/tools/make-release-mail.py
index 2bd7c2bc..5c42b479 100644
--- a/tools/make-release-mail.py
+++ b/tools/make-release-mail.py
@@ -45,6 +45,7 @@ def extract_description(package, version, news_path):
return ('\n'.join(release_name), '\n'.join(details).rstrip())
BASE_URL = 'http://telepathy.freedesktop.org/releases'
+GIT_URL = 'http://cgit.freedesktop.org/telepathy'
def main(package, version, news_path):
release_name, details = extract_description(package, version, news_path)
@@ -54,9 +55,11 @@ def main(package, version, news_path):
tarball: %(base_url)s/%(package)s/%(package)s-%(version)s.tar.gz
signature: %(base_url)s/%(package)s/%(package)s-%(version)s.tar.gz.asc
+git: %(git_url)s/%(package)s
%(details)s""".strip().rstrip() % {
'base_url': BASE_URL,
+ 'git_url': GIT_URL,
'package': package,
'version': version,
'release_name': release_name,