blob: 6e11fc66f787564af36ab5ce74773a32aacba242 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
## Useful top-level Makefile.am snippets for Telepathy projects.
dist-hook:
chmod u+w ${distdir}/ChangeLog
if test -d ${top_srcdir}/.git; then \
git log --date=iso $(CHANGELOG_RANGE) > ${distdir}/ChangeLog; \
fi
distcheck-hook:
@test "z$(CHECK_FOR_UNRELEASED)" = z || \
case @VERSION@ in \
*.*.*.*) ;; \
*) \
if grep -r UNRELEASED $(CHECK_FOR_UNRELEASED); \
then \
echo "^^^ This is meant to be a release, but some files say UNRELEASED" >&2; \
exit 2; \
fi \
;; \
esac
maintainer-upload-release: _maintainer-upload-release
_maintainer-upload-release-check:
@case @VERSION@ in \
(*.*.*.*) \
echo "@VERSION@ is not a release" >&2; \
exit 2; \
;; \
esac
test -f @PACKAGE@-@VERSION@.tar.gz
test -f @PACKAGE@-@VERSION@.tar.gz.asc
gpg --verify @PACKAGE@-@VERSION@.tar.gz.asc
_maintainer-upload-release: _maintainer-upload-release-check
rsync -vzP @PACKAGE@-@VERSION@.tar.gz telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz
rsync -vzP @PACKAGE@-@VERSION@.tar.gz.asc telepathy.freedesktop.org:/srv/telepathy.freedesktop.org/www/releases/@PACKAGE@/@PACKAGE@-@VERSION@.tar.gz.asc
## vim:set ft=automake:
|