Makefile.in 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725
  1. #### Makefile for documentation other than the Emacs manual.
  2. # Copyright (C) 1994, 1996-2012 Free Software Foundation, Inc.
  3. # This file is part of GNU Emacs.
  4. # GNU Emacs is free software: you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation, either version 3 of the License, or
  7. # (at your option) any later version.
  8. # GNU Emacs is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. # You should have received a copy of the GNU General Public License
  13. # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
  14. SHELL = /bin/sh
  15. # Where to find the source code. $(srcdir) will be the man-aux
  16. # subdirectory of the source tree. This is
  17. # set by the configure script's `--srcdir' option.
  18. srcdir=@srcdir@
  19. # Tell make where to find source files; this is needed for the makefiles.
  20. # Note the other doc Makefiles do not use VPATH anymore, instead
  21. # they set buildinfodir to an absolute path. Not doing that here in
  22. # case INFO_TARGETS gets too long for some feeble shells.
  23. # (cf src/Makefile.in's passing of $lisp to make-docfile)
  24. VPATH=@srcdir@
  25. ## Where the output files go.
  26. ## Note that the setfilename command in the .texi files assumes this.
  27. buildinfodir=../../info
  28. ## Directory with emacsver.texi.
  29. ## Currently only used by efaq and calc.
  30. emacsdir = $(srcdir)/../emacs
  31. # The makeinfo program is part of the Texinfo distribution.
  32. # Use --force so that it generates output even if there are errors.
  33. MAKEINFO = @MAKEINFO@
  34. MAKEINFO_OPTS = --force -I$(emacsdir)
  35. # Also add new entries to INFO_FILES in the top-level Makefile.in.
  36. INFO_TARGETS = \
  37. $(buildinfodir)/ada-mode \
  38. $(buildinfodir)/auth \
  39. $(buildinfodir)/autotype \
  40. $(buildinfodir)/calc \
  41. $(buildinfodir)/ccmode \
  42. $(buildinfodir)/cl \
  43. $(buildinfodir)/dbus \
  44. $(buildinfodir)/dired-x \
  45. $(buildinfodir)/ebrowse \
  46. $(buildinfodir)/ede \
  47. $(buildinfodir)/ediff \
  48. $(buildinfodir)/edt \
  49. $(buildinfodir)/eieio \
  50. $(buildinfodir)/emacs-mime \
  51. $(buildinfodir)/epa \
  52. $(buildinfodir)/erc \
  53. $(buildinfodir)/ert \
  54. $(buildinfodir)/eshell \
  55. $(buildinfodir)/eudc \
  56. $(buildinfodir)/efaq \
  57. $(buildinfodir)/flymake \
  58. $(buildinfodir)/forms \
  59. $(buildinfodir)/gnus \
  60. $(buildinfodir)/emacs-gnutls \
  61. $(buildinfodir)/idlwave \
  62. $(buildinfodir)/info \
  63. $(buildinfodir)/mairix-el \
  64. $(buildinfodir)/message \
  65. $(buildinfodir)/mh-e \
  66. $(buildinfodir)/newsticker \
  67. $(buildinfodir)/nxml-mode \
  68. $(buildinfodir)/org \
  69. $(buildinfodir)/pcl-cvs \
  70. $(buildinfodir)/pgg \
  71. $(buildinfodir)/rcirc \
  72. $(buildinfodir)/remember \
  73. $(buildinfodir)/reftex \
  74. $(buildinfodir)/sasl \
  75. $(buildinfodir)/sc \
  76. $(buildinfodir)/semantic \
  77. $(buildinfodir)/ses \
  78. $(buildinfodir)/sieve \
  79. $(buildinfodir)/smtpmail \
  80. $(buildinfodir)/speedbar \
  81. $(buildinfodir)/tramp \
  82. $(buildinfodir)/url \
  83. $(buildinfodir)/vip \
  84. $(buildinfodir)/viper \
  85. $(buildinfodir)/widget \
  86. $(buildinfodir)/woman
  87. DVI_TARGETS = \
  88. ada-mode.dvi \
  89. auth.dvi \
  90. autotype.dvi \
  91. calc.dvi \
  92. cc-mode.dvi \
  93. cl.dvi \
  94. dbus.dvi \
  95. dired-x.dvi \
  96. ebrowse.dvi \
  97. ede.dvi \
  98. ediff.dvi \
  99. edt.dvi \
  100. eieio.dvi \
  101. emacs-mime.dvi \
  102. epa.dvi \
  103. erc.dvi \
  104. ert.dvi \
  105. eshell.dvi \
  106. eudc.dvi \
  107. faq.dvi \
  108. flymake.dvi \
  109. forms.dvi \
  110. gnus.dvi \
  111. emacs-gnutls.dvi \
  112. idlwave.dvi \
  113. info.dvi \
  114. mairix-el.dvi \
  115. message.dvi \
  116. mh-e.dvi \
  117. newsticker.dvi \
  118. nxml-mode.dvi \
  119. org.dvi \
  120. pcl-cvs.dvi \
  121. pgg.dvi \
  122. rcirc.dvi \
  123. reftex.dvi \
  124. remember.dvi \
  125. sasl.dvi \
  126. sc.dvi \
  127. semantic.dvi \
  128. ses.dvi \
  129. sieve.dvi \
  130. smtpmail.dvi \
  131. speedbar.dvi \
  132. tramp.dvi \
  133. url.dvi \
  134. vip.dvi \
  135. viper.dvi \
  136. widget.dvi \
  137. woman.dvi
  138. PDF_TARGETS = \
  139. ada-mode.pdf \
  140. auth.pdf \
  141. autotype.pdf \
  142. calc.pdf \
  143. cc-mode.pdf \
  144. cl.pdf \
  145. dbus.pdf \
  146. dired-x.pdf \
  147. ebrowse.pdf \
  148. ede.pdf \
  149. ediff.pdf \
  150. edt.pdf \
  151. eieio.pdf \
  152. emacs-mime.pdf \
  153. epa.pdf \
  154. erc.pdf \
  155. ert.pdf \
  156. eshell.pdf \
  157. eudc.pdf \
  158. faq.pdf \
  159. flymake.pdf \
  160. forms.pdf \
  161. gnus.pdf \
  162. emacs-gnutls.pdf \
  163. idlwave.pdf \
  164. info.pdf \
  165. mairix-el.pdf \
  166. message.pdf \
  167. mh-e.pdf \
  168. newsticker.pdf \
  169. nxml-mode.pdf \
  170. org.pdf \
  171. pcl-cvs.pdf \
  172. pgg.pdf \
  173. rcirc.pdf \
  174. reftex.pdf \
  175. remember.pdf \
  176. sasl.pdf \
  177. sc.pdf \
  178. semantic.pdf \
  179. ses.pdf \
  180. sieve.pdf \
  181. smtpmail.pdf \
  182. speedbar.pdf \
  183. tramp.pdf \
  184. url.pdf \
  185. vip.pdf \
  186. viper.pdf \
  187. widget.pdf \
  188. woman.pdf
  189. HTML_TARGETS = emacs-faq.html
  190. TEXI2DVI = texi2dvi
  191. TEXI2PDF = texi2pdf
  192. ENVADD = TEXINPUTS="$(srcdir):$(emacsdir):$(TEXINPUTS)" \
  193. MAKEINFO="$(MAKEINFO) $(MAKEINFO_OPTS)"
  194. mkinfodir = @cd ${srcdir}; test -d ${buildinfodir} || mkdir ${buildinfodir} || test -d ${buildinfodir}
  195. .PHONY: info dvi pdf
  196. info: $(INFO_TARGETS)
  197. # please modify this for all the web manual targets
  198. webhack: clean
  199. $(MAKE) pdf MAKEINFO_OPTS="-DWEBHACKDEVEL $(MAKEINFO_OPTS)"
  200. dvi: $(DVI_TARGETS)
  201. pdf: $(PDF_TARGETS)
  202. # Note that all the Info targets build the Info files
  203. # in srcdir. There is no provision for Info files
  204. # to exist in the build directory.
  205. # In a distribution of Emacs, the Info files should be up to date.
  206. # Note: "<" is not portable in ordinary make rules.
  207. ## "short" target names for convenience, to just rebuild one manual.
  208. ada-mode : $(buildinfodir)/ada-mode
  209. $(buildinfodir)/ada-mode: ada-mode.texi
  210. $(mkinfodir)
  211. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ada-mode.texi
  212. ada-mode.dvi: ${srcdir}/ada-mode.texi
  213. $(ENVADD) $(TEXI2DVI) ${srcdir}/ada-mode.texi
  214. ada-mode.pdf: ${srcdir}/ada-mode.texi
  215. $(ENVADD) $(TEXI2PDF) ${srcdir}/ada-mode.texi
  216. auth : $(buildinfodir)/auth
  217. $(buildinfodir)/auth: auth.texi
  218. $(mkinfodir)
  219. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) auth.texi
  220. auth.dvi: ${srcdir}/auth.texi
  221. $(ENVADD) $(TEXI2DVI) ${srcdir}/auth.texi
  222. auth.pdf: ${srcdir}/auth.texi
  223. $(ENVADD) $(TEXI2PDF) ${srcdir}/auth.texi
  224. autotype : $(buildinfodir)/autotype
  225. $(buildinfodir)/autotype: autotype.texi
  226. $(mkinfodir)
  227. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) autotype.texi
  228. autotype.dvi: ${srcdir}/autotype.texi
  229. $(ENVADD) $(TEXI2DVI) ${srcdir}/autotype.texi
  230. autotype.pdf: ${srcdir}/autotype.texi
  231. $(ENVADD) $(TEXI2PDF) ${srcdir}/autotype.texi
  232. calc : $(buildinfodir)/calc
  233. $(buildinfodir)/calc: calc.texi $(emacsdir)/emacsver.texi
  234. $(mkinfodir)
  235. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) calc.texi
  236. calc.dvi: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
  237. $(ENVADD) $(TEXI2DVI) ${srcdir}/calc.texi
  238. calc.pdf: ${srcdir}/calc.texi $(emacsdir)/emacsver.texi
  239. $(ENVADD) $(TEXI2PDF) ${srcdir}/calc.texi
  240. ccmode : $(buildinfodir)/ccmode
  241. $(buildinfodir)/ccmode: cc-mode.texi
  242. $(mkinfodir)
  243. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) cc-mode.texi
  244. cc-mode.dvi: ${srcdir}/cc-mode.texi
  245. $(ENVADD) $(TEXI2DVI) ${srcdir}/cc-mode.texi
  246. cc-mode.pdf: ${srcdir}/cc-mode.texi
  247. $(ENVADD) $(TEXI2PDF) ${srcdir}/cc-mode.texi
  248. cl : $(buildinfodir)/cl
  249. $(buildinfodir)/cl: cl.texi
  250. $(mkinfodir)
  251. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) cl.texi
  252. cl.dvi: ${srcdir}/cl.texi
  253. $(ENVADD) $(TEXI2DVI) ${srcdir}/cl.texi
  254. cl.pdf: ${srcdir}/cl.texi
  255. $(ENVADD) $(TEXI2PDF) ${srcdir}/cl.texi
  256. dbus : $(buildinfodir)/dbus
  257. $(buildinfodir)/dbus: dbus.texi
  258. $(mkinfodir)
  259. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) dbus.texi
  260. dbus.dvi: ${srcdir}/dbus.texi
  261. $(ENVADD) $(TEXI2DVI) ${srcdir}/dbus.texi
  262. dbus.pdf: ${srcdir}/dbus.texi
  263. $(ENVADD) $(TEXI2PDF) ${srcdir}/dbus.texi
  264. dired-x : $(buildinfodir)/dired-x
  265. $(buildinfodir)/dired-x: dired-x.texi $(emacsdir)/emacsver.texi
  266. $(mkinfodir)
  267. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) dired-x.texi
  268. dired-x.dvi: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
  269. $(ENVADD) $(TEXI2DVI) ${srcdir}/dired-x.texi
  270. dired-x.pdf: ${srcdir}/dired-x.texi $(emacsdir)/emacsver.texi
  271. $(ENVADD) $(TEXI2PDF) ${srcdir}/dired-x.texi
  272. ebrowse : $(buildinfodir)/ebrowse
  273. $(buildinfodir)/ebrowse: ebrowse.texi
  274. $(mkinfodir)
  275. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ebrowse.texi
  276. ebrowse.dvi: ${srcdir}/ebrowse.texi
  277. $(ENVADD) $(TEXI2DVI) ${srcdir}/ebrowse.texi
  278. ebrowse.pdf: ${srcdir}/ebrowse.texi
  279. $(ENVADD) $(TEXI2PDF) ${srcdir}/ebrowse.texi
  280. ede : $(buildinfodir)/ede
  281. $(buildinfodir)/ede: ede.texi
  282. $(mkinfodir)
  283. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ede.texi
  284. ede.dvi: ${srcdir}/ede.texi
  285. $(ENVADD) $(TEXI2DVI) ${srcdir}/ede.texi
  286. ede.pdf: ${srcdir}/ede.texi
  287. $(ENVADD) $(TEXI2PDF) ${srcdir}/ede.texi
  288. ediff : $(buildinfodir)/ediff
  289. $(buildinfodir)/ediff: ediff.texi
  290. $(mkinfodir)
  291. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ediff.texi
  292. ediff.dvi: ${srcdir}/ediff.texi
  293. $(ENVADD) $(TEXI2DVI) ${srcdir}/ediff.texi
  294. ediff.pdf: ${srcdir}/ediff.texi
  295. $(ENVADD) $(TEXI2PDF) ${srcdir}/ediff.texi
  296. edt : $(buildinfodir)/edt
  297. $(buildinfodir)/edt: edt.texi
  298. $(mkinfodir)
  299. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) edt.texi
  300. edt.dvi: ${srcdir}/edt.texi
  301. $(ENVADD) $(TEXI2DVI) ${srcdir}/edt.texi
  302. edt.pdf: ${srcdir}/edt.texi
  303. $(ENVADD) $(TEXI2PDF) ${srcdir}/edt.texi
  304. eieio : $(buildinfodir)/eieio
  305. $(buildinfodir)/eieio: eieio.texi
  306. $(mkinfodir)
  307. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eieio.texi
  308. eieio.dvi: ${srcdir}/eieio.texi
  309. $(ENVADD) $(TEXI2DVI) ${srcdir}/eieio.texi
  310. eieio.pdf: ${srcdir}/eieio.texi
  311. $(ENVADD) $(TEXI2PDF) ${srcdir}/eieio.texi
  312. emacs-gnutls : $(buildinfodir)/emacs-gnutls
  313. $(buildinfodir)/emacs-gnutls: emacs-gnutls.texi
  314. $(mkinfodir)
  315. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) emacs-gnutls.texi
  316. emacs-gnutls.dvi: ${srcdir}/emacs-gnutls.texi
  317. $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-gnutls.texi
  318. emacs-gnutls.pdf: ${srcdir}/emacs-gnutls.texi
  319. $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-gnutls.texi
  320. emacs-mime : $(buildinfodir)/emacs-mime
  321. $(buildinfodir)/emacs-mime: emacs-mime.texi
  322. $(mkinfodir)
  323. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --enable-encoding emacs-mime.texi
  324. emacs-mime.dvi: ${srcdir}/emacs-mime.texi
  325. $(ENVADD) $(TEXI2DVI) ${srcdir}/emacs-mime.texi
  326. emacs-mime.pdf: ${srcdir}/emacs-mime.texi
  327. $(ENVADD) $(TEXI2PDF) ${srcdir}/emacs-mime.texi
  328. epa : $(buildinfodir)/epa
  329. $(buildinfodir)/epa: epa.texi
  330. $(mkinfodir)
  331. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) epa.texi
  332. epa.dvi: ${srcdir}/epa.texi
  333. $(ENVADD) $(TEXI2DVI) ${srcdir}/epa.texi
  334. epa.pdf: ${srcdir}/epa.texi
  335. $(ENVADD) $(TEXI2PDF) ${srcdir}/epa.texi
  336. erc : $(buildinfodir)/erc
  337. $(buildinfodir)/erc: erc.texi
  338. $(mkinfodir)
  339. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) erc.texi
  340. erc.dvi: ${srcdir}/erc.texi
  341. $(ENVADD) $(TEXI2DVI) ${srcdir}/erc.texi
  342. erc.pdf: ${srcdir}/erc.texi
  343. $(ENVADD) $(TEXI2PDF) ${srcdir}/erc.texi
  344. ert : $(buildinfodir)/ert
  345. $(buildinfodir)/ert: ert.texi
  346. $(mkinfodir)
  347. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ert.texi
  348. ert.dvi: ${srcdir}/ert.texi
  349. $(ENVADD) $(TEXI2DVI) ${srcdir}/ert.texi
  350. ert.pdf: ${srcdir}/ert.texi
  351. $(ENVADD) $(TEXI2PDF) ${srcdir}/ert.texi
  352. eshell : $(buildinfodir)/eshell
  353. $(buildinfodir)/eshell: eshell.texi
  354. $(mkinfodir)
  355. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eshell.texi
  356. eshell.dvi: ${srcdir}/eshell.texi
  357. $(ENVADD) $(TEXI2DVI) ${srcdir}/eshell.texi
  358. eshell.pdf: ${srcdir}/eshell.texi
  359. $(ENVADD) $(TEXI2PDF) ${srcdir}/eshell.texi
  360. eudc : $(buildinfodir)/eudc
  361. $(buildinfodir)/eudc: eudc.texi
  362. $(mkinfodir)
  363. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) eudc.texi
  364. eudc.dvi: ${srcdir}/eudc.texi
  365. $(ENVADD) $(TEXI2DVI) ${srcdir}/eudc.texi
  366. eudc.pdf: ${srcdir}/eudc.texi
  367. $(ENVADD) $(TEXI2PDF) ${srcdir}/eudc.texi
  368. efaq : $(buildinfodir)/efaq
  369. $(buildinfodir)/efaq: faq.texi $(emacsdir)/emacsver.texi
  370. $(mkinfodir)
  371. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) faq.texi
  372. faq.dvi: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
  373. $(ENVADD) $(TEXI2DVI) ${srcdir}/faq.texi
  374. faq.pdf: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
  375. $(ENVADD) $(TEXI2PDF) ${srcdir}/faq.texi
  376. ## This is the name used on the Emacs web-page.
  377. ## sed fixes up links to point to split version of the manual.
  378. emacs-faq.html: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
  379. $(MAKEINFO) $(MAKEINFO_OPTS) --no-split \
  380. --css-ref='/layout.css' --html -o $@ ${srcdir}/faq.texi
  381. sed -i -e 's|a href="\([a-z]*\)\.html#\([^"]*\)"|a href="manual/html_node/\1/\2.html"|g' \
  382. -e 's|/Top\.html|/|g' $@
  383. emacs-faq.text: ${srcdir}/faq.texi $(emacsdir)/emacsver.texi
  384. $(MAKEINFO) $(MAKEINFO_OPTS) --plaintext -o $@ ${srcdir}/faq.texi
  385. flymake : $(buildinfodir)/flymake
  386. $(buildinfodir)/flymake: flymake.texi
  387. $(mkinfodir)
  388. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) flymake.texi
  389. flymake.dvi: ${srcdir}/flymake.texi
  390. $(ENVADD) $(TEXI2DVI) ${srcdir}/flymake.texi
  391. flymake.pdf: ${srcdir}/flymake.texi
  392. $(ENVADD) $(TEXI2PDF) ${srcdir}/flymake.texi
  393. forms : $(buildinfodir)/forms
  394. $(buildinfodir)/forms: forms.texi
  395. $(mkinfodir)
  396. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) forms.texi
  397. forms.dvi: ${srcdir}/forms.texi
  398. $(ENVADD) $(TEXI2DVI) ${srcdir}/forms.texi
  399. forms.pdf: ${srcdir}/forms.texi
  400. $(ENVADD) $(TEXI2PDF) ${srcdir}/forms.texi
  401. # gnus/message/emacs-mime/sieve/pgg are part of Gnus:
  402. gnus : $(buildinfodir)/gnus
  403. $(buildinfodir)/gnus: gnus.texi gnus-faq.texi
  404. $(mkinfodir)
  405. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) gnus.texi
  406. gnus.dvi: ${srcdir}/gnus.texi gnus-faq.texi
  407. sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
  408. $(ENVADD) $(TEXI2DVI) gnustmp.texi
  409. cp gnustmp.dvi $@
  410. rm gnustmp.*
  411. gnus.pdf: ${srcdir}/gnus.texi gnus-faq.texi
  412. sed -e '/@iflatex/,/@end iflatex/d' ${srcdir}/gnus.texi > gnustmp.texi
  413. $(ENVADD) $(TEXI2PDF) gnustmp.texi
  414. cp gnustmp.pdf $@
  415. rm gnustmp.*
  416. # This is produced with --no-split to avoid making files whose
  417. # names clash on DOS 8+3 filesystems
  418. idlwave : $(buildinfodir)/idlwave
  419. $(buildinfodir)/idlwave: idlwave.texi
  420. $(mkinfodir)
  421. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split idlwave.texi
  422. idlwave.dvi: ${srcdir}/idlwave.texi
  423. $(ENVADD) $(TEXI2DVI) ${srcdir}/idlwave.texi
  424. idlwave.pdf: ${srcdir}/idlwave.texi
  425. $(ENVADD) $(TEXI2PDF) ${srcdir}/idlwave.texi
  426. # The following target uses an explicit -o switch to work around
  427. # the @setfilename directive in info.texi, which is required for
  428. # the Texinfo distribution.
  429. ###info : $(buildinfodir)/info # circular!
  430. $(buildinfodir)/info: info.texi
  431. $(mkinfodir)
  432. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) --no-split -o $@ info.texi
  433. info.dvi: ${srcdir}/info.texi
  434. $(ENVADD) $(TEXI2DVI) ${srcdir}/info.texi
  435. info.pdf: ${srcdir}/info.texi
  436. $(ENVADD) $(TEXI2PDF) ${srcdir}/info.texi
  437. mairix-el : $(buildinfodir)/mairix-el
  438. $(buildinfodir)/mairix-el: mairix-el.texi
  439. $(mkinfodir)
  440. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mairix-el.texi
  441. mairix-el.dvi: ${srcdir}/mairix-el.texi
  442. $(ENVADD) $(TEXI2DVI) ${srcdir}/mairix-el.texi
  443. mairix-el.pdf: ${srcdir}/mairix-el.texi
  444. $(ENVADD) $(TEXI2PDF) ${srcdir}/mairix-el.texi
  445. message : $(buildinfodir)/message
  446. $(buildinfodir)/message: message.texi
  447. $(mkinfodir)
  448. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) message.texi
  449. message.dvi: ${srcdir}/message.texi
  450. $(ENVADD) $(TEXI2DVI) ${srcdir}/message.texi
  451. message.pdf: ${srcdir}/message.texi
  452. $(ENVADD) $(TEXI2PDF) ${srcdir}/message.texi
  453. mh-e : $(buildinfodir)/mh-e
  454. $(buildinfodir)/mh-e: mh-e.texi
  455. $(mkinfodir)
  456. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) mh-e.texi
  457. mh-e.dvi: ${srcdir}/mh-e.texi
  458. $(ENVADD) $(TEXI2DVI) ${srcdir}/mh-e.texi
  459. mh-e.pdf: ${srcdir}/mh-e.texi
  460. $(ENVADD) $(TEXI2PDF) ${srcdir}/mh-e.texi
  461. newsticker : $(buildinfodir)/newsticker
  462. $(buildinfodir)/newsticker: newsticker.texi
  463. $(mkinfodir)
  464. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) newsticker.texi
  465. newsticker.dvi: ${srcdir}/newsticker.texi
  466. $(ENVADD) $(TEXI2DVI) ${srcdir}/newsticker.texi
  467. newsticker.pdf: ${srcdir}/newsticker.texi
  468. $(ENVADD) $(TEXI2PDF) ${srcdir}/newsticker.texi
  469. nxml-mode : $(buildinfodir)/nxml-mode
  470. $(buildinfodir)/nxml-mode: nxml-mode.texi
  471. $(mkinfodir)
  472. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) nxml-mode.texi
  473. nxml-mode.dvi: ${srcdir}/nxml-mode.texi
  474. $(ENVADD) $(TEXI2DVI) ${srcdir}/nxml-mode.texi
  475. nxml-mode.pdf: ${srcdir}/nxml-mode.texi
  476. $(ENVADD) $(TEXI2PDF) ${srcdir}/nxml-mode.texi
  477. org : $(buildinfodir)/org
  478. $(buildinfodir)/org: org.texi
  479. $(mkinfodir)
  480. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) org.texi
  481. org.dvi: ${srcdir}/org.texi
  482. $(ENVADD) $(TEXI2DVI) ${srcdir}/org.texi
  483. org.pdf: ${srcdir}/org.texi
  484. $(ENVADD) $(TEXI2PDF) ${srcdir}/org.texi
  485. pcl-cvs : $(buildinfodir)/pcl-cvs
  486. $(buildinfodir)/pcl-cvs: pcl-cvs.texi
  487. $(mkinfodir)
  488. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pcl-cvs.texi
  489. pcl-cvs.dvi: ${srcdir}/pcl-cvs.texi
  490. $(ENVADD) $(TEXI2DVI) ${srcdir}/pcl-cvs.texi
  491. pcl-cvs.pdf: ${srcdir}/pcl-cvs.texi
  492. $(ENVADD) $(TEXI2PDF) ${srcdir}/pcl-cvs.texi
  493. pgg : $(buildinfodir)/pgg
  494. $(buildinfodir)/pgg: pgg.texi
  495. $(mkinfodir)
  496. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) pgg.texi
  497. pgg.dvi: ${srcdir}/pgg.texi
  498. $(ENVADD) $(TEXI2DVI) ${srcdir}/pgg.texi
  499. pgg.pdf: ${srcdir}/pgg.texi
  500. $(ENVADD) $(TEXI2PDF) ${srcdir}/pgg.texi
  501. rcirc : $(buildinfodir)/rcirc
  502. $(buildinfodir)/rcirc: rcirc.texi
  503. $(mkinfodir)
  504. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) rcirc.texi
  505. rcirc.dvi: ${srcdir}/rcirc.texi
  506. $(ENVADD) $(TEXI2DVI) ${srcdir}/rcirc.texi
  507. rcirc.pdf: ${srcdir}/rcirc.texi
  508. $(ENVADD) $(TEXI2PDF) ${srcdir}/rcirc.texi
  509. reftex : $(buildinfodir)/reftex
  510. $(buildinfodir)/reftex: reftex.texi
  511. $(mkinfodir)
  512. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) reftex.texi
  513. reftex.dvi: ${srcdir}/reftex.texi
  514. $(ENVADD) $(TEXI2DVI) ${srcdir}/reftex.texi
  515. reftex.pdf: ${srcdir}/reftex.texi
  516. $(ENVADD) $(TEXI2PDF) ${srcdir}/reftex.texi
  517. remember : $(buildinfodir)/remember
  518. $(buildinfodir)/remember: remember.texi
  519. $(mkinfodir)
  520. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) remember.texi
  521. remember.dvi: ${srcdir}/remember.texi
  522. $(ENVADD) $(TEXI2DVI) ${srcdir}/remember.texi
  523. remember.pdf: ${srcdir}/remember.texi
  524. $(ENVADD) $(TEXI2PDF) ${srcdir}/remember.texi
  525. sasl : $(buildinfodir)/sasl
  526. $(buildinfodir)/sasl: sasl.texi
  527. $(mkinfodir)
  528. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sasl.texi
  529. sasl.dvi: ${srcdir}/sasl.texi
  530. $(ENVADD) $(TEXI2DVI) ${srcdir}/sasl.texi
  531. sasl.pdf: ${srcdir}/sasl.texi
  532. $(ENVADD) $(TEXI2PDF) ${srcdir}/sasl.texi
  533. sc : $(buildinfodir)/sc
  534. $(buildinfodir)/sc: sc.texi
  535. $(mkinfodir)
  536. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sc.texi
  537. sc.dvi: ${srcdir}/sc.texi
  538. $(ENVADD) $(TEXI2DVI) ${srcdir}/sc.texi
  539. sc.pdf: ${srcdir}/sc.texi
  540. $(ENVADD) $(TEXI2PDF) ${srcdir}/sc.texi
  541. semantic : $(buildinfodir)/semantic
  542. $(buildinfodir)/semantic: semantic.texi sem-user.texi
  543. $(mkinfodir)
  544. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) semantic.texi
  545. semantic.dvi: ${srcdir}/semantic.texi sem-user.texi
  546. $(ENVADD) $(TEXI2DVI) ${srcdir}/semantic.texi
  547. semantic.pdf: ${srcdir}/semantic.texi sem-user.texi
  548. $(ENVADD) $(TEXI2PDF) ${srcdir}/semantic.texi
  549. ses : $(buildinfodir)/ses
  550. $(buildinfodir)/ses: ses.texi
  551. $(mkinfodir)
  552. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) ses.texi
  553. ses.dvi: ${srcdir}/ses.texi
  554. $(ENVADD) $(TEXI2DVI) ${srcdir}/ses.texi
  555. ses.pdf: ${srcdir}/ses.texi
  556. $(ENVADD) $(TEXI2PDF) ${srcdir}/ses.texi
  557. sieve : $(buildinfodir)/sieve
  558. $(buildinfodir)/sieve: sieve.texi
  559. $(mkinfodir)
  560. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) sieve.texi
  561. sieve.dvi: ${srcdir}/sieve.texi
  562. $(ENVADD) $(TEXI2DVI) ${srcdir}/sieve.texi
  563. sieve.pdf: ${srcdir}/sieve.texi
  564. $(ENVADD) $(TEXI2PDF) ${srcdir}/sieve.texi
  565. smtpmail : $(buildinfodir)/smtpmail
  566. $(buildinfodir)/smtpmail: smtpmail.texi
  567. $(mkinfodir)
  568. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) smtpmail.texi
  569. smtpmail.dvi: ${srcdir}/smtpmail.texi
  570. $(ENVADD) $(TEXI2DVI) ${srcdir}/smtpmail.texi
  571. smtpmail.pdf: ${srcdir}/smtpmail.texi
  572. $(ENVADD) $(TEXI2PDF) ${srcdir}/smtpmail.texi
  573. speedbar : $(buildinfodir)/speedbar
  574. $(buildinfodir)/speedbar: speedbar.texi
  575. $(mkinfodir)
  576. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) speedbar.texi
  577. speedbar.dvi: ${srcdir}/speedbar.texi
  578. $(ENVADD) $(TEXI2DVI) ${srcdir}/speedbar.texi
  579. speedbar.pdf: ${srcdir}/speedbar.texi
  580. $(ENVADD) $(TEXI2PDF) ${srcdir}/speedbar.texi
  581. tramp : $(buildinfodir)/tramp
  582. $(buildinfodir)/tramp: tramp.texi trampver.texi
  583. $(mkinfodir)
  584. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) -D emacs tramp.texi
  585. tramp.dvi: ${srcdir}/tramp.texi trampver.texi
  586. $(ENVADD) $(TEXI2DVI) ${srcdir}/tramp.texi
  587. tramp.pdf: ${srcdir}/tramp.texi trampver.texi
  588. $(ENVADD) $(TEXI2PDF) ${srcdir}/tramp.texi
  589. url : $(buildinfodir)/url
  590. $(buildinfodir)/url: url.texi
  591. $(mkinfodir)
  592. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) url.texi
  593. url.dvi: ${srcdir}/url.texi
  594. $(ENVADD) $(TEXI2DVI) ${srcdir}/url.texi
  595. url.pdf: ${srcdir}/url.texi
  596. $(ENVADD) $(TEXI2PDF) ${srcdir}/url.texi
  597. vip : $(buildinfodir)/vip
  598. $(buildinfodir)/vip: vip.texi
  599. $(mkinfodir)
  600. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) vip.texi
  601. vip.dvi: ${srcdir}/vip.texi
  602. $(ENVADD) $(TEXI2DVI) ${srcdir}/vip.texi
  603. vip.pdf: ${srcdir}/vip.texi
  604. $(ENVADD) $(TEXI2PDF) ${srcdir}/vip.texi
  605. viper : $(buildinfodir)/viper
  606. $(buildinfodir)/viper: viper.texi
  607. $(mkinfodir)
  608. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) viper.texi
  609. viper.dvi: ${srcdir}/viper.texi
  610. $(ENVADD) $(TEXI2DVI) ${srcdir}/viper.texi
  611. viper.pdf: ${srcdir}/viper.texi
  612. $(ENVADD) $(TEXI2PDF) ${srcdir}/viper.texi
  613. widget : $(buildinfodir)/widget
  614. $(buildinfodir)/widget: widget.texi
  615. $(mkinfodir)
  616. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) widget.texi
  617. widget.dvi: ${srcdir}/widget.texi
  618. $(ENVADD) $(TEXI2DVI) ${srcdir}/widget.texi
  619. widget.pdf: ${srcdir}/widget.texi
  620. $(ENVADD) $(TEXI2PDF) ${srcdir}/widget.texi
  621. woman : $(buildinfodir)/woman
  622. $(buildinfodir)/woman: woman.texi
  623. $(mkinfodir)
  624. cd $(srcdir); $(MAKEINFO) $(MAKEINFO_OPTS) woman.texi
  625. woman.dvi: ${srcdir}/woman.texi
  626. $(ENVADD) $(TEXI2DVI) ${srcdir}/woman.texi
  627. woman.pdf: ${srcdir}/woman.texi
  628. $(ENVADD) $(TEXI2PDF) ${srcdir}/woman.texi
  629. .PHONY: mostlyclean clean distclean maintainer-clean
  630. mostlyclean:
  631. rm -f *.aux *.log *.toc *.cp *.cps *.fn *.fns *.ky *.kys \
  632. *.op *.ops *.pg *.pgs *.tp *.tps *.vr *.vrs
  633. rm -f gnustmp.*
  634. clean: mostlyclean
  635. rm -f $(DVI_TARGETS) $(PDF_TARGETS) $(HTML_TARGETS) emacs-faq.text
  636. distclean: clean
  637. # rm -f Makefile
  638. ## buildinfodir is relative to srcdir.
  639. maintainer-clean: distclean
  640. cd $(srcdir); for file in $(INFO_TARGETS); do \
  641. rm -f $${file} $${file}-[1-9] $${file}-[1-9][0-9]; \
  642. done
  643. ### Makefile ends here