428
+ − 1 # Makefile for man subdirectory in XEmacs
+ − 2 # Copyright (C) 1995 Board of Trustees, University of Illinois
+ − 3 # Copyright (C) 1994, 1995 Sun Microsystems.
+ − 4
+ − 5 # This file is part of XEmacs.
+ − 6
+ − 7 # XEmacs is free software; you can redistribute it and/or modify it
+ − 8 # under the terms of the GNU General Public License as published by the
+ − 9 # Free Software Foundation; either version 2, or (at your option) any
+ − 10 # later version.
+ − 11
+ − 12 # XEmacs is distributed in the hope that it will be useful, but WITHOUT
+ − 13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ − 14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ − 15 # for more details.
+ − 16
+ − 17 # You should have received a copy of the GNU General Public License
+ − 18 # along with XEmacs; see the file COPYING. If not, write to
+ − 19 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ − 20 # Boston, MA 02111-1307, USA.
+ − 21
+ − 22 SHELL = /bin/sh
+ − 23 MAKEINFO = makeinfo
+ − 24 TEXI2DVI = texi2dvi
2418
+ − 25 TEXI2HTML = texi2html -verbose -subdir $(HTMLDIR)
+ − 26 TEXI2HTML_SPLIT = $(TEXI2HTML) -split chapter
677
+ − 27
442
+ − 28 RM = rm -f
2418
+ − 29 CP = cp
428
+ − 30
+ − 31 .SUFFIXES:
1702
+ − 32 .SUFFIXES: .html .info .texi .dvi .pdf
428
+ − 33
2427
+ − 34 RECURSIVE_MAKE_ARGS = $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
428
+ − 35
+ − 36 all : info
+ − 37
+ − 38 # Ughhh! The things we do to have portable makefiles...
+ − 39
+ − 40 INFODIR = ../info
677
+ − 41 HTMLDIR = ../html
2418
+ − 42 PHOTODIR = ../etc/photos
428
+ − 43
+ − 44 info_files = \
2537
+ − 45 $(INFODIR)/beta.info \
428
+ − 46 $(INFODIR)/cl.info \
+ − 47 $(INFODIR)/custom.info \
+ − 48 $(INFODIR)/emodules.info \
+ − 49 $(INFODIR)/external-widget.info \
+ − 50 $(INFODIR)/info.info \
+ − 51 $(INFODIR)/lispref.info \
+ − 52 $(INFODIR)/internals.info \
+ − 53 $(INFODIR)/new-users-guide.info \
+ − 54 $(INFODIR)/standards.info \
+ − 55 $(INFODIR)/term.info \
+ − 56 $(INFODIR)/termcap.info \
+ − 57 $(INFODIR)/texinfo.info \
+ − 58 $(INFODIR)/widget.info \
+ − 59 $(INFODIR)/xemacs.info \
+ − 60 $(INFODIR)/xemacs-faq.info
+ − 61
677
+ − 62 html_files = \
2537
+ − 63 $(HTMLDIR)/beta.html \
677
+ − 64 $(HTMLDIR)/cl.html \
+ − 65 $(HTMLDIR)/custom.html \
+ − 66 $(HTMLDIR)/emodules.html \
+ − 67 $(HTMLDIR)/external-widget.html \
+ − 68 $(HTMLDIR)/info.html \
+ − 69 $(HTMLDIR)/lispref.html \
+ − 70 $(HTMLDIR)/internals.html \
+ − 71 $(HTMLDIR)/new-users-guide.html \
+ − 72 $(HTMLDIR)/standards.html \
+ − 73 $(HTMLDIR)/term.html \
+ − 74 $(HTMLDIR)/termcap.html \
+ − 75 $(HTMLDIR)/texinfo.html \
+ − 76 $(HTMLDIR)/widget.html \
+ − 77 $(HTMLDIR)/xemacs.html \
+ − 78 $(HTMLDIR)/xemacs-faq.html
+ − 79
428
+ − 80 dvi_files = \
2537
+ − 81 beta.dvi \
428
+ − 82 cl.dvi \
+ − 83 custom.dvi \
+ − 84 emodules.dvi \
+ − 85 external-widget.dvi \
+ − 86 info.dvi \
+ − 87 lispref.dvi \
+ − 88 internals.dvi \
+ − 89 new-users-guide.dvi \
+ − 90 standards.dvi \
+ − 91 term.dvi \
+ − 92 termcap.dvi \
+ − 93 texinfo.dvi \
+ − 94 widget.dvi \
+ − 95 xemacs.dvi \
+ − 96 xemacs-faq.dvi
+ − 97
1702
+ − 98 pdf_files = \
2537
+ − 99 beta.pdf \
1702
+ − 100 cl.pdf \
+ − 101 custom.pdf \
+ − 102 emodules.pdf \
+ − 103 external-widget.pdf \
+ − 104 info.pdf \
+ − 105 lispref.pdf \
+ − 106 internals.pdf \
+ − 107 new-users-guide.pdf \
+ − 108 standards.pdf \
+ − 109 term.pdf \
+ − 110 termcap.pdf \
+ − 111 texinfo.pdf \
+ − 112 widget.pdf \
+ − 113 xemacs.pdf \
+ − 114 xemacs-faq.pdf
+ − 115
428
+ − 116 xemacs-srcs = \
+ − 117 xemacs/abbrevs.texi \
+ − 118 xemacs/basic.texi \
+ − 119 xemacs/buffers.texi \
+ − 120 xemacs/building.texi \
+ − 121 xemacs/calendar.texi \
+ − 122 xemacs/cmdargs.texi \
+ − 123 xemacs/custom.texi \
+ − 124 xemacs/display.texi \
+ − 125 xemacs/entering.texi \
+ − 126 xemacs/files.texi \
+ − 127 xemacs/fixit.texi \
+ − 128 xemacs/frame.texi \
+ − 129 xemacs/glossary.texi \
+ − 130 xemacs/gnu.texi \
+ − 131 xemacs/help.texi \
+ − 132 xemacs/indent.texi \
+ − 133 xemacs/keystrokes.texi \
+ − 134 xemacs/killing.texi \
+ − 135 xemacs/m-x.texi \
+ − 136 xemacs/major.texi \
+ − 137 xemacs/mark.texi \
+ − 138 xemacs/menus.texi \
+ − 139 xemacs/mini.texi \
+ − 140 xemacs/misc.texi \
+ − 141 xemacs/mouse.texi \
+ − 142 xemacs/mule.texi \
+ − 143 xemacs/new.texi \
+ − 144 xemacs/packages.texi \
+ − 145 xemacs/picture.texi \
+ − 146 xemacs/programs.texi \
+ − 147 xemacs/reading.texi \
+ − 148 xemacs/regs.texi \
+ − 149 xemacs/search.texi \
+ − 150 xemacs/sending.texi \
+ − 151 xemacs/startup.texi \
+ − 152 xemacs/text.texi \
+ − 153 xemacs/trouble.texi \
+ − 154 xemacs/undo.texi \
+ − 155 xemacs/windows.texi \
+ − 156 xemacs/xemacs.texi
+ − 157
+ − 158 lispref-srcs = \
+ − 159 lispref/abbrevs.texi \
+ − 160 lispref/annotations.texi \
+ − 161 lispref/back.texi \
+ − 162 lispref/backups.texi \
+ − 163 lispref/buffers.texi \
+ − 164 lispref/building.texi \
+ − 165 lispref/commands.texi \
+ − 166 lispref/compile.texi \
+ − 167 lispref/consoles-devices.texi \
+ − 168 lispref/control.texi \
+ − 169 lispref/customize.texi \
+ − 170 lispref/databases.texi \
+ − 171 lispref/debugging.texi \
+ − 172 lispref/dialog.texi \
+ − 173 lispref/display.texi \
+ − 174 lispref/dragndrop.texi \
+ − 175 lispref/edebug-inc.texi \
+ − 176 lispref/edebug.texi \
+ − 177 lispref/errors.texi \
+ − 178 lispref/eval.texi \
+ − 179 lispref/extents.texi \
+ − 180 lispref/faces.texi \
+ − 181 lispref/files.texi \
+ − 182 lispref/frames.texi \
+ − 183 lispref/functions.texi \
+ − 184 lispref/glyphs.texi \
+ − 185 lispref/hash-tables.texi \
+ − 186 lispref/help.texi \
+ − 187 lispref/hooks.texi \
+ − 188 lispref/index.texi \
+ − 189 lispref/internationalization.texi \
+ − 190 lispref/intro.texi \
+ − 191 lispref/keymaps.texi \
+ − 192 lispref/ldap.texi \
+ − 193 lispref/lispref.texi \
+ − 194 lispref/lists.texi \
+ − 195 lispref/loading.texi \
+ − 196 lispref/locals.texi \
+ − 197 lispref/macros.texi \
+ − 198 lispref/maps.texi \
+ − 199 lispref/markers.texi \
+ − 200 lispref/menus.texi \
+ − 201 lispref/minibuf.texi \
+ − 202 lispref/modes.texi \
+ − 203 lispref/mouse.texi \
+ − 204 lispref/mule.texi \
+ − 205 lispref/numbers.texi \
+ − 206 lispref/objects.texi \
+ − 207 lispref/os.texi \
693
+ − 208 lispref/packaging.texi \
428
+ − 209 lispref/positions.texi \
+ − 210 lispref/processes.texi \
+ − 211 lispref/range-tables.texi \
+ − 212 lispref/scrollbars.texi \
+ − 213 lispref/searching.texi \
+ − 214 lispref/sequences.texi \
+ − 215 lispref/specifiers.texi \
+ − 216 lispref/streams.texi \
+ − 217 lispref/strings.texi \
+ − 218 lispref/symbols.texi \
+ − 219 lispref/syntax.texi \
+ − 220 lispref/text.texi \
+ − 221 lispref/tips.texi \
+ − 222 lispref/toolbar.texi \
+ − 223 lispref/tooltalk.texi \
+ − 224 lispref/variables.texi \
+ − 225 lispref/windows.texi \
+ − 226 lispref/x-windows.texi
+ − 227
+ − 228 internals-srcs = \
+ − 229 internals/internals.texi
+ − 230
+ − 231 new-users-guide-srcs = \
+ − 232 new-users-guide/custom1.texi \
+ − 233 new-users-guide/custom2.texi \
+ − 234 new-users-guide/edit.texi \
+ − 235 new-users-guide/enter.texi \
+ − 236 new-users-guide/files.texi \
+ − 237 new-users-guide/help.texi \
+ − 238 new-users-guide/modes.texi \
+ − 239 new-users-guide/new-users-guide.texi \
+ − 240 new-users-guide/region.texi \
+ − 241 new-users-guide/search.texi \
+ − 242 new-users-guide/xmenu.texi
+ − 243
2537
+ − 244 $(INFODIR)/beta.info : beta.texi
+ − 245 $(MAKEINFO) -o $(INFODIR)/beta.info beta.texi
+ − 246
428
+ − 247 $(INFODIR)/cl.info : cl.texi
+ − 248 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi
+ − 249
+ − 250 $(INFODIR)/custom.info : custom.texi
+ − 251 $(MAKEINFO) -o $(INFODIR)/custom.info custom.texi
+ − 252
+ − 253 $(INFODIR)/emodules.info : emodules.texi
+ − 254 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi
+ − 255
+ − 256 $(INFODIR)/external-widget.info : external-widget.texi
+ − 257 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi
+ − 258
+ − 259 $(INFODIR)/info.info : info.texi
+ − 260 $(MAKEINFO) -o $(INFODIR)/info.info info.texi
+ − 261
+ − 262 $(INFODIR)/standards.info : standards.texi
+ − 263 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi
+ − 264
+ − 265 $(INFODIR)/term.info : term.texi
+ − 266 $(MAKEINFO) -o $(INFODIR)/term.info term.texi
+ − 267
+ − 268 $(INFODIR)/termcap.info : termcap.texi
+ − 269 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi
+ − 270
+ − 271 $(INFODIR)/texinfo.info : texinfo.texi
+ − 272 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi
+ − 273
+ − 274 $(INFODIR)/widget.info : widget.texi
+ − 275 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi
+ − 276
+ − 277 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi
+ − 278 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi
+ − 279
+ − 280 # Manuals with their own subdirectory
+ − 281 $(INFODIR)/xemacs.info : $(xemacs-srcs)
+ − 282 $(MAKEINFO) -P xemacs -o $(INFODIR)/xemacs.info xemacs/xemacs.texi
+ − 283
+ − 284 $(INFODIR)/lispref.info : $(lispref-srcs)
+ − 285 $(MAKEINFO) -P lispref -o $(INFODIR)/lispref.info lispref/lispref.texi
+ − 286
+ − 287 $(INFODIR)/internals.info : $(internals-srcs)
+ − 288 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi
+ − 289
+ − 290 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs)
+ − 291 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi
+ − 292
+ − 293 xemacs : $(INFODIR)/xemacs.info
+ − 294 lispref : $(INFODIR)/lispref.info
+ − 295 internals : $(INFODIR)/internals.info
+ − 296 new-users-guide.info : $(INFODIR)/new-users-guide.info
+ − 297
1702
+ − 298 .PHONY : xemacs lispref internals new-users-guide info dvi pdf
428
+ − 299
+ − 300 info : $(info_files)
677
+ − 301 html : $(html_files)
428
+ − 302
+ − 303 .texi.dvi:
+ − 304 -$(TEXI2DVI) $<
+ − 305
1702
+ − 306 .texi.pdf:
+ − 307 -$(TEXI2DVI) --pdf $<
+ − 308
428
+ − 309 xemacs.dvi : $(xemacs-srcs)
+ − 310 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi
+ − 311
+ − 312 lispref.dvi : $(lispref-srcs)
+ − 313 $(TEXI2DVI) -I lispref lispref/lispref.texi
+ − 314
+ − 315 internals.dvi : $(internals-srcs)
+ − 316 $(TEXI2DVI) -I internals internals/internals.texi
+ − 317
+ − 318 new-users-guide.dvi : $(new-users-guide-srcs)
+ − 319 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi
+ − 320
+ − 321 dvi : $(dvi_files)
+ − 322
1702
+ − 323 xemacs.pdf: $(xemacs-srcs)
+ − 324 $(TEXI2DVI) --pdf -I xemacs xemacs/xemacs.texi
+ − 325
+ − 326 lispref.pdf: $(lispref-srcs)
+ − 327 $(TEXI2DVI) --pdf -I lispref lispref/lispref.texi
+ − 328
+ − 329 internals.pdf: $(internals-srcs)
+ − 330 $(TEXI2DVI) --pdf -I internals internals/internals.texi
+ − 331
+ − 332 new-users-guide.pdf: $(new-users-guide-srcs)
+ − 333 $(TEXI2DVI) --pdf -I new-users-guide new-users-guide/new-users-guide.texi
+ − 334
+ − 335 pdf: $(pdf_files)
+ − 336
428
+ − 337 .PHONY: mostlyclean clean distclean realclean extraclean
+ − 338 mostlyclean:
442
+ − 339 $(RM) *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns
+ − 340 $(RM) *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs
428
+ − 341 clean: mostlyclean
1702
+ − 342 $(RM) core *.dvi *.pdf
428
+ − 343 distclean: clean
+ − 344 realclean: distclean
+ − 345 extraclean: distclean
442
+ − 346 $(RM) *~ \#* */*~ */\#*
677
+ − 347
+ − 348 ############################################################################
+ − 349
2537
+ − 350 $(HTMLDIR)/beta.html : beta.texi
+ − 351 $(TEXI2HTML) beta.texi
+ − 352
677
+ − 353 $(HTMLDIR)/cl.html : cl.texi
2418
+ − 354 $(TEXI2HTML_SPLIT) cl.texi
677
+ − 355
+ − 356 $(HTMLDIR)/custom.html : custom.texi
2418
+ − 357 $(TEXI2HTML_SPLIT) custom.texi
677
+ − 358
+ − 359 $(HTMLDIR)/emodules.html : emodules.texi
2418
+ − 360 $(TEXI2HTML_SPLIT) emodules.texi
677
+ − 361
+ − 362 $(HTMLDIR)/external-widget.html : external-widget.texi
2418
+ − 363 $(TEXI2HTML_SPLIT) external-widget.texi
677
+ − 364
+ − 365 $(HTMLDIR)/info.html : info.texi
2418
+ − 366 $(TEXI2HTML_SPLIT) info.texi
677
+ − 367
+ − 368 $(HTMLDIR)/standards.html : standards.texi
2418
+ − 369 $(TEXI2HTML_SPLIT) standards.texi
677
+ − 370
+ − 371 $(HTMLDIR)/term.html : term.texi
2418
+ − 372 $(TEXI2HTML_SPLIT) term.texi
677
+ − 373
+ − 374 $(HTMLDIR)/termcap.html : termcap.texi
2418
+ − 375 $(TEXI2HTML_SPLIT) termcap.texi
677
+ − 376
+ − 377 $(HTMLDIR)/texinfo.html : texinfo.texi
2418
+ − 378 $(TEXI2HTML_SPLIT) texinfo.texi
677
+ − 379
+ − 380 $(HTMLDIR)/widget.html : widget.texi
2418
+ − 381 $(TEXI2HTML_SPLIT) widget.texi
677
+ − 382
+ − 383 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi
2418
+ − 384 $(TEXI2HTML) xemacs-faq.texi
+ − 385 $(TEXI2HTML_SPLIT) -top_file xemacs-faq_1.html xemacs-faq.texi
+ − 386 $(CP) $(PHOTODIR)/ben.png $(HTMLDIR)
+ − 387 $(CP) $(PHOTODIR)/cthomp.png $(HTMLDIR)
+ − 388 $(CP) $(PHOTODIR)/hniksic.png $(HTMLDIR)
+ − 389 $(CP) $(PHOTODIR)/jwz.png $(HTMLDIR)
+ − 390 $(CP) $(PHOTODIR)/martin.png $(HTMLDIR)
+ − 391 $(CP) $(PHOTODIR)/mly.png $(HTMLDIR)
+ − 392 $(CP) $(PHOTODIR)/piper.png $(HTMLDIR)
+ − 393 $(CP) $(PHOTODIR)/slb.png $(HTMLDIR)
677
+ − 394
+ − 395 # Manuals with their own subdirectory
+ − 396 $(HTMLDIR)/xemacs.html : $(xemacs-srcs)
2418
+ − 397 $(TEXI2HTML_SPLIT) xemacs/xemacs.texi
677
+ − 398
+ − 399 $(HTMLDIR)/lispref.html : $(lispref-srcs)
2418
+ − 400 $(TEXI2HTML_SPLIT) lispref/lispref.texi
677
+ − 401
+ − 402 $(HTMLDIR)/internals.html : $(internals-srcs)
2418
+ − 403 $(TEXI2HTML_SPLIT) internals/internals.texi
677
+ − 404
+ − 405 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs)
2418
+ − 406 $(TEXI2HTML_SPLIT) new-users-guide/new-users-guide.texi
677
+ − 407
+ − 408 xemacs : $(HTMLDIR)/xemacs.html
+ − 409 lispref : $(HTMLDIR)/lispref.html
+ − 410 internals : $(HTMLDIR)/internals.html
+ − 411 new-users-guide.html : $(HTMLDIR)/new-users-guide.html
+ − 412
+ − 413 html : $(html_files)