diff options
| author | Glenn Morris | 2007-09-06 04:51:52 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-09-06 04:51:52 +0000 |
| commit | df42eec6350e20a3bb3f6bde27871ef6808507ea (patch) | |
| tree | ea6a240cc9703ff8d6f4a38fb91ffa1ac7583a9b | |
| parent | 8cf51b2c2f18417403f27fdc215f369af887d89b (diff) | |
| download | emacs-df42eec6350e20a3bb3f6bde27871ef6808507ea.tar.gz emacs-df42eec6350e20a3bb3f6bde27871ef6808507ea.zip | |
Move all targets that are not the Emacs manual to misc/Makefile.in.
(INFO_TARGETS, DVI_TARGETS): Reduce to just the Emacs manual.
(infodir): New variable.
(info): Use $infodir.
(emacsman): Delete target, not needed any more.
(mostlyclean): Remove `gnustmp'.
(INFOSOURCES): Delete.
(.SUFFIXES): Use $(TEXI2DVI) rather than texi2dvi.
(mostlyclean): Add *.op, *.ops. Move *.aux *.cps *.fns *.kys *.pgs
| -rw-r--r-- | doc/emacs/Makefile.in | 253 |
1 files changed, 22 insertions, 231 deletions
diff --git a/doc/emacs/Makefile.in b/doc/emacs/Makefile.in index 00088b74b51..f84c0866469 100644 --- a/doc/emacs/Makefile.in +++ b/doc/emacs/Makefile.in | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | #### Makefile for the Emacs Manual and other documentation. | 1 | #### Makefile for the Emacs Manual |
| 2 | 2 | ||
| 3 | # Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, | 3 | # Copyright (C) 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
| 4 | # 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | 4 | # 2004, 2005, 2006, 2007 Free Software Foundation, Inc. |
| @@ -29,38 +29,28 @@ top_srcdir=@top_srcdir@ | |||
| 29 | # Tell make where to find source files; this is needed for the makefiles. | 29 | # Tell make where to find source files; this is needed for the makefiles. |
| 30 | VPATH=@srcdir@ | 30 | VPATH=@srcdir@ |
| 31 | 31 | ||
| 32 | ## Where the output files go. | ||
| 33 | ## Note that the setfilename command in the .texi files assumes this. | ||
| 34 | infodir=../../info | ||
| 32 | 35 | ||
| 33 | # The makeinfo program is part of the Texinfo distribution. | 36 | # The makeinfo program is part of the Texinfo distribution. |
| 34 | # Use --force so that it generates output even if there are errors. | 37 | # Use --force so that it generates output even if there are errors. |
| 35 | MAKEINFO = makeinfo --force | 38 | MAKEINFO = makeinfo --force |
| 36 | INFO_TARGETS = ../info/emacs ../info/ccmode ../info/cl \ | 39 | |
| 37 | ../info/dired-x ../info/ediff ../info/forms ../info/gnus \ | 40 | INFO_TARGETS = $(infodir)/emacs |
| 38 | ../info/message ../info/sieve ../info/pgg ../info/emacs-mime \ | 41 | DVI_TARGETS = emacs.dvi |
| 39 | ../info/info ../info/mh-e ../info/reftex \ | 42 | |
| 40 | ../info/sc ../info/vip ../info/viper ../info/widget \ | 43 | |
| 41 | ../info/efaq ../info/ada-mode ../info/autotype ../info/calc \ | 44 | TEXI2DVI = texi2dvi |
| 42 | ../info/idlwave ../info/eudc ../info/ebrowse ../info/pcl-cvs \ | ||
| 43 | ../info/woman ../info/eshell ../info/org ../info/url \ | ||
| 44 | ../info/speedbar ../info/tramp ../info/ses ../info/smtpmail \ | ||
| 45 | ../info/flymake ../info/newsticker ../info/rcirc ../info/erc | ||
| 46 | DVI_TARGETS = emacs.dvi calc.dvi cc-mode.dvi cl.dvi dired-x.dvi \ | ||
| 47 | ediff.dvi forms.dvi gnus.dvi message.dvi emacs-mime.dvi \ | ||
| 48 | gnus.dvi message.dvi sieve.dvi pgg.dvi mh-e.dvi \ | ||
| 49 | reftex.dvi sc.dvi vip.dvi viper.dvi widget.dvi faq.dvi \ | ||
| 50 | ada-mode.dvi autotype.dvi idlwave.dvi eudc.dvi ebrowse.dvi \ | ||
| 51 | pcl-cvs.dvi woman.dvi eshell.dvi org.dvi url.dvi \ | ||
| 52 | speedbar.dvi tramp.dvi ses.dvi smtpmail.dvi flymake.dvi \ | ||
| 53 | newsticker.dvi emacs-xtra.dvi rcirc.dvi erc.dvi | ||
| 54 | INFOSOURCES = info.texi | ||
| 55 | 45 | ||
| 56 | # The following rule does not work with all versions of `make'. | 46 | # The following rule does not work with all versions of `make'. |
| 57 | .SUFFIXES: .texi .dvi | 47 | .SUFFIXES: .texi .dvi |
| 58 | .texi.dvi: | 48 | .texi.dvi: |
| 59 | texi2dvi $< | 49 | $(TEXI2DVI) $< |
| 60 | 50 | ||
| 61 | TEXI2DVI = texi2dvi | ||
| 62 | ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" | 51 | ENVADD = TEXINPUTS="$(srcdir):$(TEXINPUTS)" MAKEINFO="$(MAKEINFO) -I$(srcdir)" |
| 63 | 52 | ||
| 53 | |||
| 64 | EMACS_XTRA=\ | 54 | EMACS_XTRA=\ |
| 65 | $(srcdir)/arevert-xtra.texi \ | 55 | $(srcdir)/arevert-xtra.texi \ |
| 66 | $(srcdir)/cal-xtra.texi \ | 56 | $(srcdir)/cal-xtra.texi \ |
| @@ -120,9 +110,9 @@ EMACSSOURCES= \ | |||
| 120 | ${srcdir}/kmacro.texi \ | 110 | ${srcdir}/kmacro.texi \ |
| 121 | $(EMACS_XTRA) | 111 | $(EMACS_XTRA) |
| 122 | 112 | ||
| 123 | info: $(top_srcdir)/info $(INFO_TARGETS) | 113 | info: $(infodir) $(INFO_TARGETS) |
| 124 | 114 | ||
| 125 | $(top_srcdir)/info: | 115 | $(infodir): |
| 126 | mkdir $@ | 116 | mkdir $@ |
| 127 | 117 | ||
| 128 | dvi: $(DVI_TARGETS) | 118 | dvi: $(DVI_TARGETS) |
| @@ -132,232 +122,30 @@ dvi: $(DVI_TARGETS) | |||
| 132 | # to exist in the build directory. | 122 | # to exist in the build directory. |
| 133 | # In a distribution of Emacs, the Info files should be up to date. | 123 | # In a distribution of Emacs, the Info files should be up to date. |
| 134 | 124 | ||
| 135 | # The following target uses an explicit -o switch to work around | 125 | emacs : $(infodir)/emacs |
| 136 | # the @setfilename directive in info.texi, which is required for | ||
| 137 | # the Texinfo distribution. | ||
| 138 | 126 | ||
| 139 | ../info/info: ${INFOSOURCES} | 127 | $(infodir)/emacs: ${EMACSSOURCES} |
| 140 | cd $(srcdir); $(MAKEINFO) --no-split info.texi -o $@ | ||
| 141 | |||
| 142 | info.dvi: ${INFOSOURCES} | ||
| 143 | $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi | ||
| 144 | |||
| 145 | ../info/emacs: ${EMACSSOURCES} | ||
| 146 | cd $(srcdir); $(MAKEINFO) emacs.texi | 128 | cd $(srcdir); $(MAKEINFO) emacs.texi |
| 147 | 129 | ||
| 148 | emacs.dvi: ${EMACSSOURCES} | 130 | emacs.dvi: ${EMACSSOURCES} |
| 149 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi | 131 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs.texi |
| 150 | 132 | ||
| 151 | # This target is here so you could easily get the list of the *.texi | ||
| 152 | # files which belong to the Emacs manual (as opposed to the separate | ||
| 153 | # manuals for CL, CC Mode, Ebrowse, etc.). With this target, you can | ||
| 154 | # say things like "grep foo `make emacsman`". | ||
| 155 | emacsman: | ||
| 156 | @echo $(EMACSSOURCES) | ||
| 157 | |||
| 158 | ../info/ccmode: cc-mode.texi | ||
| 159 | cd $(srcdir); $(MAKEINFO) cc-mode.texi | ||
| 160 | cc-mode.dvi: cc-mode.texi | ||
| 161 | $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi | ||
| 162 | |||
| 163 | ../info/ada-mode: ada-mode.texi | ||
| 164 | cd $(srcdir); $(MAKEINFO) ada-mode.texi | ||
| 165 | ada-mode.dvi: ada-mode.texi | ||
| 166 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi | ||
| 167 | |||
| 168 | ../info/pcl-cvs: pcl-cvs.texi | ||
| 169 | cd $(srcdir); $(MAKEINFO) pcl-cvs.texi | ||
| 170 | pcl-cvs.dvi: pcl-cvs.texi | ||
| 171 | $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi | ||
| 172 | |||
| 173 | ../info/eshell: eshell.texi | ||
| 174 | cd $(srcdir); $(MAKEINFO) eshell.texi | ||
| 175 | eshell.dvi: eshell.texi | ||
| 176 | $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi | ||
| 177 | |||
| 178 | ../info/cl: cl.texi | ||
| 179 | cd $(srcdir); $(MAKEINFO) cl.texi | ||
| 180 | cl.dvi: cl.texi | ||
| 181 | $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi | ||
| 182 | |||
| 183 | ../info/dired-x: dired-x.texi | ||
| 184 | cd $(srcdir); $(MAKEINFO) dired-x.texi | ||
| 185 | dired-x.dvi: dired-x.texi | ||
| 186 | $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi | ||
| 187 | |||
| 188 | ../info/ediff: ediff.texi | ||
| 189 | cd $(srcdir); $(MAKEINFO) ediff.texi | ||
| 190 | ediff.dvi: ediff.texi | ||
| 191 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi | ||
| 192 | 133 | ||
| 193 | emacs-xtra.dvi: emacs-xtra.texi $(EMACS_XTRA) | 134 | emacs-xtra.dvi: emacs-xtra.texi $(EMACS_XTRA) |
| 194 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi | 135 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-xtra.texi |
| 195 | 136 | ||
| 196 | ../info/forms: forms.texi | ||
| 197 | cd $(srcdir); $(MAKEINFO) forms.texi | ||
| 198 | forms.dvi: forms.texi | ||
| 199 | $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi | ||
| 200 | |||
| 201 | # gnus/message/emacs-mime/sieve/pgg are part of Gnus: | ||
| 202 | ../info/gnus: gnus.texi gnus-faq.texi | ||
| 203 | cd $(srcdir); $(MAKEINFO) gnus.texi | ||
| 204 | gnus.dvi: gnus.texi gnus-faq.texi | ||
| 205 | sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi | ||
| 206 | $(ENVADD) $(TEXI2DVI) gnustmp.texi | ||
| 207 | cp gnustmp.dvi $*.dvi | ||
| 208 | rm gnustmp.* | ||
| 209 | |||
| 210 | ../info/message: message.texi | ||
| 211 | cd $(srcdir); $(MAKEINFO) message.texi | ||
| 212 | message.dvi: message.texi | ||
| 213 | $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi | ||
| 214 | |||
| 215 | ../info/sieve: sieve.texi | ||
| 216 | cd $(srcdir); $(MAKEINFO) sieve.texi | ||
| 217 | sieve.dvi: sieve.texi | ||
| 218 | $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi | ||
| 219 | |||
| 220 | ../info/emacs-mime: emacs-mime.texi | ||
| 221 | cd $(srcdir); $(MAKEINFO) --enable-encoding emacs-mime.texi | ||
| 222 | emacs-mime.dvi: emacs-mime.texi | ||
| 223 | $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi | ||
| 224 | |||
| 225 | ../info/pgg: pgg.texi | ||
| 226 | cd $(srcdir); $(MAKEINFO) pgg.texi | ||
| 227 | pgg.dvi: pgg.texi | ||
| 228 | $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi | ||
| 229 | |||
| 230 | ../info/mh-e: mh-e.texi | ||
| 231 | cd $(srcdir); $(MAKEINFO) mh-e.texi | ||
| 232 | mh-e.dvi: mh-e.texi | ||
| 233 | $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi | ||
| 234 | |||
| 235 | ../info/reftex: reftex.texi | ||
| 236 | cd $(srcdir); $(MAKEINFO) reftex.texi | ||
| 237 | reftex.dvi: reftex.texi | ||
| 238 | $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi | ||
| 239 | |||
| 240 | ../info/sc: sc.texi | ||
| 241 | cd $(srcdir); $(MAKEINFO) sc.texi | ||
| 242 | sc.dvi: sc.texi | ||
| 243 | $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi | ||
| 244 | |||
| 245 | ../info/vip: vip.texi | ||
| 246 | cd $(srcdir); $(MAKEINFO) vip.texi | ||
| 247 | vip.dvi: vip.texi | ||
| 248 | $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi | ||
| 249 | |||
| 250 | ../info/viper: viper.texi | ||
| 251 | cd $(srcdir); $(MAKEINFO) viper.texi | ||
| 252 | viper.dvi: viper.texi | ||
| 253 | $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi | ||
| 254 | |||
| 255 | ../info/widget: widget.texi | ||
| 256 | cd $(srcdir); $(MAKEINFO) widget.texi | ||
| 257 | widget.dvi: widget.texi | ||
| 258 | $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi | ||
| 259 | |||
| 260 | ../info/efaq: faq.texi | ||
| 261 | cd $(srcdir); $(MAKEINFO) faq.texi | ||
| 262 | faq.dvi: faq.texi | ||
| 263 | $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi | ||
| 264 | |||
| 265 | ../etc/GNU: gnu1.texi gnu.texi | ||
| 266 | cd $(srcdir) && makeinfo --no-headers -o ../etc/GNU gnu1.texi | ||
| 267 | |||
| 268 | ../info/autotype: autotype.texi | ||
| 269 | cd $(srcdir); $(MAKEINFO) autotype.texi | ||
| 270 | autotype.dvi: autotype.texi | ||
| 271 | $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi | ||
| 272 | |||
| 273 | ../info/calc: calc.texi | ||
| 274 | cd $(srcdir); $(MAKEINFO) calc.texi | ||
| 275 | |||
| 276 | calc.dvi: calc.texi | ||
| 277 | $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi | ||
| 278 | |||
| 279 | # This is produced with --no-split to avoid making files whose | ||
| 280 | # names clash on DOS 8+3 filesystems | ||
| 281 | ../info/idlwave: idlwave.texi | ||
| 282 | cd $(srcdir); $(MAKEINFO) --no-split idlwave.texi | ||
| 283 | idlwave.dvi: idlwave.texi | ||
| 284 | $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi | ||
| 285 | |||
| 286 | ../info/eudc: eudc.texi | ||
| 287 | cd $(srcdir); $(MAKEINFO) eudc.texi | ||
| 288 | eudc.dvi: eudc.texi | ||
| 289 | $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi | ||
| 290 | |||
| 291 | ../info/ebrowse: ebrowse.texi | ||
| 292 | cd $(srcdir); $(MAKEINFO) ebrowse.texi | ||
| 293 | ebrowse.dvi: ebrowse.texi | ||
| 294 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi | ||
| 295 | |||
| 296 | ../info/woman: woman.texi | ||
| 297 | cd $(srcdir); $(MAKEINFO) woman.texi | ||
| 298 | woman.dvi: woman.texi | ||
| 299 | $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi | ||
| 300 | |||
| 301 | ../info/org: org.texi | ||
| 302 | cd $(srcdir); $(MAKEINFO) org.texi | ||
| 303 | org.dvi: org.texi | ||
| 304 | $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi | ||
| 305 | |||
| 306 | ../info/url: url.texi | ||
| 307 | cd $(srcdir); $(MAKEINFO) url.texi | ||
| 308 | url.dvi: url.texi | ||
| 309 | $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi | ||
| 310 | |||
| 311 | ../info/speedbar: speedbar.texi | ||
| 312 | cd $(srcdir); $(MAKEINFO) speedbar.texi | ||
| 313 | speedbar.dvi: speedbar.texi | ||
| 314 | $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi | ||
| 315 | |||
| 316 | ../info/tramp: tramp.texi trampver.texi | ||
| 317 | cd $(srcdir); $(MAKEINFO) -D emacs tramp.texi | ||
| 318 | tramp.dvi: tramp.texi trampver.texi | ||
| 319 | $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi | ||
| 320 | |||
| 321 | ../info/ses: ses.texi | ||
| 322 | cd $(srcdir); $(MAKEINFO) ses.texi | ||
| 323 | ses.dvi: ses.texi | ||
| 324 | $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi | ||
| 325 | |||
| 326 | ../info/smtpmail: smtpmail.texi | ||
| 327 | cd $(srcdir); $(MAKEINFO) smtpmail.texi | ||
| 328 | smtpmail.dvi: smtpmail.texi | ||
| 329 | $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi | ||
| 330 | |||
| 331 | ../info/flymake: flymake.texi | ||
| 332 | cd $(srcdir); $(MAKEINFO) flymake.texi | ||
| 333 | flymake.dvi: flymake.texi | ||
| 334 | $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi | ||
| 335 | |||
| 336 | ../info/newsticker: newsticker.texi | ||
| 337 | cd $(srcdir); $(MAKEINFO) newsticker.texi | ||
| 338 | newsticker.dvi: newsticker.texi | ||
| 339 | $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi | ||
| 340 | |||
| 341 | ../info/rcirc: rcirc.texi | ||
| 342 | cd $(srcdir); $(MAKEINFO) rcirc.texi | ||
| 343 | rcirc.dvi: rcirc.texi | ||
| 344 | $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi | ||
| 345 | |||
| 346 | ../info/erc: erc.texi | ||
| 347 | cd $(srcdir); $(MAKEINFO) erc.texi | ||
| 348 | erc.dvi: erc.texi | ||
| 349 | $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi | ||
| 350 | 137 | ||
| 351 | mostlyclean: | 138 | mostlyclean: |
| 352 | rm -f *.log *.cp *.fn *.ky *.pg *.vr core *.tp *.core gnustmp.* | 139 | rm -f *.log *.cp *.fn *.ky *.op *.ops *.pg *.vr core *.tp *.core |
| 140 | rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc | ||
| 353 | 141 | ||
| 354 | clean: mostlyclean | 142 | clean: mostlyclean |
| 355 | rm -f *.dvi | 143 | rm -f *.dvi |
| 356 | 144 | ||
| 357 | distclean: clean | 145 | distclean: clean |
| 146 | # rm -f Makefile | ||
| 358 | 147 | ||
| 359 | maintainer-clean: distclean | 148 | maintainer-clean: distclean |
| 360 | rm -f *.aux *.cps *.fns *.kys *.pgs *.vrs *.toc | ||
| 361 | for file in $(INFO_TARGETS); do rm -f $${file}*; done | 149 | for file in $(INFO_TARGETS); do rm -f $${file}*; done |
| 362 | 150 | ||
| 363 | 151 | ||
| @@ -366,3 +154,6 @@ maintainer-clean: distclean | |||
| 366 | # That caused trouble because this is run entirely in the source directory. | 154 | # That caused trouble because this is run entirely in the source directory. |
| 367 | # Since we expect to get texi2dvi from elsewhere, | 155 | # Since we expect to get texi2dvi from elsewhere, |
| 368 | # it is ok to expect texindex from elsewhere also. | 156 | # it is ok to expect texindex from elsewhere also. |
| 157 | |||
| 158 | |||
| 159 | ### Makefile ends here | ||