]> code.delx.au - gnu-emacs/blob - admin/make-tarball.txt
~alpha, not ~ftp !
[gnu-emacs] / admin / make-tarball.txt
1 Instructions to create pretest or release tarballs.
2 -- originally written by Eli Zaretskii, amended by Francesco Potortì
3
4 For each step, check for possible errors.
5
6 1. cvs -q update -Pd
7
8 2. Bootstrap to make 100% sure all elc files are up-to-date, and to
9 make sure that the later tagged version will bootstrap, should it be
10 necessary to check it out.
11
12 3. Set the version number (M-x load-file RET admin/admin.el RET, then
13 M-x set-version RET). For a release, add released change log
14 entries (M-x add-release-logs RET).
15
16 4. rm configure; make bootstrap
17
18 5. Commit configure, loaddefs.el, cus-load.el, finder-inf.el, README,
19 emacs.texi.
20
21 6. make-dist --snapshot. Check the contents of the new tar with
22 admin/diff-tar-files against an older tar file. Some old pretest
23 tarballs are kept under fencepost.gnu.org:~pot/emacs-pretest/.
24
25 7. Make xdeltas:
26 xdelta delta emacs-OLD.tar.gz emacs-NEW.tar.gz emacs-OLD-NEW.xdelta
27
28 8. tar -zxf emacs-NEW.tar.gz; cd NEW
29 Then, either using `script' or M-x compile, do
30 configure && make && make -n install
31 Save the compilation log in compile-NEW.log and compare it against
32 an old one. The easiest way to do that is to visit the old log in
33 Emacs, change the version number of the old Emacs to __, do the same
34 with the new log and do M-x ediff. Especially check that Info files
35 aren't built.
36
37 9. `cvs tag TAG' in the toplevel Emacs dir. TAG is
38 EMACS_PRETEST_XX_YY_ZZZ for a pretest, don't know for a release.
39
40 10. For pretests, make an announcement by selecting new data from the
41 change logs and save it into emacs-NEW.announce, don't know for a
42 release. To get the new data from change logs, you can use:
43 cvs -q diff -b -r EMACS_PRETEST_XX_YY_ZZZ $(find -name ChangeLog|sort) |
44 sed -n -e 's/^=\+/\f/p' -e 's/^> //p' -e 's/^diff.*//p' \
45 -e 's/^RCS file: .cvsroot.emacs.emacs.\(.*\),v/\1/p'
46
47 11. rsync emacs-NEW.tar.gz emacs-OLD-NEW.xdelta compile-NEW.log \
48 emacs-new.announce alpha.gnu.org:/home/alpha/gnu/emacs/pretest/
49
50 12. Verify that after five minutes at most the files appear on
51 ftp://alpha.gnu.org/gnu/emacs/pretest/.
52
53 13. Let Richard Stallman know about the new pretest and tell him to
54 announce it using the announcement you prepared.