Mercurial > pidgin.yaz
comparison Makefile.am @ 23911:dd4df1a209b7
merge of '44b23c8bda2576a9bfcd3eaa90f9188c455df575'
and '7f16ff52262dcf6e66b6fd7796fca4bdd5de76bb'
author | Ka-Hing Cheung <khc@hxbc.us> |
---|---|
date | Wed, 27 Aug 2008 01:43:09 +0000 |
parents | 6c8be58d0d04 |
children | 27556c2710e3 |
comparison
equal
deleted
inserted
replaced
23908:def8c164f557 | 23911:dd4df1a209b7 |
---|---|
27 cp pidgin.spec $(distdir) | 27 cp pidgin.spec $(distdir) |
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 | |
33 version-check: | |
34 # We don't want to release development versions. | |
35 test x`echo $(PACKAGE_VERSION) | grep dev` = x | |
36 | |
37 # Ensure NEWS has no spaces at the start of a line. | |
38 # Using spaces instead of tabs there is a common mistake. | |
39 test x`grep "^ " NEWS` = x | |
40 | |
41 # When doing a new minor (or major) release (X.Y.0), there must be a section in | |
42 # ChangeLog.API. | |
43 echo $(PACKAGE_VERSION) | grep -v "^[0-9]\+\.[0-9]\+\.0$$" >/dev/null || head ChangeLog.API | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null | |
44 | |
45 # For all releases, check the ChangeLogs. | |
46 head ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null | |
47 head ChangeLog.win32 | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null | |
48 head po/ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null | |
49 | |
50 # Ensure we're working from a tag... | |
51 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id` | |
52 # ... and have no changes in the working copy. | |
53 test x`mtn diff | grep -v '^#'` = x | |
54 | |
55 release: distcheck packages | |
56 | |
57 packages: version-check | |
58 gpg -ab pidgin-$(PACKAGE_VERSION).tar.gz | |
59 gpg -ab pidgin-$(PACKAGE_VERSION).tar.bz2 | |
60 gpg --verify pidgin-$(PACKAGE_VERSION).tar.gz.asc pidgin-$(PACKAGE_VERSION).tar.gz | |
61 gpg --verify pidgin-$(PACKAGE_VERSION).tar.bz2.asc pidgin-$(PACKAGE_VERSION).tar.bz2 | |
32 | 62 |
33 if ENABLE_GTK | 63 if ENABLE_GTK |
34 appsdir = $(datadir)/applications | 64 appsdir = $(datadir)/applications |
35 apps_in_files = pidgin.desktop.in | 65 apps_in_files = pidgin.desktop.in |
36 apps_DATA = $(apps_in_files:.desktop.in=.desktop) | 66 apps_DATA = $(apps_in_files:.desktop.in=.desktop) |