On Wed, May 11 2005, David Kastrup wrote:

> Well, now
> make TAG=`date '+%Y%m%d'` tar-ball
>
> should work, or, if you prefer the dashed format
>
> make TAG=`date --iso` tar-ball

Nice.  I used TAGs like 20050511-a which doesn't work as it is.  Do
you see any problem with this modification of the sed expression?

-       '/^[-0-9]*$$/s//-D &/'
+       '/^\([0-9]*\)[-a-z]*$$/s//-D \1/'

--8<---------------cut here---------------start------------->8---
--- Makefile.in 11 May 2005 17:19:44 +0200      1.92
+++ Makefile.in 11 May 2005 18:01:05 +0200      
@@ -286,7 +286,7 @@
 tar-ball:
        if [ -d auctex-$(TAG) ]; then rm -r auctex-$(TAG) ; fi
        mkdir auctex-$(TAG)
-       cvs export -d auctex-$(TAG) `echo $(TAG)|sed -e '/^[-0-9]*$$/s//-D &/' 
-e '/[.]/{s/^/-r release_/;s/[.]/_/g}'` auctex
+       cvs export -d auctex-$(TAG) `echo $(TAG)|sed -e 
'/^\([0-9]*\)[-a-z]*$$/s//-D \1/' -e '/[.]/{s/^/-r release_/;s/[.]/_/g}'` auctex
        cd auctex-$(TAG) && ./autogen.sh
        chmod -R go-w+rX auctex-$(TAG)
        rm -rf $(FTPDIR) $(WWWDIR)/doc
--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



_______________________________________________
auctex-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/auctex-devel

Reply via email to