annotate lisp/auctex/Makefile @ 69:804d1389bcd6

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