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
677
+ − 25 TEXI2HTML = texi2html -verbose -split chapter
+ − 26
442
+ − 27 RM = rm -f
428
+ − 28
+ − 29 .SUFFIXES:
677
+ − 30 .SUFFIXES: .html .info .texi .dvi
428
+ − 31
+ − 32 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)'
+ − 33
+ − 34 all : info
+ − 35
+ − 36 # Ughhh! The things we do to have portable makefiles...
+ − 37
+ − 38 INFODIR = ../info
677
+ − 39 HTMLDIR = ../html
428
+ − 40
+ − 41 info_files = \
+ − 42 $(INFODIR)/cl.info \
+ − 43 $(INFODIR)/custom.info \
+ − 44 $(INFODIR)/emodules.info \
+ − 45 $(INFODIR)/external-widget.info \
+ − 46 $(INFODIR)/info.info \
+ − 47 $(INFODIR)/lispref.info \
+ − 48 $(INFODIR)/internals.info \
+ − 49 $(INFODIR)/new-users-guide.info \
+ − 50 $(INFODIR)/standards.info \
+ − 51 $(INFODIR)/term.info \
+ − 52 $(INFODIR)/termcap.info \
+ − 53 $(INFODIR)/texinfo.info \
+ − 54 $(INFODIR)/widget.info \
+ − 55 $(INFODIR)/xemacs.info \
+ − 56 $(INFODIR)/xemacs-faq.info
+ − 57
677
+ − 58 html_files = \
+ − 59 $(HTMLDIR)/cl.html \
+ − 60 $(HTMLDIR)/custom.html \
+ − 61 $(HTMLDIR)/emodules.html \
+ − 62 $(HTMLDIR)/external-widget.html \
+ − 63 $(HTMLDIR)/info.html \
+ − 64 $(HTMLDIR)/lispref.html \
+ − 65 $(HTMLDIR)/internals.html \
+ − 66 $(HTMLDIR)/new-users-guide.html \
+ − 67 $(HTMLDIR)/standards.html \
+ − 68 $(HTMLDIR)/term.html \
+ − 69 $(HTMLDIR)/termcap.html \
+ − 70 $(HTMLDIR)/texinfo.html \
+ − 71 $(HTMLDIR)/widget.html \
+ − 72 $(HTMLDIR)/xemacs.html \
+ − 73 $(HTMLDIR)/xemacs-faq.html
+ − 74
428
+ − 75 dvi_files = \
+ − 76 cl.dvi \
+ − 77 custom.dvi \
+ − 78 emodules.dvi \
+ − 79 external-widget.dvi \
+ − 80 info.dvi \
+ − 81 lispref.dvi \
+ − 82 internals.dvi \
+ − 83 new-users-guide.dvi \
+ − 84 standards.dvi \
+ − 85 term.dvi \
+ − 86 termcap.dvi \
+ − 87 texinfo.dvi \
+ − 88 widget.dvi \
+ − 89 xemacs.dvi \
+ − 90 xemacs-faq.dvi
+ − 91
+ − 92 xemacs-srcs = \
+ − 93 xemacs/abbrevs.texi \
+ − 94 xemacs/basic.texi \
+ − 95 xemacs/buffers.texi \
+ − 96 xemacs/building.texi \
+ − 97 xemacs/calendar.texi \
+ − 98 xemacs/cmdargs.texi \
+ − 99 xemacs/custom.texi \
+ − 100 xemacs/display.texi \
+ − 101 xemacs/entering.texi \
+ − 102 xemacs/files.texi \
+ − 103 xemacs/fixit.texi \
+ − 104 xemacs/frame.texi \
+ − 105 xemacs/glossary.texi \
+ − 106 xemacs/gnu.texi \
+ − 107 xemacs/help.texi \
+ − 108 xemacs/indent.texi \
+ − 109 xemacs/keystrokes.texi \
+ − 110 xemacs/killing.texi \
+ − 111 xemacs/m-x.texi \
+ − 112 xemacs/major.texi \
+ − 113 xemacs/mark.texi \
+ − 114 xemacs/menus.texi \
+ − 115 xemacs/mini.texi \
+ − 116 xemacs/misc.texi \
+ − 117 xemacs/mouse.texi \
+ − 118 xemacs/mule.texi \
+ − 119 xemacs/new.texi \
+ − 120 xemacs/packages.texi \
+ − 121 xemacs/picture.texi \
+ − 122 xemacs/programs.texi \
+ − 123 xemacs/reading.texi \
+ − 124 xemacs/regs.texi \
+ − 125 xemacs/search.texi \
+ − 126 xemacs/sending.texi \
+ − 127 xemacs/startup.texi \
+ − 128 xemacs/text.texi \
+ − 129 xemacs/trouble.texi \
+ − 130 xemacs/undo.texi \
+ − 131 xemacs/windows.texi \
+ − 132 xemacs/xemacs.texi
+ − 133
+ − 134 lispref-srcs = \
+ − 135 lispref/abbrevs.texi \
+ − 136 lispref/annotations.texi \
+ − 137 lispref/back.texi \
+ − 138 lispref/backups.texi \
+ − 139 lispref/buffers.texi \
+ − 140 lispref/building.texi \
+ − 141 lispref/commands.texi \
+ − 142 lispref/compile.texi \
+ − 143 lispref/consoles-devices.texi \
+ − 144 lispref/control.texi \
+ − 145 lispref/customize.texi \
+ − 146 lispref/databases.texi \
+ − 147 lispref/debugging.texi \
+ − 148 lispref/dialog.texi \
+ − 149 lispref/display.texi \
+ − 150 lispref/dragndrop.texi \
+ − 151 lispref/edebug-inc.texi \
+ − 152 lispref/edebug.texi \
+ − 153 lispref/errors.texi \
+ − 154 lispref/eval.texi \
+ − 155 lispref/extents.texi \
+ − 156 lispref/faces.texi \
+ − 157 lispref/files.texi \
+ − 158 lispref/frames.texi \
+ − 159 lispref/functions.texi \
+ − 160 lispref/glyphs.texi \
+ − 161 lispref/hash-tables.texi \
+ − 162 lispref/help.texi \
+ − 163 lispref/hooks.texi \
+ − 164 lispref/index.texi \
+ − 165 lispref/internationalization.texi \
+ − 166 lispref/intro.texi \
+ − 167 lispref/keymaps.texi \
+ − 168 lispref/ldap.texi \
+ − 169 lispref/lispref.texi \
+ − 170 lispref/lists.texi \
+ − 171 lispref/loading.texi \
+ − 172 lispref/locals.texi \
+ − 173 lispref/macros.texi \
+ − 174 lispref/maps.texi \
+ − 175 lispref/markers.texi \
+ − 176 lispref/menus.texi \
+ − 177 lispref/minibuf.texi \
+ − 178 lispref/modes.texi \
+ − 179 lispref/mouse.texi \
+ − 180 lispref/mule.texi \
+ − 181 lispref/numbers.texi \
+ − 182 lispref/objects.texi \
+ − 183 lispref/os.texi \
693
+ − 184 lispref/packaging.texi \
428
+ − 185 lispref/positions.texi \
+ − 186 lispref/processes.texi \
+ − 187 lispref/range-tables.texi \
+ − 188 lispref/scrollbars.texi \
+ − 189 lispref/searching.texi \
+ − 190 lispref/sequences.texi \
+ − 191 lispref/specifiers.texi \
+ − 192 lispref/streams.texi \
+ − 193 lispref/strings.texi \
+ − 194 lispref/symbols.texi \
+ − 195 lispref/syntax.texi \
+ − 196 lispref/text.texi \
+ − 197 lispref/tips.texi \
+ − 198 lispref/toolbar.texi \
+ − 199 lispref/tooltalk.texi \
+ − 200 lispref/variables.texi \
+ − 201 lispref/windows.texi \
+ − 202 lispref/x-windows.texi
+ − 203
+ − 204 internals-srcs = \
+ − 205 internals/internals.texi
+ − 206
+ − 207 new-users-guide-srcs = \
+ − 208 new-users-guide/custom1.texi \
+ − 209 new-users-guide/custom2.texi \
+ − 210 new-users-guide/edit.texi \
+ − 211 new-users-guide/enter.texi \
+ − 212 new-users-guide/files.texi \
+ − 213 new-users-guide/help.texi \
+ − 214 new-users-guide/modes.texi \
+ − 215 new-users-guide/new-users-guide.texi \
+ − 216 new-users-guide/region.texi \
+ − 217 new-users-guide/search.texi \
+ − 218 new-users-guide/xmenu.texi
+ − 219
+ − 220 $(INFODIR)/cl.info : cl.texi
+ − 221 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi
+ − 222
+ − 223 $(INFODIR)/custom.info : custom.texi
+ − 224 $(MAKEINFO) -o $(INFODIR)/custom.info custom.texi
+ − 225
+ − 226 $(INFODIR)/emodules.info : emodules.texi
+ − 227 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi
+ − 228
+ − 229 $(INFODIR)/external-widget.info : external-widget.texi
+ − 230 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi
+ − 231
+ − 232 $(INFODIR)/info.info : info.texi
+ − 233 $(MAKEINFO) -o $(INFODIR)/info.info info.texi
+ − 234
+ − 235 $(INFODIR)/standards.info : standards.texi
+ − 236 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi
+ − 237
+ − 238 $(INFODIR)/term.info : term.texi
+ − 239 $(MAKEINFO) -o $(INFODIR)/term.info term.texi
+ − 240
+ − 241 $(INFODIR)/termcap.info : termcap.texi
+ − 242 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi
+ − 243
+ − 244 $(INFODIR)/texinfo.info : texinfo.texi
+ − 245 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi
+ − 246
+ − 247 $(INFODIR)/widget.info : widget.texi
+ − 248 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi
+ − 249
+ − 250 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi
+ − 251 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi
+ − 252
+ − 253 # Manuals with their own subdirectory
+ − 254 $(INFODIR)/xemacs.info : $(xemacs-srcs)
+ − 255 $(MAKEINFO) -P xemacs -o $(INFODIR)/xemacs.info xemacs/xemacs.texi
+ − 256
+ − 257 $(INFODIR)/lispref.info : $(lispref-srcs)
+ − 258 $(MAKEINFO) -P lispref -o $(INFODIR)/lispref.info lispref/lispref.texi
+ − 259
+ − 260 $(INFODIR)/internals.info : $(internals-srcs)
+ − 261 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi
+ − 262
+ − 263 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs)
+ − 264 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi
+ − 265
+ − 266 # $(INFODIR)/w3.info : w3.texi
+ − 267 # $(MAKEINFO) -o $(INFODIR)/w3.info w3.texi
+ − 268
+ − 269 # EMACS = ../src/xemacs
776
+ − 270 # EMACSFLAGS = -batch -vanilla
428
+ − 271
+ − 272 # $(INFODIR)/vm.info : vm.texi
+ − 273 # -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
+ − 274 # -f texinfo-format-buffer -f save-buffer
+ − 275 # -mv vm.info* $(INFODIR)/.
+ − 276
+ − 277 # special = # $(INFODIR)/vm.info $(INFODIR)/texinfo.info
+ − 278
+ − 279 xemacs : $(INFODIR)/xemacs.info
+ − 280 lispref : $(INFODIR)/lispref.info
+ − 281 internals : $(INFODIR)/internals.info
+ − 282 new-users-guide.info : $(INFODIR)/new-users-guide.info
+ − 283
+ − 284 .PHONY : xemacs lispref internals new-users-guide info dvi
+ − 285
+ − 286 info : $(info_files)
677
+ − 287 html : $(html_files)
428
+ − 288
+ − 289 # tm: FRC.tm
+ − 290 # cd ./tm && $(RECURSIVE_MAKE)
+ − 291 # gnats: FRC.gnats
+ − 292 # cd ./gnats && $(RECURSIVE_MAKE)
+ − 293 # FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals FRC.tm FRC.gnats:
+ − 294
+ − 295 .PHONY: info dvi
+ − 296
+ − 297 .texi.dvi:
+ − 298 -$(TEXI2DVI) $<
+ − 299
+ − 300 xemacs.dvi : $(xemacs-srcs)
+ − 301 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi
+ − 302
+ − 303 lispref.dvi : $(lispref-srcs)
+ − 304 $(TEXI2DVI) -I lispref lispref/lispref.texi
+ − 305
+ − 306 internals.dvi : $(internals-srcs)
+ − 307 $(TEXI2DVI) -I internals internals/internals.texi
+ − 308
+ − 309 new-users-guide.dvi : $(new-users-guide-srcs)
+ − 310 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi
+ − 311
+ − 312 dvi : $(dvi_files)
+ − 313
+ − 314 .PHONY: mostlyclean clean distclean realclean extraclean
+ − 315 mostlyclean:
442
+ − 316 $(RM) *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns
+ − 317 $(RM) *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs
428
+ − 318 clean: mostlyclean
442
+ − 319 $(RM) core *.dvi
428
+ − 320 distclean: clean
+ − 321 realclean: distclean
+ − 322 extraclean: distclean
442
+ − 323 $(RM) *~ \#* */*~ */\#*
677
+ − 324
+ − 325 ############################################################################
+ − 326
+ − 327 $(HTMLDIR)/cl.html : cl.texi
+ − 328 $(TEXI2HTML) -subdir $(HTMLDIR) cl.texi
+ − 329
+ − 330 $(HTMLDIR)/custom.html : custom.texi
+ − 331 $(TEXI2HTML) -subdir $(HTMLDIR) custom.texi
+ − 332
+ − 333 $(HTMLDIR)/emodules.html : emodules.texi
+ − 334 $(TEXI2HTML) -subdir $(HTMLDIR) emodules.texi
+ − 335
+ − 336 $(HTMLDIR)/external-widget.html : external-widget.texi
+ − 337 $(TEXI2HTML) -subdir $(HTMLDIR) external-widget.texi
+ − 338
+ − 339 $(HTMLDIR)/info.html : info.texi
+ − 340 $(TEXI2HTML) -subdir $(HTMLDIR) info.texi
+ − 341
+ − 342 $(HTMLDIR)/standards.html : standards.texi
+ − 343 $(TEXI2HTML) -subdir $(HTMLDIR) standards.texi
+ − 344
+ − 345 $(HTMLDIR)/term.html : term.texi
+ − 346 $(TEXI2HTML) -subdir $(HTMLDIR) term.texi
+ − 347
+ − 348 $(HTMLDIR)/termcap.html : termcap.texi
+ − 349 $(TEXI2HTML) -subdir $(HTMLDIR) termcap.texi
+ − 350
+ − 351 $(HTMLDIR)/texinfo.html : texinfo.texi
+ − 352 $(TEXI2HTML) -subdir $(HTMLDIR) texinfo.texi
+ − 353
+ − 354 $(HTMLDIR)/widget.html : widget.texi
+ − 355 $(TEXI2HTML) -subdir $(HTMLDIR) widget.texi
+ − 356
+ − 357 $(HTMLDIR)/xemacs-faq.html : xemacs-faq.texi
+ − 358 $(TEXI2HTML) -top_file xemacs-faq_1.html -subdir $(HTMLDIR) xemacs-faq.texi
+ − 359
+ − 360 # Manuals with their own subdirectory
+ − 361 $(HTMLDIR)/xemacs.html : $(xemacs-srcs)
+ − 362 $(TEXI2HTML) -subdir $(HTMLDIR) xemacs/xemacs.texi
+ − 363
+ − 364 $(HTMLDIR)/lispref.html : $(lispref-srcs)
+ − 365 $(TEXI2HTML) -subdir $(HTMLDIR) lispref/lispref.texi
+ − 366
+ − 367 $(HTMLDIR)/internals.html : $(internals-srcs)
+ − 368 $(TEXI2HTML) -subdir $(HTMLDIR) internals/internals.texi
+ − 369
+ − 370 $(HTMLDIR)/new-users-guide.html : $(new-users-guide-srcs)
+ − 371 $(TEXI2HTML) -subdir $(HTMLDIR) new-users-guide/new-users-guide.texi
+ − 372
+ − 373 # $(HTMLDIR)/w3.html : w3.texi
+ − 374 # $(TEXI2HTML) -subdir $(HTMLDIR) w3.texi
+ − 375
+ − 376 # EMACS = ../src/xemacs
776
+ − 377 # EMACSFLAGS = -batch -vanilla
677
+ − 378
+ − 379 # $(HTMLDIR)/vm.html : vm.texi
+ − 380 # -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \
+ − 381 # -f texinfo-format-buffer -f save-buffer
+ − 382 # -mv vm.html* $(HTMLDIR)/.
+ − 383
+ − 384 # special = # $(HTMLDIR)/vm.html $(HTMLDIR)/texinfo.html
+ − 385
+ − 386 xemacs : $(HTMLDIR)/xemacs.html
+ − 387 lispref : $(HTMLDIR)/lispref.html
+ − 388 internals : $(HTMLDIR)/internals.html
+ − 389 new-users-guide.html : $(HTMLDIR)/new-users-guide.html
+ − 390
+ − 391 html : $(html_files)