diff options
| author | Francesco Potortì | 2002-12-05 12:40:56 +0000 |
|---|---|---|
| committer | Francesco Potortì | 2002-12-05 12:40:56 +0000 |
| commit | 90073820a4b7a69c2d52cdddffa93d9122f1c746 (patch) | |
| tree | 21e95a9cce2687e86c6c4945410468e11bc04748 /admin | |
| parent | 0631f894b4be4371f9752be69b5a9e58393e3b97 (diff) | |
| download | emacs-90073820a4b7a69c2d52cdddffa93d9122f1c746.tar.gz emacs-90073820a4b7a69c2d52cdddffa93d9122f1c746.zip | |
Instructions to create pretest or release tarballs.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/make-tarball.txt | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt new file mode 100644 index 00000000000..42dd61a00d9 --- /dev/null +++ b/admin/make-tarball.txt | |||
| @@ -0,0 +1,51 @@ | |||
| 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/^=\+//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/ftp/gnu/emacs/pretest/ | ||
| 49 | |||
| 50 | 12. Let Richard Stallman know about the new pretest and tell him to | ||
| 51 | announce it using the announcement you prepared. | ||