comparison Makefile.am @ 23963:d64673562530

Verify monotone tag and workspace version on 'make packages'. This should be expanded to check other version strings, as well (e.g., NEWS and ChangeLog*) when people get the chance.
author Ethan Blanton <elb@pidgin.im>
date Mon, 25 Aug 2008 03:09:33 +0000
parents 111b464f6845
children 9967f971bb3f
comparison
equal deleted inserted replaced
23962:111b464f6845 23963:d64673562530
28 rm $(distdir)/config.h 28 rm $(distdir)/config.h
29 29
30 distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm 30 distcheck-hook: libpurple/plugins/perl/common/Purple.pm pidgin/plugins/perl/common/Pidgin.pm
31 # cp libpurple/plugins/perl/common/Gaim.pm $(distdir)/libpurple/plugins/perl/common 31 # cp libpurple/plugins/perl/common/Gaim.pm $(distdir)/libpurple/plugins/perl/common
32 32
33 version-check:
34 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id`
35 test x`mtn diff | grep -v '^#'` = x
36
33 release: distcheck packages 37 release: distcheck packages
34 38
35 packages: dist-gzip dist-bzip2 39 packages: version-check dist-gzip dist-bzip2
36 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz 40 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz
37 gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2 41 gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2
38 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz 42 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz
39 gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2 43 gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2
40 rpmbuild -ts --sign --with avahi --with dbus --with meanwhile --with sasl --with silc --with tcl pidgin-$(PACKAGE_VERSION).tar.bz2 44 rpmbuild -ts --sign --with avahi --with dbus --with meanwhile --with sasl --with silc --with tcl pidgin-$(PACKAGE_VERSION).tar.bz2