Mercurial > hg > xemacs-beta
comparison man/new-users-guide/Makefile @ 0:376386a54a3c r19-14
Import from CVS: tag r19-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:45:50 +0200 |
parents | |
children | 4b173ad71786 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:376386a54a3c |
---|---|
1 # Makefile for the XEmacs New Users Guide | |
2 # | |
3 # based on XEmacs Makefile | |
4 | |
5 # Redefine `TEX' if `tex' does not invoke plain TeX. For example: | |
6 # TEX=platex | |
7 | |
8 TEX=tex | |
9 | |
10 # Where the TeX macros are kept: | |
11 texmacrodir = /usr/local/lib/tex/macros | |
12 | |
13 # Where the Emacs hierarchy lives ($EMACS in the INSTALL document for Emacs.) | |
14 # For example: | |
15 # emacslibdir = /usr/local/gnu/lib/emacs | |
16 | |
17 # Directory where Emacs is installed, by default: | |
18 emacslibdir = /usr/local/emacs | |
19 | |
20 # Unless you have a nonstandard Emacs installation, these shouldn't have to | |
21 # be changed. | |
22 prefix = /usr/local | |
23 infodir = ${prefix}/info | |
24 | |
25 # The name of the manual: | |
26 | |
27 NAME=new-users-guide | |
28 | |
29 # List of all the texinfo files in the manual: | |
30 | |
31 srcs = new-users-guide.texi custom1.texi files.texi region.texi \ | |
32 custom2.texi help.texi search.texi edit.texi modes.texi \ | |
33 xmenu.texi enter.texi | |
34 | |
35 all: ../../info/$(NAME).info | |
36 | |
37 $(NAME).dvi: $(srcs) ../texindex | |
38 # Avoid losing old contents of aux file entirely. | |
39 -mv $(NAME).aux $(NAME).oaux | |
40 # First shot to define xrefs: | |
41 $(TEX) $(NAME).texi | |
42 ../texindex $(NAME).?? | |
43 $(TEX) $(NAME).texi | |
44 | |
45 ../../info/$(NAME).info: $(srcs) ../makeinfo | |
46 ../makeinfo $(NAME).texi | |
47 | |
48 mostlyclean: | |
49 rm -f *.toc *.aux *.oaux *.log *.cp *.cps *.fn *.fns *.tp *.tps \ | |
50 *.vr *.vrs *.pg *.pgs *.ky *.kys | |
51 | |
52 clean: mostlyclean | |
53 rm -f *.dvi *.ps | |
54 rm -f make.out core | |
55 | |
56 distclean: clean | |
57 realclean: distclean | |
58 extraclean: distclean | |
59 -rm -f *~ \#* | |
60 | |
61 ../texindex: | |
62 (cd ..; make texindex) | |
63 | |
64 ../makeinfo: | |
65 (cd ..; make makeinfo) |