| 155 | | test-tlr: |
| 156 | | test $$HOSTNAME = sobolev && test $$LOGNAME = roessler |
| 157 | | |
| 158 | | actual-dist: update-doc |
| 159 | | # Note: We can't put these into the dependencies line, since |
| 160 | | # make will over-optimize some of the distdir targets. |
| 161 | | $(MAKE) us-dist |
| 162 | | $(MAKE) dist |
| 163 | | mv $(distdir).tar.gz $(distdir)i.tar.gz |
| 164 | | mv $(distdir)-us.tar.gz $(distdir).tar.gz |
| 165 | | $(MAKE) do-sign |
| 166 | | $(MAKE) do-upload |
| 167 | | |
| 168 | | do-sign: test-tlr |
| 169 | | pgp -sb $(distdir)i.tar.gz && chmod 644 $(distdir)i.tar.gz.asc |
| 170 | | pgp -sb $(distdir).tar.gz && chmod 644 $(distdir).tar.gz.asc |
| 171 | | |
| 172 | | do-upload: test-tlr |
| 173 | | if ! ssh-add -l | grep -q roessler@ ; then \ |
| 174 | | ssh-add ; \ |
| 175 | | fi |
| 176 | | @echo "Please connect to the Net and press any key." |
| 177 | | @read dummy |
| 178 | | scp $(distdir){,i}.tar.gz{,.asc} \ |
| 179 | | sigtrap.guug.de:/home/ftp/pub/mutt/devel/ \ |
| 180 | | || echo "UPLOAD FAILED. Please upload manually!" |
| 181 | | ( cd $(srcdir) && cvs commit -m "automatic post-release commit for $(distdir)" ) |
| 182 | | cvs tag `echo $(distdir)-rel | tr . -` |
| 183 | | cvs rdiff -u -r `cat $(srcdir)/LAST_TAG` \ |
| 184 | | -r `echo $(distdir)-rel | tr . -` \ |
| 185 | | > $(srcdir)/diff-`cat $(srcdir)/OVERSION`-`cat $(srcdir)/VERSION` |
| 186 | | gzip -9 $(srcdir)/diff-`cat $(srcdir)/OVERSION`-`cat $(srcdir)/VERSION` |
| 187 | | echo $(distdir)-rel | tr . - > $(srcdir)/LAST_TAG |
| 188 | | ( cd $(srcdir) && cvs commit -m "automatically committing updated build information" LAST_TAG ) |
| 189 | | cvs update |
| 190 | | $$HOME/bin/upload-mutt |
| 191 | | mutt -s "[Announce] $(distdir) is out" mutt-dev@mutt.org |
| 192 | | |
| 193 | | bump-version: test-tlr |
| 194 | | -rm -f $(srcdir)/VERSION |
| 195 | | ( cd $(srcdir) && cvs update VERSION ) |
| 196 | | ( cd $(srcdir) && cp VERSION OVERSION && \ |
| 197 | | cvs commit -m "automatically committing updated build information" OVERSION ) |
| 198 | | awk -F . '{printf("%d.%d.%d\n", $$1, $$2, $$3 + 1);}' $(srcdir)/VERSION > _VERSION.$$$$ \ |
| 199 | | && mv _VERSION.$$$$ $(srcdir)/VERSION |
| 200 | | $(VISUAL) $(srcdir)/VERSION |
| 201 | | |
| 202 | | mutt-dist: bump-version reldate changelog |
| 203 | | touch $(srcdir)/configure.in |
| 204 | | $(MAKE) config.status |
| 205 | | ./config.status |
| 206 | | $(MAKE) actual-dist |
| | 155 | mutt-dist: |
| | 156 | (cd $(srcdir) && ./build-release ) |