annotate lisp/auctex/Makefile @ 102:a145efe76779 r20-1b3

Import from CVS: tag r20-1b3
author cvs
date Mon, 13 Aug 2007 09:15:49 +0200
parents 4be1180a9e89
children 360340f9fd5f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
1 # Makefile - for the AUC TeX distribution.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
2 #
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
3 # Maintainer: Per Abrahamsen <auc-tex@sunsite.auc.dk>
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
4 # Version: 9.7k
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
5 #
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
6 # Edit the makefile, type `make', and follow the instructions.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
7
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
8 ##----------------------------------------------------------------------
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
9 ## YOU MUST EDIT THE FOLLOWING LINES
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
10 ##----------------------------------------------------------------------
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
11
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
12 # Where local software is found
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
13 prefix=/usr/local
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
14
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
15 # Where info files go.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
16 infodir = $(prefix)/info
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
17
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
18 # Where local lisp files go.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
19 lispdir = $(prefix)/share/emacs/site-lisp
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
20
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
21 # Where the AUC TeX emacs lisp files go.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
22 aucdir=$(lispdir)/auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
23
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
24 # Name of your emacs binary
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
25 EMACS=emacs
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
26
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
27 ##----------------------------------------------------------------------
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
28 ## YOU MAY NEED TO EDIT THESE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
29 ##----------------------------------------------------------------------
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
30
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
31 # Do not change the definition of autodir below, unless you also
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
32 # update TeX-auto-global in tex-init.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
33
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
34 # Where the automatically generated lisp files for your site go.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
35 autodir=$(aucdir)/auto
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
36
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
37 # Using emacs in batch mode.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
38 BATCH=$(EMACS) -batch -q -l lpath.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
39
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
40 # Specify the byte-compiler for compiling AUC TeX files
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
41 ELC= $(BATCH) -f batch-byte-compile
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
42
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
43 # Specify the byte-compiler for generating style files
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
44 AUTO= $(EMACS) -batch -l $(aucdir)/tex.elc \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
45 -l $(aucdir)/latex.elc -f TeX-auto-generate-global
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
46
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
47 # Specify the byte-compiler for compiling generated style files
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
48 AUTOC= $(ELC)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
49
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
50 # How to move the byte compiled files to their destination.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
51 MV = mv
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
52
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
53 # How to copy the lisp files to their distination.
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
54 CP = cp -p
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
55
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
56 ##----------------------------------------------------------------------
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
57 ## BELOW THIS LINE ON YOUR OWN RISK!
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
58 ##----------------------------------------------------------------------
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
59
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
60 SHELL = /bin/sh
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
61
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
62 FTPDIR = /home/ftp/pub/Staff/Per.Abrahamsen/auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
63 #FTPDIR = /home/ftp/pub/Staff/Per.Abrahamsen/mirror/ftp/auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
64
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
65 WWWDIR = $(HOME)/.public_html/auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
66 #WWWDIR = /home/ftp/pub/Staff/Per.Abrahamsen/mirror/www/auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
67
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
68 REMOVE = ltx-help.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
69
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
70 MINMAPSRC = auc-menu.el maniac.el outln-18.el all.el multi-prompt.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
71
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
72 CONTRIB = bib-cite.el tex-jp.el font-latex.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
73 CONTRIBELC = bib-cite.elc font-latex.elc
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
74
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
75 AUCSRC = auc-old.el tex.el tex-buf.el latex.el tex-info.el multi-prompt.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
76 AUCELC = auc-old.elc tex.elc tex-buf.elc latex.elc tex-info.elc \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
77 multi-prompt.elc
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
78
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
79
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
80 STYLESRC = style/slides.el style/foils.el style/amstex.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
81 style/article.el style/book.el style/letter.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
82 style/report.el style/amsart.el style/amsbook.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
83 style/epsf.el style/psfig.el style/latexinfo.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
84 style/dutch.el style/german.el style/dk.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
85 style/j-article.el style/j-book.el style/j-report.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
86 style/jarticle.el style/jbook.el style/jreport.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
87 style/dinbrief.el style/virtex.el style/plfonts.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
88 style/plhb.el style/harvard.el style/swedish.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
89
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
90 DOCFILES = doc/Makefile doc/auc-tex.texi doc/intro.texi doc/install.texi \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
91 doc/changes.texi doc/tex-ref.tex doc/math-ref.tex doc/history.texi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
92
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
93 EXTRAFILES = COPYING PROBLEMS MSDOS VMS OS2 WIN-NT Makefile ChangeLog \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
94 lpath.el tex-site.el $(CONTRIB)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
95
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
96 all: lisp
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
97
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
98 lisp:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
99 $(ELC) $(AUCSRC) $(STYLESRC) $(CONTRIB)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
100
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
101 some: $(AUCELC) style/*.elc
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
102
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
103 install: install-lisp
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
104
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
105 contrib:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
106 $(ELC) bib-cite.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
107 $(ELC) font-latex.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
108 # $(ELC) tex-jp.el # Doesn't compile without MULE
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
109 # $(ELC) hilit-LaTeX.el # Doesn't compile without X
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
110
102
a145efe76779 Import from CVS: tag r20-1b3
cvs
parents: 100
diff changeset
111 install-lisp: some
100
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
112 if [ ! -d $(lispdir) ]; then mkdir $(lispdir); else true; fi ;
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
113 if [ -f $(lispdir)/tex-site.el ]; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
114 then \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
115 echo "Leaving old tex-site.el alone."; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
116 else \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
117 sed -e 's#@AUCDIR#$(aucdir)/#' tex-site.el \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
118 > $(lispdir)/tex-site.el ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
119 fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
120 if [ ! -d $(aucdir) ]; then mkdir $(aucdir); else true; fi ;
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
121 if [ `/bin/pwd` != `(cd $(aucdir) && /bin/pwd)` ] ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
122 then \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
123 if [ ! -d $(aucdir)/style ]; then mkdir $(aucdir)/style; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
124 else true; fi ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
125 $(MV) $(AUCELC) $(aucdir) ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
126 $(MV) style/*.elc $(aucdir)/style ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
127 $(CP) $(AUCSRC) $(aucdir) ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
128 $(CP) style/*.el $(aucdir)/style ; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
129 else \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
130 echo "Leaving compiled files in place."; \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
131 fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
132
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
133 install-contrib:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
134 $(MV) $(CONTRIBELC) $(aucdir)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
135 $(MV) bib-cite.elc $(aucdir)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
136 $(MV) font-latex.elc $(aucdir)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
137 $(CP) $(CONTRIB) $(aucdir)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
138
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
139 install-info:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
140 -(cd doc; $(MAKE) install infodir=$(infodir))
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
141
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
142
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
143 install-auto:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
144 @echo "Use \"M-x TeX-auto-generate-global RET\" instead."
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
145
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
146
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
147 .el.elc:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
148 $(ELC) $<
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
149
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
150 clean:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
151 rm -rf *~ #*# lex.yy.c idetex auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
152 (cd doc; $(MAKE) clean)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
153
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
154 wc:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
155 wc $(AUCSRC) $(STYLESRC)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
156
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
157 dist:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
158 @if [ "X$(TAG)" = "X" ]; then echo "*** No tag ***"; exit 1; fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
159 if [ "X$(OLD)" = "X" ]; then echo "No patch"; exit 1; fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
160 @echo "**********************************************************"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
161 @echo "** Making distribution of auctex for release $(TAG)"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
162 @echo "**********************************************************"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
163 if [ -d auctex-$(TAG) ]; then rm -r auctex-$(TAG) ; fi
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
164 rm -f $(WWWDIR)/version
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
165 echo $(TAG) > $(WWWDIR)/version
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
166 perl -pi.bak -e "s/Version: $(OLD)/Version: $(TAG)/" \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
167 $(AUCSRC) $(EXTRAFILES)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
168 mv ChangeLog ChangeLog.old
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
169 echo `date "+%a %b %d %T %Y "` \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
170 " Per Abrahamsen <abraham@dina.kvl.dk>" > ChangeLog
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
171 echo >> ChangeLog
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
172 echo " * Version" $(TAG) released. >> ChangeLog
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
173 echo >> ChangeLog
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
174 cat ChangeLog.old >> ChangeLog
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
175 cvs commit -m "Release $(OLD)++" tex.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
176 rm -f tex.el.orig
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
177 mv tex.el tex.el.orig
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
178 sed -e '/defconst AUC-TeX-date/s/"[^"]*"/"'"`date`"'"/' \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
179 -e '/defconst AUC-TeX-version/s/"[^"]*"/"'$(TAG)'"/' \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
180 < tex.el.orig > tex.el
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
181 rm -f $(REMOVE)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
182 -cvs remove $(REMOVE)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
183 -cvs add $(AUCSRC) $(EXTRAFILES)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
184 -(cd doc; cvs add `echo $(DOCFILES) | sed -e s@doc/@@g` )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
185 -(cd style; cvs add `echo $(STYLESRC) | sed -e s@style/@@g` )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
186 cvs commit -m "Release $(TAG)"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
187 cvs tag release_`echo $(TAG) | sed -e 's/[.]/_/g'`
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
188 mkdir auctex-$(TAG)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
189 mkdir auctex-$(TAG)/style
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
190 mkdir auctex-$(TAG)/doc
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
191 cp $(AUCSRC) $(EXTRAFILES) auctex-$(TAG)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
192 cp $(STYLESRC) auctex-$(TAG)/style
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
193 cp $(DOCFILES) auctex-$(TAG)/doc
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
194 (cd doc; $(MAKE) dist; cp auctex auctex-* ../auctex-$(TAG)/doc )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
195 (cd doc; cp INSTALLATION README CHANGES ../auctex-$(TAG)/ )
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
196 cp doc/CHANGES $(FTPDIR)/CHANGES-$(TAG)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
197 cp doc/auc-tex.ps $(FTPDIR)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
198 cp ChangeLog $(FTPDIR)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
199 cp doc/*.html $(WWWDIR)/doc
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
200 rm -f $(FTPDIR)/auctex-$(TAG).tar.gz $(FTPDIR)/auctex.tar.gz
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
201 rm -f $(FTPDIR)/auctex.tar.Z $(FTPDIR)/auctex.zip
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
202 tar -cf - auctex-$(TAG) | gzip --best > $(FTPDIR)/auctex-$(TAG).tar.gz
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
203 tar -cf - auctex-$(TAG) | compress > $(FTPDIR)/auctex.tar.Z
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
204 zip -r $(FTPDIR)/auctex auctex-$(TAG)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
205 (cd $(FTPDIR); ln -s auctex-$(TAG).tar.gz auctex.tar.gz)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
206 cvs rdiff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
207 -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
208 > $(FTPDIR)/auctex-$(OLD)-to-$(TAG).patch ; exit 0
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
209
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
210 patch:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
211 cvs rdiff -r release_`echo $(OLD) | sed -e 's/[.]/_/g'` \
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
212 -r release_`echo $(TAG) | sed -e 's/[.]/_/g'` auctex
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
213
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
214 min-map:
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
215 -cvs add $(MINMAPSRC)
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
216 cvs commit -m "Update"
4be1180a9e89 Import from CVS: tag r20-1b2
cvs
parents:
diff changeset
217 cp $(MINMAPSRC) doc/math-ref.tex $(FTPDIR)