2 datarootdir = @datarootdir@
15 # # # # # # # # # # Release variables (for maintainer only):
17 # Files removed from `cvs export' output before creating the tar-ball:
18 CVS_IGNORE_FILES = .cvsignore contrib/.cvsignore etc/.cvsignore \
19 lisp/.cvsignore texi/.cvsignore texi/ps/.cvsignore .arch-inventory
20 # Name and mail address in ChangeLog format for the release commit:
21 COMMITTER = Lars Magne Ingebrigtsen <lars@ingebrigtsen.no>
22 # CODENAME for development releases (CODENAME must have a trailing space,
25 # Codename initial (lower case), e.g. 'n' for "No Gnus".
27 # Files with hard-coded versions numbers:
28 RELEASE_COMMIT_FILES = ChangeLog \
29 etc/ChangeLog lisp/ChangeLog texi/ChangeLog \
31 texi/gnus.texi texi/message.texi texi/gnus-faq.texi
32 # Pattern matching previous version numbers:
33 OLD_PATTERN = \(5\.[0-9][0-9]\.[0-9]*\|5\.[0-9][0-9]\|0\.[1-9][0-9]*\)
35 CODENAME_PATTERN = [A-Z]*[a-z]* *
36 # CVS tag of the previous version:
38 # CVS tag of the current release:
41 COMMIT_STRING = $(CODENAME)Gnus v$(VERSION) is released.
44 # - release-bump-version
46 # - release-files or release-files-signed
48 # # # # # # # # # # End of release variables
53 cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" all
56 cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" install
57 cd texi && $(MAKE) EMACS="$(EMACS)" install
58 cd etc && $(MAKE) EMACS="$(EMACS)" install
60 list-installed-shadows:
61 cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" list-installed-shadows
63 remove-installed-shadows:
64 cd lisp && $(MAKE) EMACS="$(EMACS)" lispdir="$(lispdir)" remove-installed-shadows
67 cd lisp && $(MAKE) lispdir="$(lispdir)" uninstall
68 cd texi && $(MAKE) uninstall
69 cd etc && $(MAKE) uninstall
71 GNUS-NEWS: texi/gnus-news.texi
72 cd texi && $(MAKE) GNUS-NEWS
74 # Rule for Lars and nobody else.
76 cd lisp && $(MAKE) EMACS="$(EMACS)" some
78 cd lisp && $(MAKE) EMACS="$(EMACS)" clever
81 cd texi && $(MAKE) EMACS="$(EMACS)" all
84 for i in lisp texi etc texi/ps; do (cd $$i; $(MAKE) clean); done
88 cd lisp && rm -f *.elc auto-autoloads.el custom-load.el gnus-load.el
91 $(MAKE) EMACS=$(XEMACS)
94 $(MAKE) EMACS="$(XEMACS)" some
97 for i in lisp texi etc texi/ps; do (cd $$i; $(MAKE) distclean); done
98 rm -f config.log config.status config.cache Makefile
100 config.status: $(srcdir)/configure
101 $(SHELL) ./config.status --recheck
102 $(srcdir)/configure: $(srcdir)/configure.in
103 cd $(srcdir) && autoconf
104 Makefile: $(srcdir)/Makefile.in config.status
105 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
107 # # # # # # # # # # Release targets (for maintainer only):
109 release-check-settings:
111 @echo "COMMITTER = '$(COMMITTER)'"
112 @echo " (example: 'Foo Bar <foo.bar@somewhere.invalid>')"
113 @echo "VERSION = '$(VERSION)' (example: '5.10.6')"
114 @echo "CODENAME = '$(CODENAME)' (example: 'No ')"
115 @echo "CIN = '$(CIN)' (example: 'n', codename initial)"
116 @echo "TAG = '$(TAG)' (example: 'v5-10-6')"
117 @echo "OLD_TAG = '$(OLD_TAG)' (example: 'v5-10-5')"
119 @if [ x"$(VERSION)" = x ]; then echo "error: No VERSION given."; exit 1; else :; fi
120 @if [ x"$(TAG)" = x ]; then echo "error: No TAG given."; exit 1; else :; fi
122 @echo Settings checked successfully.
124 @echo You may now make...
125 @echo release-bump-version