auctex-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-commit] Changes to reftex/lisp/Makefile,v


From: Ralf Angeli
Subject: [AUCTeX-commit] Changes to reftex/lisp/Makefile,v
Date: Sat, 10 Mar 2007 17:21:39 +0000

CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    07/03/10 17:21:39

Index: Makefile
===================================================================
RCS file: /sources/auctex/reftex/lisp/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- Makefile    4 Mar 2007 16:47:59 -0000       1.4
+++ Makefile    10 Mar 2007 17:21:39 -0000      1.5
@@ -45,7 +45,13 @@
 
 dist: reftex.el
 
-reftex.el: $(LISPFILES)
+reftex.el: $(LISPFILES) reftex.el.in
+       REFTEXDATE=`sed -n '1s/^\([-0-9][-0-9]*\).*/\1/p' ../ChangeLog` ; \
+       test "X$${REFTEXDATE}" != X || \
+         { echo "Can't find date in ChangeLog" >&2 ; exit 1; }; \
+       REFTEXVERSION=`sed -n '2,/^[0-9]/s/.*Version \(.*\) released\..*/\1/p' 
../ChangeLog`; \
+       test "X$${REFTEXVERSION}" != X || REFTEXVERSION=$${REFTEXDATE}; \
+       sed -e "s/@REFTEXVERSION@/$${REFTEXVERSION}/" reftex.el.in >reftex.el
        emacs -batch --no-site-file -l reftex.el \
          -eval "(let ((generated-autoload-file (expand-file-name 
\"address@hidden"))) \
                    (mapcar (function update-file-autoloads) \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]