CVSROOT:        /sources/auctex
Module name:    reftex
Changes by:     Ralf Angeli <angeli>    07/03/04 16:47:59

Index: Makefile
===================================================================
RCS file: /sources/auctex/reftex/lisp/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- Makefile    3 Mar 2007 16:23:29 -0000       1.3
+++ Makefile    4 Mar 2007 16:47:59 -0000       1.4
@@ -23,22 +23,31 @@
 
 BATCH=$(EMACS) -batch -q -l lpath.el
 ELC=$(BATCH) -f batch-byte-compile
-LISPFILES=reftex-vars.el reftex.el reftex-auc.el reftex-cite.el\
-       reftex-global.el reftex-parse.el reftex-ref.el\
+LISPFILES=reftex-vars.el reftex-base.el reftex-auc.el \
+       reftex-cite.el reftex-global.el reftex-parse.el reftex-ref.el \
        reftex-sel.el reftex-toc.el reftex-dcr.el reftex-index.el
 ELCFILES=$(LISPFILES:.el=.elc)
 
-.PHONY: all lisp install clean
+.PHONY: all lisp install clean dist
 
 all: lisp
 
-lisp: $(LISPFILES)
+lisp: reftex.el $(LISPFILES)
        $(ELC) $(LISPFILES)
 
-install: $(LISPFILES) $(ELCFILES)
+install: reftex.el $(LISPFILES) $(ELCFILES)
        if [ ! -d $(lispdir) ]; then $(MKDIR) $(lispdir); else true; fi ;
-       $(CP) $(LISPFILES) $(lispdir)
+       $(CP) reftex.el $(LISPFILES) $(lispdir)
        $(CP) $(ELCFILES)  $(lispdir)
 
 clean:
        rm -f $(ELCFILES)
+
+dist: reftex.el
+
+reftex.el: $(LISPFILES)
+       emacs -batch --no-site-file -l reftex.el \
+         -eval "(let ((generated-autoload-file (expand-file-name \"[EMAIL 
PROTECTED]"))) \
+                   (mapcar (function update-file-autoloads) \
+                           command-line-args-left) \
+                   (save-buffers-kill-emacs t))" $(LISPFILES)


_______________________________________________
auctex-commit mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-commit

Reply via email to