Changeset 4638:cbc37f537cd0
- Timestamp:
- 2006-05-18 01:53:31 (3 years ago)
- Author:
- Rocco Rutte <pdmef@…>
- Branch:
- HEAD
- Message:
-
Autogenerate reldate.h from ChangeLog?.
- Files:
-
Legend:
- Unmodified
- Added
- Removed
-
|
r4556
|
r4638
|
|
| 14 | 14 | bin_SCRIPTS = muttbug flea @SMIMEAUX_TARGET@ |
| 15 | 15 | |
| 16 | | BUILT_SOURCES = keymap_defs.h patchlist.c |
| | 16 | BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h |
| 17 | 17 | |
| 18 | 18 | bin_PROGRAMS = mutt @DOTLOCK_TARGET@ @PGPAUX_TARGET@ |
| … |
… |
|
| 74 | 74 | mailbox.h mapping.h md5.h mime.h mutt.h mutt_curses.h mutt_menu.h \ |
| 75 | 75 | mutt_regex.h mutt_sasl.h mutt_socket.h mutt_ssl.h mutt_tunnel.h \ |
| 76 | | mx.h pager.h pgp.h pop.h protos.h reldate.h rfc1524.h rfc2047.h \ |
| | 76 | mx.h pager.h pgp.h pop.h protos.h rfc1524.h rfc2047.h \ |
| 77 | 77 | rfc2231.h rfc822.h sha1.h sort.h mime.types VERSION prepare \ |
| 78 | 78 | _regex.h OPS.MIX README.SECURITY remailer.c remailer.h browser.h \ |
| … |
… |
|
| 80 | 80 | makedoc.c stamp-doc-rc README.SSL smime.h\ |
| 81 | 81 | muttbug pgppacket.h depcomp ascii.h BEWARE PATCHES patchlist.sh \ |
| 82 | | ChangeLog.old mkchangelog.sh cvslog2changelog.pl mutt_idna.h \ |
| | 82 | ChangeLog ChangeLog.old mkchangelog.sh cvslog2changelog.pl mutt_idna.h \ |
| 83 | 83 | snprintf.c regex.c crypt-gpgme.h |
| 84 | 84 | |
| … |
… |
|
| 97 | 97 | |
| 98 | 98 | CLEANFILES = mutt_dotlock.c stamp-doc-rc makedoc \ |
| 99 | | keymap_alldefs.h keymap_defs.h patchlist.c |
| | 99 | keymap_alldefs.h keymap_defs.h patchlist.c \ |
| | 100 | reldate.h |
| 100 | 101 | |
| 101 | 102 | ACLOCAL_AMFLAGS = -I m4 |
| … |
… |
|
| 123 | 124 | > $(srcdir)/keymap_alldefs.h |
| 124 | 125 | |
| 125 | | reldate: |
| 126 | | echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > $(srcdir)/reldate.h |
| | 126 | reldate.h: $(srcdir)/ChangeLog |
| | 127 | echo 'const char *ReleaseDate = "'`head -n 1 $(srcdir)/ChangeLog | cut -d ' ' -f 1`'";' > reldate.h |
| 127 | 128 | |
| 128 | 129 | patchlist.c: $(srcdir)/PATCHES $(srcdir)/patchlist.sh |
| … |
… |
|
| 177 | 178 | $${VISUAL:-vi} ChangeLog) |
| 178 | 179 | |
| 179 | | #ChangeLog: changelog |
| 180 | | |
| 181 | 180 | # kluge around automake problems. |
| 182 | 181 | |
| … |
… |
|
| 200 | 199 | |
| 201 | 200 | .PHONY: commit pclean check-security commit-real commit-changelog |
| 202 | | .PHONY: changelog ChangeLog |
| | 201 | # .PHONY: changelog ChangeLog |
-
|
r4331
|
r4638
|
|
| 45 | 45 | TAG="mutt-`echo $VERSION | tr . -`-rel" |
| 46 | 46 | |
| 47 | | echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > reldate.h |
| | 47 | #echo 'const char *ReleaseDate = "'`date +%Y-%m-%d`'";' > reldate.h |
| 48 | 48 | |
| 49 | 49 | make update-changelog |
-
|
r4312
|
r4638
|
|
| 1 | | const char *ReleaseDate = "2005-09-15"; |
| | 1 | const char *ReleaseDate = "2006-05-17"; |