annotate Makefile.in @ 1675:2d6fee9f818d

* Makefile.in (exec_prefix): New variable. (bindir, libdir): Use it instead of `prefix'. * Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too. * Makefile.in (libdir): Default to ${prefix}/lib. (archlibdir): Adjusted to match. * Makefile.in (distclean): Don't delete backup or autosave files. (extraclean): Like realclean, but does delete backup and autosave files. * Makefile.in (realclean): Ignore errors from rm. * Makefile.in (distclean): Don't bother to delete ../arch-lib; that doesn't exist anymore. * Makefile.in (prefix, bindir, libdir, srcdir): New variables, as described in the top-level Makefile. (UTILITIES): Add make-path to the list of utility programs. (../arch-lib): Replaced by the ${archlibdir} target, which places the executables in their permanent home. (install, install.sysv, install.xenix): Consolidated into one target which should work under all circumstances, modulo a few ignored error messages.
author Jim Blandy <jimb@redhat.com>
date Sat, 12 Dec 1992 15:24:50 +0000
parents bd3afc204773
children 10650dfc82d0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
1 # DIST: This is the distribution Makefile for Emacs. configure can
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
2 # DIST: make most of the changes to this file you might want, so try
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
3 # DIST: that first.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
4
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
5 # make all to compile and build Emacs.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
6 # make install to install it.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
7 # make install.sysv to install on system V. Note that on system V you
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
8 # must change mandir to /usr/local/man/man1.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
9 # make install.xenix to install on Xenix.
596
d02d6c2f7f80 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 550
diff changeset
10 # make install.aix to install on AIX.
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
11 # make tags to update tags tables.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
12 #
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
13 # make distclean to delete everything that wasn't in the distribution.
1111
95f094fdd81e entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1035
diff changeset
14 # This is a very dangerous thing to do! It removes backup files,
95f094fdd81e entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1035
diff changeset
15 # among other things.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
16 # make clean
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
17 # This is a little less dangerous.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
18 # make dist
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
19 # This produces a tar file from the current source tree suitable
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
20 # for redistribution.
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
21
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
22 SHELL = /bin/sh
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
23
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
24 # ==================== Where To Install Things ====================
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
25
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
26 version=version-not-set
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
27 configname=configuration-name-not-set
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
28
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
29 # The default location for installation. Everything is placed in
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
30 # subdirectories of this directory. This directory must exist when
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
31 # you start installation. The default values for many of the
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
32 # variables below are expressed in terms of this one, so you may not
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
33 # need to change them.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
34 prefix=/usr/local
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
35
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
36 # Where to install Emacs and other binaries that people will want to
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
37 # run directly (like etags).
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
38 bindir=${prefix}/bin
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
39
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
40 # Where to install architecture-independent data files. ${lispdir}
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
41 # and ${etcdir} are below this.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
42 datadir=${prefix}/lib/emacs/${version}
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
43
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
44 # Where to install and expect the files that Emacs modifies as it
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
45 # runs. These files are all architecture-independent. Right now,
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
46 # the only such data is the locking directory.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
47 statedir=${prefix}/lib/emacs
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
48
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
49 # Where to install and expect executable files to be run by Emacs
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
50 # rather than directly by users, and other architecture-dependent
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
51 # data.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
52 libdir=${prefix}/${version}/${configname}
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
53
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
54 # Where to install Emacs's man pages, and what extension they should have.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
55 mandir=/usr/man/man1
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
56 manext=.1
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
57
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
58 # Where to install and expect the info files describing Emacs. In the
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
59 # past, this defaulted to a subdirectory of ${prefix}/lib/emacs, but
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
60 # since there are now many packages documented with the texinfo
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
61 # system, it is inappropriate to imply that it is part of Emacs.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
62 infodir=${prefix}/info
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
63
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
64 # Where to find the source code. The source code for Emacs's C kernel
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
65 # is expected to be in ${srcdir}/src, and the source code for Emacs's
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
66 # utility programs is expected to be in ${srcdir}/lib-src.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
67 # This is set by the configure script's `--srcdir' option.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
68 srcdir=.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
69
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
70
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
71 # ==================== Emacs-specific directories ====================
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
72
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
73 # Where to install the elisp files distributed with Emacs.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
74 lispdir=${datadir}/lisp
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
75
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
76 # Directories Emacs should search for elisp files specific to this
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
77 # site (i.e. customizations), before consulting ${lispdir}. This
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
78 # should be a colon-separated list of directories.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
79 locallisppath=${prefix}/lib/emacs/local-lisp
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
80
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
81 # Where Emacs will search to find its elisp files. Before changing
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
82 # this, check to see if your purpose wouldn't better be served by
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
83 # changing locallisppath. This should be a colon-separated list of
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
84 # directories.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
85 lisppath=${locallisppath}:${lispdir}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
86
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
87 # Where Emacs will search for its elisp files while building. This is
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
88 # only used during the process of compiling Emacs, to help Emacs find
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
89 # its lisp files before they've been installed in their final
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
90 # location. It's usually identical to lisppath, except that the entry
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
91 # for the directory containing the installed lisp files has been
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
92 # replaced with ../lisp. This should be a colon-separated list of
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
93 # directories.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
94 buildlisppath=../lisp
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
95
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
96 # Where to install the other architecture-independent data files
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
97 # distributed with Emacs (like the tutorial, the cookie recipes and
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
98 # the Zippy database).
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
99 etcdir=${datadir}/etc
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
100
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
101 # Where to create and expect the locking directory, where the Emacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
102 # locking code keeps track of which files are currently being edited.
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
103 lockdir=${statedir}/lock
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
104
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
105 # Where to put executables to be run by Emacs rather than the user.
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
106 archlibdir=${libdir}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
107
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
108 # ==================== Things `configure' might edit ====================
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
109
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
110 CC=cc
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
111 CFLAGS=-g
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
112
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
113 # ==================== Utility Programs for the Build ====================
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
114
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
115 # Allow the user to specify the install program.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
116 INSTALL = install
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
117 INSTALLFLAGS = -c
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
118 INSTALL_PROGRAM = ${INSTALL}
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
119 INSTALL_DATA = ${INSTALL}
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
120
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
121 # ============================= Targets ==============================
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
122
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
123 # Flags passed down to subdirectory makefiles.
1647
bd3afc204773 Now partially conforms with GNU coding standards. I'm only checking
Jim Blandy <jimb@redhat.com>
parents: 1111
diff changeset
124 MFLAGS = CC='${CC}' CFLAGS='${CFLAGS}'
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
125
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
126 # Subdirectories to make recursively. `lisp' is not included
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
127 # because the compiled lisp files are part of the distribution
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
128 # and you cannot remake them without installing Emacs first.
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
129 SUBDIR = lib-src src
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
130
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
131 # Subdirectories to install, and where they'll go.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
132 COPYDIR = arch-lib etc info lisp
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
133 COPYDESTS = ${libdir} ${datadir} ${infodir} ${lispdir}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
134
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
135 all: src/paths.h ${SUBDIR}
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
136
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
137 removenullpaths=sed -e 's/^://' -e 's/:$$//' -e 's/::/:/'
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
138
1035
56b6d2f4383a *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 749
diff changeset
139 # Note that sed is not in /bin on 386bsd.
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
140 src/paths.h: Makefile src/paths.h.in
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
141 lisppath=`echo ${lisppath} | ${removenullpaths}` ; \
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
142 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \
1111
95f094fdd81e entered into RCS
Jim Blandy <jimb@redhat.com>
parents: 1035
diff changeset
143 sed < src/paths.h.in > src/paths.h.tmp \
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
144 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
145 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
146 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${libdir}";' \
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
147 -e 's;\(#.*PATH_DATA\).*$$;\1 "${datadir}";' \
624
2bb7f23b7ea5 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 621
diff changeset
148 -e 's;\(#.*PATH_LOCK\).*$$;\1 "${lockdir}/";'
638
40b255f55df3 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 624
diff changeset
149 ./move-if-change src/paths.h.tmp src/paths.h
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
150
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
151 src: lib-src
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
152
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
153 .RECURSIVE: ${SUBDIR}
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
154
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
155 ${SUBDIR}: FRC
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
156 cd $@; make ${MFLAGS} all
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
157
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
158 install: all mkdir lockdir
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
159 -set ${COPYDESTS} ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
160 for dir in ${COPYDIR} ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
161 dest=$$1 ; shift ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
162 if [ `/bin/pwd`/$${dir} != `(cd $${dest}; /bin/pwd)` ] ; then \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
163 (cd $${dir}; tar cf - . ) | (cd $${dest}; umask 0; tar xf - ) ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
164 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
165 rm -rf $${subdir}/RCS ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
166 rm -f $${subdir}/\#* ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
167 rm -f $${subdir}/*~ ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
168 done ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
169 fi ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
170 done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
171 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -c arch-lib/emacsclient ${bindir}/emacsclient
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
172 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -c arch-lib/etags ${bindir}/etags
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
173 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -c arch-lib/ctags ${bindir}/ctags
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
174 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -c -m 1755 src/xemacs ${bindir}/xemacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
175 ${INSTALL_DATA} ${INSTALLFLAGS} -c -m 444 etc/emacs.1 ${mandir}/emacs.1
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
176 -rm -f ${bindir}/emacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
177 mv ${bindir}/xemacs ${bindir}/emacs
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
178
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
179 install.sysv: all mkdir lockdir
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
180 -set ${COPYDESTS} ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
181 for dir in ${COPYDIR} ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
182 dest=$$1 ; shift ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
183 if [ `/bin/pwd`/$${dir} != `(cd $${dest}; /bin/pwd)` ] ; then \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
184 (cd $${dir}; find . -print | cpio -pdum ${dest} ) ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
185 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
186 rm -rf $${subdir}/RCS ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
187 rm -f $${subdir}/\#* ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
188 rm -f $${subdir}/*~ ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
189 done ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
190 fi ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
191 done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
192 -cpset arch-lib/emacsclient ${bindir}/emacsclient 755 bin bin
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
193 -cpset arch-lib/etags ${bindir}/etags 755 bin bin
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
194 -cpset arch-lib/ctags ${bindir}/ctags 755 bin bin
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
195 -cpset etc/emacs.1 ${mandir}/emacs.1 444 bin bin
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
196 -/bin/rm -f ${bindir}/emacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
197 -cpset src/xemacs ${bindir}/emacs 1755 bin bin
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
198
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
199 install.xenix: all mkdir lockdir
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
200 -set ${COPYDESTS} ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
201 for dir in ${COPYDIR} ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
202 dest=$$1 ; shift ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
203 if [ `/bin/pwd`/$${dir} != `(cd $${dest}; /bin/pwd)` ] ; then \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
204 (cd $${dir}; tar cf - . ) | (cd $${dest}; umask 0; tar xpf - ) ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
205 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
206 rm -rf $${subdir}/RCS ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
207 rm -f $${subdir}/\#* ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
208 rm -f $${subdir}/*~ ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
209 done ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
210 fi ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
211 done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
212 cp arch-lib/etags arch-lib/ctags arch-lib/emacsclient ${bindir}
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
213 chmod 755 ${bindir}/etags ${bindir}/ctags ${bindir}/emacsclient
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
214 cp etc/emacs.1 ${mandir}/emacs.1
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
215 chmod 444 ${mandir}/emacs.1
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
216 -mv -f ${bindir}/emacs ${bindir}/emacs.old
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
217 cp src/xemacs ${bindir}/emacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
218 chmod 1755 ${bindir}/emacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
219 -rm -f ${bindir}/emacs.old
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
220
596
d02d6c2f7f80 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 550
diff changeset
221 install.aix: all mkdir lockdir
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
222 -set ${COPYDESTS} ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
223 for dir in ${COPYDIR} ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
224 dest=$$1 ; shift ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
225 if [ `/bin/pwd`/$${dir} != `(cd $${dest}; /bin/pwd)` ] ; then \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
226 (cd $${dir}; tar cf - . ) | (cd $${dest}; umask 0; tar xBf - ) ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
227 for subdir in `find $${dest} -type d ! -name RCS -print` ; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
228 rm -rf $${subdir}/RCS ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
229 rm -f $${subdir}/\#* ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
230 rm -f $${subdir}/*~ ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
231 done ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
232 fi ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
233 done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
234 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -f ${bindir} etc/emacsclient
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
235 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -f ${bindir} etc/etags
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
236 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -f ${bindir} etc/ctags
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
237 ${INSTALL_PROGRAM} ${INSTALLFLAGS} -M 1755 -f ${bindir} src/xemacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
238 ${INSTALL_DATA} ${INSTALLFLAGS} -M 444 -f ${mandir} etc/emacs.1
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
239 -rm -f ${bindir}/emacs
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
240 mv ${bindir}/xemacs ${bindir}/emacs
596
d02d6c2f7f80 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 550
diff changeset
241
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
242 # Build all the directories
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
243 mkdir: FRC
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
244 # If any of the directories are below ${emacsdir}, create it.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
245 -for dir in ${COPYDESTS}; do \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
246 case "$${dir}" in \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
247 ${emacsdir}/* ) \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
248 if [ ! -d ${emacsdir} ]; then \
704
2aacd42951ef *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 638
diff changeset
249 mkdir ${emacsdir} ; \
2aacd42951ef *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 638
diff changeset
250 chmod 777 ${emacsdir} ; \
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
251 fi ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
252 break\
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
253 ;; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
254 esac ; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
255 done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
256 -mkdir ${COPYDESTS}
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
257 -chmod 777 ${COPYDESTS}
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
258
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
259 lockdir:
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
260 # If the lockdir needs ${emacsdir}, create it.
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
261 -case "${lockdir}" in \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
262 ${statedir}/* ) \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
263 if [ ! -d ${emacsdir} ]; then \
704
2aacd42951ef *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 638
diff changeset
264 mkdir ${emacsdir} ; \
2aacd42951ef *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 638
diff changeset
265 chmod 777 ${emacsdir} ; \
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
266 fi \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
267 ;; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
268 esac
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
269 -mkdir ${LOCKDIR}
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
270 -chmod 777 ${LOCKDIR}
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
271
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
272 FRC:
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
273
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
274 clean mostlyclean:
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
275 cd src; make clean
749
593af70322f0 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 728
diff changeset
276 if [ `/bin/pwd` != `(cd ${emacsdir}; /bin/pwd)` ] ; then \
593af70322f0 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 728
diff changeset
277 (cd etc; make clean); \
593af70322f0 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 728
diff changeset
278 (cd lib-src; make clean); \
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
279 else true; \
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
280 fi
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
281 cd oldXMenu; make clean
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
282
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
283 distclean:
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
284 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} distclean); done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
285 -(cd lock; rm *)
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
286 -rm config.status config-tmp-*
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
287 -rm #*# *~
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
288
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
289 realclean:
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
290 for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} realclean); done
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
291 (cd lock; rm *)
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
292 rm config.status
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
293
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
294 TAGS tags: lib-src
491
77c38d1bc8a8 Initial revision
Jim Blandy <jimb@redhat.com>
parents:
diff changeset
295 cd src; ../arch-lib/etags *.[ch] ../lisp/*.el ../lisp/term/*.el
617
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
296
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
297 check:
cde1f15848c6 *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 604
diff changeset
298 @echo "We don't have any tests for GNU Emacs yet."
621
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
299
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
300 dist:
eca8812e61cd *** empty log message ***
Jim Blandy <jimb@redhat.com>
parents: 617
diff changeset
301 make-dist