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