Reiner Steib <[EMAIL PROTECTED]> writes:
> On Tue, May 10 2005, David Kastrup wrote:
>
>> Reiner? I don't know _how_ you are doing the snapshots,
>
> Basically by running `make [...] snapshot' [1] which does `check-dist'
> and `tar-ball'.
>
>> but it is pretty obvious that the right way to do them would be to
>> use cvs export in some manner.
>
> The idea of the snapshot target was to get the same tar/zip file as
> for a release.
Which is going to be the result of cvs export.
> This doesn't include all files present in CVS.
It will. Anything else does not fit the GPL.
Here is a diff to the current Makefile.in to what I have planned. I
have not checked it in since it would make it hard to do anything
_except_ a regular release tar-ball.
--- Makefile.in 06 May 2005 14:54:24 +0200 1.90
+++ Makefile.in 07 May 2005 08:21:43 +0200
@@ -286,37 +286,21 @@
tar-ball:
if [ -d auctex-$(TAG) ]; then rm -r auctex-$(TAG) ; fi
mkdir auctex-$(TAG)
- mkdir auctex-$(TAG)/style
- mkdir auctex-$(TAG)/images
- mkdir auctex-$(TAG)/doc
- cp $(AUCSRC) $(EXTRAFILES) auctex-$(TAG)
- cp images/*.??m auctex-$(TAG)/images
- cp $(STYLESRC) $(NOSEARCH) auctex-$(TAG)/style
- cp $(DOCFILES) auctex-$(TAG)/doc
- (cd doc; $(MAKE) dist; cp auctex.info ../auctex-$(TAG)/doc )
- (cd doc; \
- for x in auctex.info-*; do \
- if [ -r $$x ]; then \
- cp $$x ../auctex-$(TAG)/doc ; \
- fi; \
- done )
- (cd doc; cp INSTALL INSTALL.windows README CHANGES TODO FAQ \
- ../auctex-$(TAG)/ )
+ cvs export -d auctex-$(TAG) -r release_`echo $(TAG)| sed -e 's/[.]/_/g'` auctex
+ cd auctex-$(TAG) && ./autogen.sh
+ chmod -R go-w+rX auctex-$(TAG)
rm -rf $(FTPDIR) $(WWWDIR)/doc
mkdir -p $(FTPDIR) $(WWWDIR)/doc
- cp doc/CHANGES $(FTPDIR)/CHANGES
- cp RELEASE $(FTPDIR)/RELEASE-$(TAG)
+ tar -cf - auctex-$(TAG) | gzip --best > $(FTPDIR)/auctex-$(TAG).tar.gz
+ -zip -r $(FTPDIR)/auctex-$(TAG).zip auctex-$(TAG)
+ cp auctex-$(TAG)/CHANGES $(FTPDIR)/CHANGES
+ cp auctex-$(TAG)/RELEASE $(FTPDIR)/RELEASE-$(TAG)
+ cd doc;$(MAKE) dist
cp doc/auctex.ps doc/auctex.pdf doc/tex-ref.ps doc/tex-ref.pdf $(FTPDIR)
cp ChangeLog $(FTPDIR)
cp doc/html/*.html $(WWWDIR)/doc
- chmod -R go-w+rX auctex-$(TAG)
- tar -cf - auctex-$(TAG) | gzip --best > $(FTPDIR)/auctex-$(TAG).tar.gz
- -zip -r $(FTPDIR)/auctex-$(TAG).zip auctex-$(TAG)
full-release:
- tar xzfO $(FTPDIR)/auctex-$(TAG).tar.gz auctex-$(TAG)/tex.el \
- | fgrep -s '$$'"Name: release_`echo $(TAG)| sed -e 's/[.]/_/g'` " \
- || { echo "Not a properly tagged release!" >&2 ; exit 1 ; }
rm -f $(FTPDIR)/*.{directive,asc,sig}
su -c "rpmbuild -ta --sign $(FTPDIR)/auctex-$(TAG).tar.gz" -
cp $(RPMROOT)/{RPMS/noarch/auctex-emacs,SRPMS/auctex}-$(TAG)[.-]* $(FTPDIR)
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
_______________________________________________
auctex mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex