Mercurial > pidgin
comparison Makefile.am @ 23969:4ecea8ae3d21
merge of '3c1dec61837db8f0f51fc35f7ca26ff948a4e4f4'
and 'd03f77d92751b3104fa7f211c86084c46a8679b7'
| author | Elliott Sales de Andrade <qulogic@pidgin.im> |
|---|---|
| date | Tue, 26 Aug 2008 04:08:22 +0000 |
| parents | 6c8be58d0d04 |
| children | 27556c2710e3 |
comparison
equal
deleted
inserted
replaced
| 23946:169c1451b7e5 | 23969:4ecea8ae3d21 |
|---|---|
| 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) |
