Mercurial > hg > xemacs-beta
comparison man/Makefile @ 428:3ecd8885ac67 r21-2-22
Import from CVS: tag r21-2-22
| author | cvs |
|---|---|
| date | Mon, 13 Aug 2007 11:28:15 +0200 |
| parents | |
| children | abe6d1db359e |
comparison
equal
deleted
inserted
replaced
| 427:0a0253eac470 | 428:3ecd8885ac67 |
|---|---|
| 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 | |
| 25 | |
| 26 .SUFFIXES: | |
| 27 .SUFFIXES: .info .texi .dvi | |
| 28 | |
| 29 RECURSIVE_MAKE = $(MAKE) $(MFLAGS) MAKEINFO='$(MAKEINFO)' TEXI2DVI='$(TEXI2DVI)' | |
| 30 | |
| 31 all : info | |
| 32 | |
| 33 # Ughhh! The things we do to have portable makefiles... | |
| 34 | |
| 35 INFODIR = ../info | |
| 36 | |
| 37 info_files = \ | |
| 38 $(INFODIR)/cl.info \ | |
| 39 $(INFODIR)/custom.info \ | |
| 40 $(INFODIR)/emodules.info \ | |
| 41 $(INFODIR)/external-widget.info \ | |
| 42 $(INFODIR)/info.info \ | |
| 43 $(INFODIR)/lispref.info \ | |
| 44 $(INFODIR)/internals.info \ | |
| 45 $(INFODIR)/new-users-guide.info \ | |
| 46 $(INFODIR)/standards.info \ | |
| 47 $(INFODIR)/term.info \ | |
| 48 $(INFODIR)/termcap.info \ | |
| 49 $(INFODIR)/texinfo.info \ | |
| 50 $(INFODIR)/widget.info \ | |
| 51 $(INFODIR)/xemacs.info \ | |
| 52 $(INFODIR)/xemacs-faq.info | |
| 53 | |
| 54 dvi_files = \ | |
| 55 cl.dvi \ | |
| 56 custom.dvi \ | |
| 57 emodules.dvi \ | |
| 58 external-widget.dvi \ | |
| 59 info.dvi \ | |
| 60 lispref.dvi \ | |
| 61 internals.dvi \ | |
| 62 new-users-guide.dvi \ | |
| 63 standards.dvi \ | |
| 64 term.dvi \ | |
| 65 termcap.dvi \ | |
| 66 texinfo.dvi \ | |
| 67 widget.dvi \ | |
| 68 xemacs.dvi \ | |
| 69 xemacs-faq.dvi | |
| 70 | |
| 71 xemacs-srcs = \ | |
| 72 xemacs/abbrevs.texi \ | |
| 73 xemacs/basic.texi \ | |
| 74 xemacs/buffers.texi \ | |
| 75 xemacs/building.texi \ | |
| 76 xemacs/calendar.texi \ | |
| 77 xemacs/cmdargs.texi \ | |
| 78 xemacs/custom.texi \ | |
| 79 xemacs/display.texi \ | |
| 80 xemacs/entering.texi \ | |
| 81 xemacs/files.texi \ | |
| 82 xemacs/fixit.texi \ | |
| 83 xemacs/frame.texi \ | |
| 84 xemacs/glossary.texi \ | |
| 85 xemacs/gnu.texi \ | |
| 86 xemacs/help.texi \ | |
| 87 xemacs/indent.texi \ | |
| 88 xemacs/keystrokes.texi \ | |
| 89 xemacs/killing.texi \ | |
| 90 xemacs/m-x.texi \ | |
| 91 xemacs/major.texi \ | |
| 92 xemacs/mark.texi \ | |
| 93 xemacs/menus.texi \ | |
| 94 xemacs/mini.texi \ | |
| 95 xemacs/misc.texi \ | |
| 96 xemacs/mouse.texi \ | |
| 97 xemacs/mule.texi \ | |
| 98 xemacs/new.texi \ | |
| 99 xemacs/packages.texi \ | |
| 100 xemacs/picture.texi \ | |
| 101 xemacs/programs.texi \ | |
| 102 xemacs/reading.texi \ | |
| 103 xemacs/regs.texi \ | |
| 104 xemacs/search.texi \ | |
| 105 xemacs/sending.texi \ | |
| 106 xemacs/startup.texi \ | |
| 107 xemacs/text.texi \ | |
| 108 xemacs/trouble.texi \ | |
| 109 xemacs/undo.texi \ | |
| 110 xemacs/windows.texi \ | |
| 111 xemacs/xemacs.texi | |
| 112 | |
| 113 lispref-srcs = \ | |
| 114 lispref/abbrevs.texi \ | |
| 115 lispref/annotations.texi \ | |
| 116 lispref/back.texi \ | |
| 117 lispref/backups.texi \ | |
| 118 lispref/buffers.texi \ | |
| 119 lispref/building.texi \ | |
| 120 lispref/commands.texi \ | |
| 121 lispref/compile.texi \ | |
| 122 lispref/consoles-devices.texi \ | |
| 123 lispref/control.texi \ | |
| 124 lispref/customize.texi \ | |
| 125 lispref/databases.texi \ | |
| 126 lispref/debugging.texi \ | |
| 127 lispref/dialog.texi \ | |
| 128 lispref/display.texi \ | |
| 129 lispref/dragndrop.texi \ | |
| 130 lispref/edebug-inc.texi \ | |
| 131 lispref/edebug.texi \ | |
| 132 lispref/errors.texi \ | |
| 133 lispref/eval.texi \ | |
| 134 lispref/extents.texi \ | |
| 135 lispref/faces.texi \ | |
| 136 lispref/files.texi \ | |
| 137 lispref/frames.texi \ | |
| 138 lispref/functions.texi \ | |
| 139 lispref/glyphs.texi \ | |
| 140 lispref/hash-tables.texi \ | |
| 141 lispref/help.texi \ | |
| 142 lispref/hooks.texi \ | |
| 143 lispref/index.texi \ | |
| 144 lispref/internationalization.texi \ | |
| 145 lispref/intro.texi \ | |
| 146 lispref/keymaps.texi \ | |
| 147 lispref/ldap.texi \ | |
| 148 lispref/lispref.texi \ | |
| 149 lispref/lists.texi \ | |
| 150 lispref/loading.texi \ | |
| 151 lispref/locals.texi \ | |
| 152 lispref/macros.texi \ | |
| 153 lispref/maps.texi \ | |
| 154 lispref/markers.texi \ | |
| 155 lispref/menus.texi \ | |
| 156 lispref/minibuf.texi \ | |
| 157 lispref/modes.texi \ | |
| 158 lispref/mouse.texi \ | |
| 159 lispref/mule.texi \ | |
| 160 lispref/numbers.texi \ | |
| 161 lispref/objects.texi \ | |
| 162 lispref/os.texi \ | |
| 163 lispref/positions.texi \ | |
| 164 lispref/processes.texi \ | |
| 165 lispref/range-tables.texi \ | |
| 166 lispref/scrollbars.texi \ | |
| 167 lispref/searching.texi \ | |
| 168 lispref/sequences.texi \ | |
| 169 lispref/specifiers.texi \ | |
| 170 lispref/streams.texi \ | |
| 171 lispref/strings.texi \ | |
| 172 lispref/symbols.texi \ | |
| 173 lispref/syntax.texi \ | |
| 174 lispref/text.texi \ | |
| 175 lispref/tips.texi \ | |
| 176 lispref/toolbar.texi \ | |
| 177 lispref/tooltalk.texi \ | |
| 178 lispref/variables.texi \ | |
| 179 lispref/windows.texi \ | |
| 180 lispref/x-windows.texi | |
| 181 | |
| 182 internals-srcs = \ | |
| 183 internals/internals.texi | |
| 184 | |
| 185 new-users-guide-srcs = \ | |
| 186 new-users-guide/custom1.texi \ | |
| 187 new-users-guide/custom2.texi \ | |
| 188 new-users-guide/edit.texi \ | |
| 189 new-users-guide/enter.texi \ | |
| 190 new-users-guide/files.texi \ | |
| 191 new-users-guide/help.texi \ | |
| 192 new-users-guide/modes.texi \ | |
| 193 new-users-guide/new-users-guide.texi \ | |
| 194 new-users-guide/region.texi \ | |
| 195 new-users-guide/search.texi \ | |
| 196 new-users-guide/xmenu.texi | |
| 197 | |
| 198 $(INFODIR)/cl.info : cl.texi | |
| 199 $(MAKEINFO) -o $(INFODIR)/cl.info cl.texi | |
| 200 | |
| 201 $(INFODIR)/custom.info : custom.texi | |
| 202 $(MAKEINFO) -o $(INFODIR)/custom.info custom.texi | |
| 203 | |
| 204 $(INFODIR)/emodules.info : emodules.texi | |
| 205 $(MAKEINFO) -o $(INFODIR)/emodules.info emodules.texi | |
| 206 | |
| 207 $(INFODIR)/external-widget.info : external-widget.texi | |
| 208 $(MAKEINFO) -o $(INFODIR)/external-widget.info external-widget.texi | |
| 209 | |
| 210 $(INFODIR)/info.info : info.texi | |
| 211 $(MAKEINFO) -o $(INFODIR)/info.info info.texi | |
| 212 | |
| 213 $(INFODIR)/standards.info : standards.texi | |
| 214 $(MAKEINFO) -o $(INFODIR)/standards.info standards.texi | |
| 215 | |
| 216 $(INFODIR)/term.info : term.texi | |
| 217 $(MAKEINFO) -o $(INFODIR)/term.info term.texi | |
| 218 | |
| 219 $(INFODIR)/termcap.info : termcap.texi | |
| 220 $(MAKEINFO) -o $(INFODIR)/termcap.info termcap.texi | |
| 221 | |
| 222 $(INFODIR)/texinfo.info : texinfo.texi | |
| 223 $(MAKEINFO) -o $(INFODIR)/texinfo.info texinfo.texi | |
| 224 | |
| 225 $(INFODIR)/widget.info : widget.texi | |
| 226 $(MAKEINFO) -o $(INFODIR)/widget.info widget.texi | |
| 227 | |
| 228 $(INFODIR)/xemacs-faq.info : xemacs-faq.texi | |
| 229 $(MAKEINFO) -o $(INFODIR)/xemacs-faq.info xemacs-faq.texi | |
| 230 | |
| 231 # Manuals with their own subdirectory | |
| 232 $(INFODIR)/xemacs.info : $(xemacs-srcs) | |
| 233 $(MAKEINFO) -P xemacs -o $(INFODIR)/xemacs.info xemacs/xemacs.texi | |
| 234 | |
| 235 $(INFODIR)/lispref.info : $(lispref-srcs) | |
| 236 $(MAKEINFO) -P lispref -o $(INFODIR)/lispref.info lispref/lispref.texi | |
| 237 | |
| 238 $(INFODIR)/internals.info : $(internals-srcs) | |
| 239 $(MAKEINFO) -P internals -o $(INFODIR)/internals.info internals/internals.texi | |
| 240 | |
| 241 $(INFODIR)/new-users-guide.info : $(new-users-guide-srcs) | |
| 242 $(MAKEINFO) -P new-users-guide -o $(INFODIR)/new-users-guide.info new-users-guide/new-users-guide.texi | |
| 243 | |
| 244 # $(INFODIR)/w3.info : w3.texi | |
| 245 # $(MAKEINFO) -o $(INFODIR)/w3.info w3.texi | |
| 246 | |
| 247 # EMACS = ../src/xemacs | |
| 248 # EMACSFLAGS = -batch -q -no-site-file | |
| 249 | |
| 250 # $(INFODIR)/vm.info : vm.texi | |
| 251 # -$(EMACS) $(EMACSFLAGS) -insert vm.texi -l texinfmt \ | |
| 252 # -f texinfo-format-buffer -f save-buffer | |
| 253 # -mv vm.info* $(INFODIR)/. | |
| 254 | |
| 255 # special = # $(INFODIR)/vm.info $(INFODIR)/texinfo.info | |
| 256 | |
| 257 xemacs : $(INFODIR)/xemacs.info | |
| 258 lispref : $(INFODIR)/lispref.info | |
| 259 internals : $(INFODIR)/internals.info | |
| 260 new-users-guide.info : $(INFODIR)/new-users-guide.info | |
| 261 | |
| 262 .PHONY : xemacs lispref internals new-users-guide info dvi | |
| 263 | |
| 264 info : $(info_files) | |
| 265 | |
| 266 # tm: FRC.tm | |
| 267 # cd ./tm && $(RECURSIVE_MAKE) | |
| 268 # gnats: FRC.gnats | |
| 269 # cd ./gnats && $(RECURSIVE_MAKE) | |
| 270 # FRC.xemacs FRC.lispref FRC.new-users-guide FRC.internals FRC.tm FRC.gnats: | |
| 271 | |
| 272 .PHONY: info dvi | |
| 273 | |
| 274 .texi.dvi: | |
| 275 -$(TEXI2DVI) $< | |
| 276 | |
| 277 xemacs.dvi : $(xemacs-srcs) | |
| 278 $(TEXI2DVI) -I xemacs xemacs/xemacs.texi | |
| 279 | |
| 280 lispref.dvi : $(lispref-srcs) | |
| 281 $(TEXI2DVI) -I lispref lispref/lispref.texi | |
| 282 | |
| 283 internals.dvi : $(internals-srcs) | |
| 284 $(TEXI2DVI) -I internals internals/internals.texi | |
| 285 | |
| 286 new-users-guide.dvi : $(new-users-guide-srcs) | |
| 287 $(TEXI2DVI) -I new-users-guide new-users-guide/new-users-guide.texi | |
| 288 | |
| 289 dvi : $(dvi_files) | |
| 290 | |
| 291 .PHONY: mostlyclean clean distclean realclean extraclean | |
| 292 mostlyclean: | |
| 293 rm -f *.toc *.aux *.log *.op *.cp *.cps *.fn *.fns | |
| 294 rm -f *.ky *.kys *.pg *.pgs *.tp *.tps *.vr *.vrs | |
| 295 clean: mostlyclean | |
| 296 rm -f core *.dvi | |
| 297 distclean: clean | |
| 298 realclean: distclean | |
| 299 extraclean: distclean | |
| 300 rm -f *~ \#* */*~ */\#* |
