comparison Makefile.am @ 29639:249fee48c3ed

propagate from branch 'im.pidgin.cpw.malu.xmpp.attention' (head f27e3d2026fab3f93eacb55e0d4fc8d6c3f75f31) to branch 'im.pidgin.cpw.attention_ui' (head 751d7c7c633c0898b1e505bfbfabafa3435d84ed)
author Marcus Lundblad <ml@update.uu.se>
date Mon, 20 Oct 2008 18:44:44 +0000
parents b8fd4f37f9b2
children 8643ff79db35
comparison
equal deleted inserted replaced
29638:22b8a92fb5ee 29639:249fee48c3ed
32 32
33 version-check: 33 version-check:
34 # We don't want to release development versions. 34 # We don't want to release development versions.
35 test x`echo $(PACKAGE_VERSION) | grep dev` = x 35 test x`echo $(PACKAGE_VERSION) | grep dev` = x
36 36
37 # Make sure there is a NEWS entry for this version
38 head NEWS | grep "^$(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" > /dev/null
39
37 # Ensure NEWS has no spaces at the start of a line. 40 # Ensure NEWS has no spaces at the start of a line.
38 # Using spaces instead of tabs there is a common mistake. 41 # Using spaces instead of tabs there is a common mistake.
39 test x`grep "^ " NEWS` = x 42 test x`grep "^ " NEWS` = x
40 43
41 # When doing a new minor (or major) release (X.Y.0), there must be a section in 44 # When doing a new minor (or major) release (X.Y.0), there must be a section in
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 46 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 47
45 # For all releases, check the ChangeLogs. 48 # For all releases, check the ChangeLogs.
46 head ChangeLog | grep "^version $(PACKAGE_VERSION) (`date +%m/%d/%Y`):$$" >/dev/null 49 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 50 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 51 head po/ChangeLog | grep "^version $(PACKAGE_VERSION)$$" >/dev/null
49 52
50 # Ensure we're working from a tag... 53 # Ensure we're working from a tag...
51 test x`mtn automate select t:v$(PACKAGE_VERSION)` = x`mtn automate get_base_revision_id` 54 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. 55 # ... and have no changes in the working copy.
53 test x`mtn diff | grep -v '^#'` = x 56 test x`mtn diff | grep -v '^#'` = x