1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-03 08:30:09 +00:00
Commit Graph

313 Commits

Author SHA1 Message Date
Richard M. Stallman
e17d711780 (CPPFLAGS): Get this from configure, like CFLAGS. 1997-07-30 04:22:56 +00:00
Richard M. Stallman
bb5f88cc4e (LDFLAGS): Get this from configure, like CFLAGS. 1997-07-27 21:40:24 +00:00
Richard M. Stallman
b1b7afc798 (top_distclean): Use -f to delete contents of lock dir. 1997-07-21 18:42:03 +00:00
Kenichi Handa
fa2ea19a90 (mostlyclean): Add cleaning leim directory.
(clean, distclean, maintainer-clean): Likewise.
1997-07-09 06:55:18 +00:00
Kenichi Handa
d7d265f471 (install-arch-indep): Correct the target name.
The first letter `i' was dropped by the previous change of mine.
1997-07-07 05:35:53 +00:00
Richard M. Stallman
c10f84fbab (install-leim): Correct previous change. 1997-07-05 00:20:22 +00:00
Kenichi Handa
24127cf7ec (install-leim): New target. 1997-07-02 06:45:51 +00:00
Kenichi Handa
c55db078cf (SUBDIR): Add leim.
(SUBDIR_MAKEFILES): Add leim/Makefile.
(leim/Makefile): New target.
1997-07-01 07:05:03 +00:00
Richard M. Stallman
f2f4aae9af (src/config.stamp): Target renamed from src/config.h and touch it explicitly. 1997-06-23 02:53:36 +00:00
Richard M. Stallman
a5f32ce4b5 (lib-src): Depend on src/config.h (e.g. for movemail.o).
(src/config.h): New target to re-configure if src/config.in is patched.
1997-06-23 02:30:36 +00:00
Richard M. Stallman
a05e04088e (dist): Don't run update-subdirs here,
since make-dist now gets that done.
1997-05-12 01:03:02 +00:00
Richard M. Stallman
c1b8c54517 (INSTALL_STRIP): New variable.
(install-strip): Set INSTALL_STRIP, not INSTALL_PROGRAM.
(install-arch-dep): Use INSTALL_STRIP, and pass it to lib-src.
1996-08-29 20:54:02 +00:00
Richard M. Stallman
12daf453b8 (paths-force): Don't print a message. 1996-08-22 19:28:44 +00:00
Richard M. Stallman
0a0dca7374 (src/paths.h): Target deleted.
(paths-force): Delete all dependencies on this target
but don't delete the target.
(install): Depend on `all'.
1996-08-22 19:28:01 +00:00
Richard M. Stallman
44f4198d01 (install-arch-indep): Install info/messages. 1996-08-15 18:48:58 +00:00
Richard M. Stallman
7d2cdc3cc7 (install-arch-indep): If cd etc makes output,
don't treat that as part of the tar data.
Check that ./lisp actually exists.
1996-06-03 20:06:27 +00:00
Richard M. Stallman
b9440f7e80 (install-strip): Get rid of continuation. 1996-03-23 04:25:29 +00:00
Richard M. Stallman
2be2d71d64 (install-strip): Fix whitespace. 1996-03-22 20:53:20 +00:00
Richard M. Stallman
8df9abae9e (install-strip): New target.
(top_distclean): Use `|| true' to ignore error in rm.
-f failed to do the job on Suns.
1996-03-20 14:51:42 +00:00
Richard M. Stallman
d7ce568fab (install-arch-dep): Don't depend on install-arch-indep. 1996-03-17 15:24:35 +00:00
Richard M. Stallman
e4ca0c5f8b (install-arch-dep): Depend on install-arch-indep.
(install): Put install-arch-indep before install-arch-dep.
1996-02-23 21:44:18 +00:00
Richard M. Stallman
9ca335ed3c (install-arch-indep): Install info/ccmode*.
(install-arch-indep): Copy build-dir's lisp subdir to lispdir.
Protect against /bin/pwd returning null string.
1996-02-12 19:53:16 +00:00
Richard M. Stallman
9e8886a827 (extraclean): Use ${top_distclean} to ensure
we delete everything distclean deletes.
1996-01-25 06:59:38 +00:00
Karl Heuer
3577cff0c7 (install-arch-indep): Ignore error if no chmod -R. 1996-01-10 19:43:03 +00:00
Richard M. Stallman
d7e2eff6c1 (install-arch-indep): Give all files read permission. 1995-12-31 19:21:18 +00:00
Karl Heuer
99d7a69de1 Improve copying status message. 1995-12-21 08:01:26 +00:00
Erik Naggum
6e2f2e9215 Add missing backslash. 1995-11-30 03:43:50 +00:00
Richard M. Stallman
efe7425c30 (install-arch-indep): Don't install
lispdir/[Mm]akefile*, lispdir/ChangeLog, lispdir/dired.todo.
1995-11-29 20:41:52 +00:00
Richard M. Stallman
27116657a3 (install-arch-indep): Rename old info/dir only if exists. 1995-11-16 21:59:46 +00:00
Richard M. Stallman
88e7bbf15c (mkdir): Create man1dir, not mandir.
(uninstall): Use man1dir, not mandir.

(man1dir): New variable.
(install-arch-indep): Use man1dir.
1995-11-11 20:52:52 +00:00
Richard M. Stallman
a5038ae595 (distclean): Delete line with just a tab in it.
(install-arch-indep): Delete spaces that precede tabs.
Delete spurious `fi' left from previous change.
(install): Supply `true' as command, to avoid null command.
1995-10-23 17:01:39 +00:00
Karl Heuer
8d61b1e0d0 (src/paths.h, paths-force): Use paths.h.$$ instead
of paths.h.tmp$$, to avoid going beyond 14 characters.
1995-09-12 17:45:33 +00:00
Richard M. Stallman
469dd2ef08 (install-arch-indep): Always install the new dir file;
rename the previous dir file to dir.bak or dir.old.
1995-09-06 15:18:29 +00:00
Richard M. Stallman
d58c5947af (src/paths.h, paths-force): Rename src/paths.h.in to src/paths.in.
(Makefile): Depend on src/Makefile.in, not src/Makefile.in.in.
1995-07-18 06:07:25 +00:00
Richard M. Stallman
1eb9aca7ae (uninstall, install-arch-indep): Install info/ediff*. 1995-07-07 13:21:20 +00:00
Richard M. Stallman
dffd6dac05 (mkdir): Use symbolic chmod.
(SUBDIR_MAKEFILES):
Add man/Makefile, so `make distclean' removes it.
(top_distclean): Add config.log to the list of files to be removed.
1995-06-24 18:43:39 +00:00
Karl Heuer
5c4276bc6d (install-arch-indep): Install info files for mh-e.
(uninstall): Uninstall info files for dired-x, gnus, mh-e, and sc.
1995-06-06 03:11:10 +00:00
Richard M. Stallman
7e5e0277f0 (top_distclean): Delete config.cache. 1995-04-13 04:56:20 +00:00
Richard M. Stallman
3d4be9d662 (install-arch-indep): Delete .#* when copying subdirs. 1995-04-07 23:00:37 +00:00
Richard M. Stallman
94802f45ce (install-arch-indep): Undo Sep 23 change. 1995-04-06 21:53:21 +00:00
Richard M. Stallman
b45949948b (install-arch-indep, dist): look for `update-subdir' in $(srcdir). 1995-04-06 21:36:55 +00:00
Richard M. Stallman
df8bde8ba5 (blessmail): Pass archlibdir to the sub-make. 1995-03-12 06:11:27 +00:00
Richard M. Stallman
26873b7234 (maintainer-clean): Renamed from realclean. 1995-02-07 23:55:01 +00:00
Richard M. Stallman
6784fb6772 (dvi): Run Make in our man subdir. 1994-11-23 20:25:48 +00:00
Richard M. Stallman
0ff7e78f58 (install-arch-indep): Delete *.orig in copied dirs. 1994-11-09 11:48:21 +00:00
Roland McGrath
3e809b9f19 (install-arch-indep): Avoid continued comment swallowing target line. 1994-11-09 00:25:38 +00:00
Karl Heuer
6b356ee89a Don't rm files if cd fails. 1994-11-03 20:24:53 +00:00
Richard M. Stallman
3e74e344a7 (sharedstatedir): Substitute sharedstatedir properly. 1994-10-17 04:28:54 +00:00
Richard M. Stallman
b2f3c6b2b8 (bitmapdir): New variable.
(src/paths.h, paths-force): Edit PATH_BITMAPS.
1994-10-16 10:00:36 +00:00
Richard M. Stallman
24470d727b (top_distclean): Don't rm build-install.
(SOURCES): Delete build-install.in.
1994-10-13 04:04:30 +00:00
David J. MacKenzie
614b45a776 use mkinstalldirs instead of make-path 1994-10-12 23:29:23 +00:00
Richard M. Stallman
2fd54e6462 Use libexecdir and sharedstatedir as appropriate. 1994-10-11 21:36:30 +00:00
Richard M. Stallman
0cf61204e7 (install-arch-indep): Don't do mkdir here. 1994-09-24 01:54:17 +00:00
Richard M. Stallman
0bdd1e863b (paths-force): Depend on src/paths.h 1994-09-20 22:16:26 +00:00
Karl Heuer
969f173557 (install-arch-indep): Copy DOC-*, not DOC* 1994-09-18 23:46:48 +00:00
Richard M. Stallman
05ed817ff1 Use just one FRC target. 1994-09-16 23:36:57 +00:00
Richard M. Stallman
270cc80e38 (removenullpaths, paths-force):
Use name paths.h.tmp$$, which depends on the pid.
1994-09-16 00:03:20 +00:00
Richard M. Stallman
27f314bdd2 (removenullpaths, paths-force):
Put paths.h.tmp in top-level dir, not in src.
1994-09-15 03:47:07 +00:00
Richard M. Stallman
2ec5f0cd7d Uninstall "$(EMACS)", not "emacs". 1994-08-14 06:58:19 +00:00
Richard M. Stallman
90ac71dccd Comment change. 1994-08-09 23:26:13 +00:00
Richard M. Stallman
a2687f7706 (libsrc_libs): Var deleted. 1994-07-07 16:58:14 +00:00
Richard M. Stallman
309848baf4 (mkdir, removenullpaths): Put g in sed replace commands. 1994-07-07 02:44:58 +00:00
Richard M. Stallman
8672a560f6 (install-arch-indep): Use /bin/pwd uniformly, not pwd.
(uninstall): Use /bin/pwd.

(blessmail): Depend on src.
(all): Don't depend on blessmail.

(src/paths.h): Don't force recomputation.
(paths-force): New target; force recomputation of paths.h.
(all): Depend on paths-force.
(src, lib-src): Depend on src/paths.h.
1994-05-27 08:17:46 +00:00
Richard M. Stallman
e6124e9d0c (mostlyclean, clean, distclean, realclean)
(extraclean): Don't act on man subdir if it doesn't exist.
1994-05-21 07:18:39 +00:00
Richard M. Stallman
485c9046e4 (lib-src): Don't depend on src/paths.h. 1994-05-20 07:35:37 +00:00
Richard M. Stallman
f512d050d3 (install): Depend on blessmail. 1994-05-12 10:52:24 +00:00
Richard M. Stallman
928cf89526 (TAGS): Use the makefile in src subdir. 1994-05-12 02:21:17 +00:00
Richard M. Stallman
726d0798d6 (uninstall): When processing lispdir and etcdir,
do nothing unless it exists and is a directory.
1994-05-08 19:51:59 +00:00
Richard M. Stallman
3be1f08e74 (install-arch-indep): Do install info/dired-x*.
Merge code in from install-doc.
(install-doc): Merge code back into install-arch-indep.
(install-arch-dep): Don't depend on install-doc.
1994-05-07 03:15:33 +00:00
Richard M. Stallman
d541babe36 (lib-src): Undo previous change.
(blessmail): New target to run maybe-blessmail in lib-src.
(all): Depend on blessmail.
1994-05-04 05:15:26 +00:00
Richard M. Stallman
a874c10477 (lib-src): Depend on src. 1994-05-03 08:18:08 +00:00
Richard M. Stallman
d39cf9e1f1 (lib-src): Depend on src/paths.h. 1994-04-28 04:14:00 +00:00
Karl Heuer
a1a7207a13 (install-doc): New target.
(install-arch-dep): Depend on install-doc.
(mkdir): Create docdir.
1994-04-26 22:07:10 +00:00
Karl Heuer
9ef7f9f05b (.PHONY, install): Kill reference to obsolete do-install.
(install-arch-dep): Install under the name $(EMACS).
1994-04-23 01:07:04 +00:00
Richard M. Stallman
3c6bcbe708 (install-arch-indep): Don't install dired-x*. 1994-04-19 23:12:49 +00:00
Richard M. Stallman
2dc44cb56a (MAKE): Don't just assign it--use @SET_MAKE@. 1994-04-14 03:42:48 +00:00
Roland McGrath
d59d49d38f (thisdir): Nonsensical variable removed.
(install-arch-indep): Set shell var thisdir=`pwd` before cd and cd back to
$thisdir, rather than the directory `this_dir', which seems exceptionally
unlikely to just happen to be a symlink to the Emacs build directory, which
must have been the intent of the author.
1994-03-24 23:41:29 +00:00
Roland McGrath
5e9e88fde0 (install-arch-indep): Add missing backslash after a `then'. 1994-03-18 00:31:13 +00:00
Richard M. Stallman
ce0b662200 (thisdir): New variable.
(install-arch-indep): Go back to thisdir to run INSTALL_DATA.
1994-03-14 22:08:27 +00:00
Karl Heuer
df5d008dfd Install DOC* in docdir. 1994-02-24 21:18:49 +00:00
Karl Heuer
e408046f80 Use docdir to initialize PATH_DOC in paths.h. 1994-02-22 23:56:15 +00:00
Richard M. Stallman
08068cb6da (install-arch-dep, install-arch-indep):
New targets split up former do-install rule.
(do-install): Target deleted.
1994-02-20 03:25:09 +00:00
Richard M. Stallman
98dfba1b99 (lwlib/Makefile): New target.
(SUBDIR_MAKEFILES): Depend on lwlib/Makefile.
(clean, mostlyclean, distclean, realclean): Handle lwlib subdir.
(unlock, relock): Handle lwlib subdir.

Add some .PHONY targets.
1994-01-19 00:04:56 +00:00
Richard M. Stallman
9ba43e124a (do-install): Install the dired-x info files. 1994-01-15 15:20:34 +00:00
Richard M. Stallman
7c811eec1e (${SUBDIR} target): Pass down LDFLAGS and CPPFLAGS. 1994-01-02 18:54:37 +00:00
Richard M. Stallman
653ddcc30b (mkdir): Make only the lockdir writable.
(libdir): Use @libdir@.

(install): Add empty command.

(install): Depend on ${SUBDIR}, not `all'.
1993-12-24 02:28:35 +00:00
Richard M. Stallman
5d9e58e85e (do-install): Use umask 022 in copying etc and lisp dirs. 1993-11-27 09:19:39 +00:00
Richard M. Stallman
8f9150f870 (mkdir): Ignore error from chmod. 1993-11-16 09:20:07 +00:00
Roland McGrath
f854bb66e2 (VPATH): Define to @srcdir@. 1993-10-03 19:55:09 +00:00
Brian Fox
0e265b728e (src/Makefile, lib-src/Makefile, oldXMenu/Makefile): If these files
are out of date, simply have config.status rebuild them; don't rebuild
them explicitly.  Back out MAKEFLAGS change.
1993-09-28 09:41:00 +00:00
Richard M. Stallman
41c7388f93 (@rip_paths@locallisppath): Delete ${datadir}/emacs/site-lisp. 1993-09-20 13:49:26 +00:00
Brian Fox
4b52e0b4ec (do-install): Don't abort if ln or chmod at the end
of the installation fail.  Suggested by Karl Berry.

(*clean): Use "$(MAKE) $(MAKEFLAGS)" wherever "make"
was used.  Set MAKEFLAGS from MFLAGS.
1993-09-20 13:47:22 +00:00
Roland McGrath
1304c993d3 (lib-src/Makefile, src/Makefile, oldXMenu/Makefile): Depend on vpath.sed.
Replace sed comand for VPATH with @vpath_sed@.
1993-09-12 10:49:30 +00:00
Roland McGrath
68c43ec49e (info, dvi, clean, mostlyclean, distclean, realclean, unlock, relock): Use
`$(MAKE)' in place of plain `make'.
1993-09-10 05:18:08 +00:00
Richard M. Stallman
57a16fedc4 (do-install): Install info/sc*. 1993-08-11 18:13:14 +00:00
Richard M. Stallman
19bd42363e (do-install): Install info/gnus*. 1993-08-11 05:53:25 +00:00
Jim Blandy
174be3e7d6 * Makefile.in (src/Makefile): Propagate C_SWITCH_SYSTEM to the src
directory's makefile.  This allows the invocation of CPP which
	builds xmakefile to receive these switches.  The SunSoft C
	preprocessor inserts spaces between tokens if it doesn't get the
	-Xs flag requested in src/s/sol2.h.
1993-07-18 06:10:46 +00:00
Jim Blandy
39b62b3bf3 * Makefile.in (top_distclean): Use -f switch when cleaning out
lock dir; it might be empty.
1993-06-19 21:05:21 +00:00
Jim Blandy
804962796c * Makefile.in (src/Makefile): Don't bother exiting single quotes
and entering double quotes to get the values of LD_SWITCH_X_SITE
	and the other make variables; make substitutes them in anyway.
1993-06-17 02:54:43 +00:00
Jim Blandy
44257b1a3d * Makefile.in (uninstall): Don't remove the lisp and etc
directories if they're in the source tree.
1993-06-17 00:50:19 +00:00
Jim Blandy
d4acf74f7e * Makefile.in (CPP): New variable.
(src/Makefile): Edit CPP into src/Makefile.

        Bring mumbleclean targets into conformance with GNU coding standards.
	* Makefile.in (mostlyclean, clean): Separate these two; just have
	them pass the request to the subdirectory makefiles.
	(distclean): Pass the request down, and then get rid of the
	files configure built, and get rid of the Makefiles.
	(realclean): Pass the request down, and then do the same things
	distclean does.
	(uninstall, info, dvi): New targets.
1993-06-16 23:46:17 +00:00
Richard M. Stallman
86f46642b7 (TAGS): cd to src to run etags. 1993-06-16 06:47:09 +00:00
Jim Blandy
4b5a51c1fe * configure.in: Test for bison.
* Makefile.in (YACC): New variable.
	(lib-src/Makefile.in): Edit YACC into the makefile.

	* Makefile.in (YACC): New variable, to be set by top-level Makefile.
1993-06-09 04:06:57 +00:00
Richard M. Stallman
21e8e1db59 (do-install): Partially rewrite using `if'. 1993-06-02 05:16:03 +00:00
Richard M. Stallman
acfb884cec (do-install): Correct previous etc-copying change.
(src/Makefile): Insert --x-libraries option into LD_SWITCH_X_SITE.
1993-06-01 22:49:36 +00:00
Richard M. Stallman
f8bc869a31 (do-install): Use `-' in tar options. 1993-05-31 21:28:36 +00:00
Richard M. Stallman
af1d3b64a2 (do-install): Copy the DOC-* files from the build
etc directory, as well as lots of things from ${srcdir}/etc.
1993-05-31 06:07:08 +00:00
Jim Blandy
09b89128ef Pass in LD_SWITCH_X_SITE. 1993-05-31 06:03:21 +00:00
Jim Blandy
8fd812d1cd * Makefile.in (mkdir, clean, mostlyclean, do-install): Use `(cd
foo && pwd)` instead of `(cd foo ; pwd)` to get the canonical name
	of a directory; cd might fail, and have pwd print out the current
	directory.
1993-05-30 19:38:49 +00:00
Jim Blandy
04d9326a12 * Makefile.in: Use Makefile comments, not C comments. 1993-05-29 21:11:09 +00:00
Jim Blandy
b305e8e580 * Makefile.in (src:, lib-src:, FRC:): force the src and lib-src
targets to be executed even if make remembers that it has already
	stisfied FRC.
1993-05-29 19:30:26 +00:00
Richard M. Stallman
2b7f46c9a2 (do-install): Delete redundant code to copy etc twice. 1993-05-29 16:38:15 +00:00
Jim Blandy
97c701137d * make-dist: Make a `site-lisp' directory in the distribution,
instead of a `local-lisp' directory, which hasn't been the
	appropriate name for a long time.
	* Makefile.in (@rip_paths@locallisppath): Use site-lisp directory
	from the distribution first, then /usr/local/lib/emacs/site-lisp.
1993-05-28 07:38:26 +00:00
Jim Blandy
65607c1f52 * Makefile.in (do-install): Correctly detect if ./etc and
${srcdir}/etc are the same.
1993-05-28 06:55:13 +00:00
Richard M. Stallman
335bb18dcb (do-install): Add `shift' command. 1993-05-27 23:57:41 +00:00
Richard M. Stallman
78c7997f4d (COPYDESTS, COPYDIR): Delete external-lisp dir.
(externallispdir): Var deleted.
1993-05-27 22:15:01 +00:00
Richard M. Stallman
88190b5416 (do-install): Delete the dest dir, not the source dir,
when they are different.
1993-05-27 22:12:55 +00:00
Jim Blandy
4736b17e0b * Makefile.in (${SUBDIR}): Pass the value of the make variable to
subdirectory makes.
1993-05-27 02:27:22 +00:00
Jim Blandy
c469713a1e * Makefile.in (mkdir): Make all the directories in locallisppath. 1993-05-26 21:50:00 +00:00
Jim Blandy
005775ce97 * Makefile.in (do-install): Don't remove a destination directory
if it's the same as the source.  If ${srcdir}/info == ${infodir},
	don't try to copy the info files.

	* Makefile.in (COPYDIR, COPYDESTS): Don't mention etc twice; this
	doesn't work if you're not using a separate source directory.
	(do-install): Copy the build tree's etc directory only after
	making sure it's not also the source tree's etc directory.
1993-05-26 18:27:58 +00:00
Richard M. Stallman
1969729543 (INSTALL): Add definition. 1993-05-25 20:00:53 +00:00
Jim Blandy
00c2990984 * Makefile.in (srcdir): Remove comment saying this doesn't work. 1993-05-25 14:15:52 +00:00
Jim Blandy
8b14d29674 * Makefile.in (src/paths.h): Edit the `infodir' variable into this
too, as the value of the PATH_INFO macro.

	* Makefile.in (install): Split this into `install' and
	`do-install', to give people more control over exactly what gets
	done.
	(do-install): New target, containing the guts of `install'.  Don't
	remove and recreate the directories inside the copying loop - do
	it all before the copying loop.  Pass more flags to the lib-src
	make.
	(mkdir): Create ${infodir}, ${mandir}, and ${sitelispdir} here, to
	avoid errors and warnings.
1993-05-25 06:18:24 +00:00
Jim Blandy
fe7cd06e97 * Makefile.in: Doc fix. 1993-05-24 16:01:41 +00:00
Jim Blandy
86ddcc58d5 * configure.in: Add support for the `--exec-prefix' option.
* Makefile.in: Accept that support.

	* configure.in: Use the AC_PROG_INSTALL macro.
	* Makefile.in (INSTALL): Variable removed.
	(INSTALL_PROGRAM, INSTALL_DATA): Accept these values from configure.
1993-05-24 06:08:13 +00:00
Jim Blandy
46af2ed8ec * Makefile.in (C_SWITCH_X_SITE): New variable - get this from
configure.in.
	(oldXMenu/Makefile): Edit C_SWITCH_X_SITE into this.
1993-05-23 21:49:20 +00:00
Jim Blandy
8d467c70c0 * configure.in: Implement the --prefix option.
* Makefile.in (prefix): Add support for it here.

	* Makefile.in (install): Don't assume that the files in the `info'
	subdirectory match  *.info.  They don't have that prefix.
1993-05-23 04:42:11 +00:00
Jim Blandy
8b8d8332a0 * Makefile.in (oldXMenu/Makefile): Take oldXMenu/Makefile.in as
the source for the sed command, not oldXMenu/Makefile.
1993-05-18 20:32:36 +00:00
Jim Blandy
f241976e9b * Makefile.in (oldXMenu/Makefile): Make this depend on
${srcdir}/oldXMenu/Makefile.in, not itself.
1993-05-16 00:44:32 +00:00
Jim Blandy
3dbc7e3236 More changes from David J. Mackenzie.
* Makefile.in (install.sysv, install.xenix, install.aix): Targets
	removed; autoconf and config.h should specify all these
	differences.
	(buildlisppath): Make this path depend on ${srcdir}.
	(INSTALLFLAGS): Removed.
	(INSTALL): Include the -c flag.
	(install): Change the way we invoke install accordingly.
1993-05-15 23:57:11 +00:00
Jim Blandy
ddb7302160 Install ${srcdir} changes from DJM.
* Makefile.in (SUBDIR_MAKEFILES): Add oldXMenu/Makefile to this
	list.
	(COPYDIR, COPYDESTS): Install files from both the etc directory in
	the source tree and the etc directory in the object tree.
	(${SUBDIR}): Pass the prefix variable down to submakes.
	(everywhere): Use `sed', not `/bin/sed'.  Not all systems have sed
	in /bin.
	(lib-src/Makefile, src/Makefile, oldXMenu/Makefile): Edit in
	values for srcdir and VPATH.
	(install): Add `v' flag to tar command.  Make sure that `dir'
	exists in ${srcdir}/info before copying it.  Remember that the man
	pages come from the source tree, not the object tree.
	* configure.in: Remove remarks saying that the --srcdir option
	doesn't work.
	Create the etc directory in the object tree.
	Recognize configuration names of the form *-sun-solaris*.
	Recognize sunos5 and solaris as operating system names.
1993-05-15 22:57:27 +00:00
Jim Blandy
6d8856bd6b original log message lost to overeager RCS user -JimB 1993-05-15 21:38:29 +00:00
Jim Blandy
b6472fc16b * Makefile.in (DEFS): Deleted; since we're using AC_CONFIG_HEADER,
this is always just -DHAVE_CONFIG_H.

	The GNU coding standards specify that CFLAGS should be left for
	users to set.
	* Makefile.in (CFLAGS): Let configure determine the default value
	for this.  Don't
	have it default to DEFS.
	(${SUBDIR}): Pass CFLAGS down to submakes, not DEFS.
	(lib-src/Makefile, src/Makefile): Edit the default value for
	CFLAGS into these files, not DEFS.
	* configure.in (CFLAGS): Choose a default value for this - "-g"
	normally, or "-g -O" if we're using GCC.  Edit it into the
	top-level Makefile.

	* configure.in: Add AC_LN_S test, so we can tell whether or not we
	can use a symbolic link to get the X Menu library into src.
	* Makefile.in (LN_S): New variable.
	(src/Makefile): Edit the value of LN_S into this makefile.
1993-05-09 22:51:16 +00:00
Jim Blandy
d3245f70ee * configure.in: Use the AC_ALLOCA test.
* Makefile.in (ALLOCA): New variable, to be set by ./configure.
	(lib-src/Makefile): Edit the value of ALLOCA into lib-src/Makefile.

	* Makefile.in (install): Print out the name of the directory we're
	copying, so people can have some idea of whether we're making
	progress.

	* Makefile.in (install.aix, install.xenix, install.sysv, install):
	Don't forget to re-create the COPYDESTS directories after we clear
	them out.

	* Makefile.in: Add autoconf cookies so that the configure
	script can comment out sections of path variable definitions to
	choose between the installable configuration and the run-in-place
	configuration.
	* configure.in: Add new option `--run-in-place', to select the
	run-in-place path definitions.

	* Makefile.in (install, install.sysv, install.xenix, install.aix):
	Make sure that each source directory exists, and is different from
	the destination directory; then, delete the destination before
	copying over the source.
1993-05-03 02:06:16 +00:00
Jim Blandy
c75ff9db20 * Makefile.in (clean mostlyclean): Missing right paren.
Change `configure' to a mixture of custom code and autoconf stuff.
	autoconf can't derive all the information we need, but we'd really
	like to be able to take advantage of some of its tests, and its
	file-editing facilities.
	* configure.in: Renamed from configure.
	Quote the sections of shell script we want copied literally to
	the configure script.
	(compile): Initialize this to make the autoconf macros' code happy.
	Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
	code to do their jobs.
	Use autoconf to produce Makefile and src/config.h.
	Remove the Makefile-style comment that autoconf places at the top
	of src/config.h.
	(config_h_opts): Removed - no longer necessary.
	* Makefile.in (configname): Renamed to configuration.
	(CONFIG_CFLAGS): Renamed to DEFS.
	(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
	get values via autoload @cookies@.
	(libsrc_libs): Get this from autoconf.  We used to do nothing
	about this.
	(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.

	* Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): Don't
	echo the move-if-change command.
1993-04-10 06:01:49 +00:00
Jim Blandy
7987a1696f lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
use to build paths.h.
	(lib-src/Makefile, src/Makefile): Similarly.
1993-03-30 21:31:15 +00:00
Jim Blandy
80afd15ee0 Arrange for C compilation throughout the tree to get
C_SWITCH_SYSTEM from the configuration files.
	* configure: Extract C_SWITCH_SYSTEM from the machine and
	system-dependent files, and save it in the top-level Makefile.
	* Makefile.in (C_SWITCH_SYSTEM): New flag for configure to edit.
	(lib-src/Makefile): Edit C_SWITCH_SYSTEM into lib-src/Makefile.
1993-03-25 03:51:20 +00:00
Eric S. Raymond
29c0047b07 Added unlock and relock productions. 1993-03-19 07:37:19 +00:00
Eric S. Raymond
a34902abb8 Added `Developer's configuration' section. 1993-03-17 13:23:14 +00:00
Jim Blandy
2009907027 * Makefile.in (install.sysv): Add a second `$' in front of
`${dest}', so that the shell will expand it, instead of Make.
1993-03-11 06:58:20 +00:00
Jim Blandy
c56516d57a * Makefile.in (install, install.aix, install.xenix, install.sysv):
Remove CVS subdirectories from the installed directory trees, as
	well as RCS directories.
1993-03-02 08:28:24 +00:00
Jim Blandy
ab8478d1f1 * Makefile.in (lisppath): Don't include externallispdir in this.
We're not sure whether we're even going to distribute the
	directory yet.
1993-02-23 11:55:05 +00:00
Jim Blandy
ec054e3328 * Makefile.in (${SUBDIR}): Pass CONFIG_CFLAGS to the submakes, not
CFLAGS.

	* Makefile.in (locallisppath): Make this default to
	${datadir}/emacs/site-lisp, instead of
	${datadir}/emacs/local-lisp.  ${datadir} and ${statedir} are often
	the same thing, and local-lisp causes completion conflicts with
	lock.
	(lisppath): Add ${externallispdir} to this.
	* INSTALL: Adjust installation directions.

	* Makefile.in (externallispdir): New variable, to say where to
	install the externally-maintained lisp files.
	(COPYDIR, COPYDESTS): Copy the external lisp directory just like
	the others.
	* INSTALL: Describe external-lisp and the new externallispdir
	variable.
1993-02-22 14:11:28 +00:00
Jim Blandy
83f6a56577 * Makefile.in (COPYDIR, COPYDESTS): Remove ${srcdir}/info and
${infodir} from these variables; we have written out explicit code
	to install the info files.

	* Makefile.in: Some makes can't handle comments in the middle of
	commands; move them to before the whole rule.
1993-02-14 14:26:06 +00:00
Jim Blandy
dbc4e1c129 JimB's changes since January 18th 1993-01-26 01:58:16 +00:00
Richard M. Stallman
08edea3c96 Define MAKE, and use where appropriate. 1993-01-13 22:20:28 +00:00
Jim Blandy
868e080d41 * INSTALL: The build process produces an executable called `emacs'
now.  Change references.
	* Makefile.in: Adjust `install.mumble' targets to install
	`src/emacs', not `src/xemacs'.

	* Makefile.in (install, install.sysv, install.xenix, install.aix):
	Don't try to copy the info files if there aren't any; the
	unexpanded globbing pattern disappoints `install'.  Ignore the
	return status of that command.
1992-12-24 05:56:33 +00:00
Jim Blandy
78008d140e * Makefile.in (install, install.sysv, install.xenix, install.aix):
Install the info files in ${infodir}.  Install the executable
	under both `emacs' and `emacs-VERSION'.

	* Makefile.in: Doc fix.

	* Makefile.in (exec_prefix): New variable, as per latest version
	of coding standards.
	(bindir, libdir): Use it, instead of `prefix'.
	(lib-src/Makefile): Edit value of exec_prefix into lib-src/Makefile.

	* Makefile.in (mandir): Make the default value for this depend on
	$(prefix).

	* Makefile.in (datadir, statedir, libdir): Make these all default
	to ${prefix}/lib.
	(lispdir, locallisppath, etcdir, lockdir, archlibdir): Adjusted
	to compensate.

	* Makefile.in (install, install.sysv, install.xenix, install.aix):
	Install the etags and ctags man pages too.

	* Makefile.in (distclean): Don't delete backup files; that's the
	job of extraclean.
	(extraclean): Like distclean, but deletes backup and autosave files.

	Make path specification conform to GNU coding standards.
	* configure (long_usage): Remove all traces of old arguments from
	usage messages, and document the options we do accept in more
	detail: -with-x... and --srcdir.
	(options, boolean_opts): Deleted; we don't have enough options to
	make this worthwhile.
	(prefix, bindir, lisppath, datadir, libdir, lockdir): Deleted,
	along with the code which supported them; these should be set as
	arguments to the top-level make.
	(config_h_opts): Since this no longer doubles as a list of option
	names, make them upper case; this simplifies the code which uses
	them to build the sed command to edit src/config.h.  Change the
	code which sets them.
	(cc, g, O): Don't allow the user to set these using options; they
	should be specified using `CC=' and `CFLAGS=' arguments to the
	top-level make.  Just choose reasonable default values for them,
	and edit them into Makefile.in's default CC and CONFIG_CFLAGS
	values.
	(gnu_malloc, rel_alloc): Don't allow the user to set these using
	options; use them whenever the configuration files say they're
	possible.
	Simplify the argument processing loop.  Don't accept abbreviations
	for option names; these might conflict with other configuration
	options in the future.
	Add some support for the `--srcdir' option.  Check for the sources
	in . and .. if `--srcdir' is omitted.  If the directories we will
	compile in don't exist yet, create them under the current directory.
	Note that the rest of the build process doesn't really support
	this.
	Edit only the top Makefile.  That should edit the others.  Edit
	into the makefile: `version', from lisp/version.el, `configname'
	and `srcdir' from the configuration arguments, `CC' and
	`CONFIG_CFLAGS' as guessed from the presence or absence of GCC in
	the user's path, and LOADLIBES as gleaned from the system
	description files.
	Simplify the report generated; it doesn't need to include any
	description of paths now.
	Make `config.status' exec configure instead of just calling it, so
	there's no harm in overwriting `config.status'.
	* Makefile.in (version, configname): New variables, used to choose
	the default values for datadir and libdir.
	Path variables rearranged into two clearer groups:
	- In the first group are the variables specified by the GNU coding
	  standards (prefix, bindir, datadir, statedir, libdir, mandir,
	  manext, infodir, and srcdir).
	- In the second are the variables actually used for Emacs's paths
	  (lispdir, locallisppath, lisppath, buildlisppath, etcdir, lockdir,
	  archlibdir), which depend on the first category.
	datadir and libdir default to directories under
	${prefix}/lib/emacs instead of ${prefix}/emacs, by popular
	demand.
	etcdir and lispdir default to subdirectories of datadir.
	archlibdir defaults to libdir.
	The new installation tree is a bit deeper than it used to be, so
	use the new make-path program in lib-src to build them all.
	Always build a new src/paths.h.tmp and then move-if-change it to
	src/paths.h, to avoid unnecessary rebuilds while responding to the
	right changes.
	Remove all mention of arch-lib.  Run utility commands from
	lib-src, and let the executables be copied into archlibdir when
	Emacs is installed.
	Add targets for src/Makefile, lib-src/Makefile, and
	oldXMenu/Makefile, editing the values of the path variables into
	them.
	Let lib-src do its own installation.
	(datadir): Default to putting data files under
	${prefix}/lib/emacs/${version}, not /usr/local/emacs.
	(emacsdir): Variable deleted; it would only be confusing to use.
	(lispdir, etcdir): Default to ${datadir}/lisp.
	(mkdir): Use make-path for this.
	(lockdir): Do this in mkdir.
	(Makefile): New target.
1992-12-12 15:42:14 +00:00
Jim Blandy
0c22fbcab4 Now partially conforms with GNU coding standards. I'm only checking
it in to RCS so I can check my changes in with FSF Cambridge.
1992-12-06 22:12:37 +00:00
Jim Blandy
e4801b31ff entered into RCS 1992-09-13 10:43:05 +00:00
Jim Blandy
692f9ac6a1 *** empty log message *** 1992-08-27 22:17:59 +00:00
Jim Blandy
dc5a70f1f4 *** empty log message *** 1992-07-07 19:52:34 +00:00
Jim Blandy
4c2232bcb0 *** empty log message *** 1992-06-24 21:56:16 +00:00
Jim Blandy
a88b5c2573 *** empty log message *** 1992-06-09 23:02:56 +00:00
Jim Blandy
e065a56e2d *** empty log message *** 1992-05-10 18:15:10 +00:00
Jim Blandy
32676c085c *** empty log message *** 1992-05-01 06:20:46 +00:00
Jim Blandy
4746118aca *** empty log message *** 1992-04-24 08:11:54 +00:00
Jim Blandy
46947372a3 *** empty log message *** 1992-04-19 08:53:55 +00:00
Jim Blandy
0856496329 *** empty log message *** 1992-04-01 11:14:15 +00:00
Jim Blandy
badb0a976e *** empty log message *** 1992-03-21 07:56:45 +00:00
Jim Blandy
36a8c287a8 *** empty log message *** 1992-02-15 22:18:37 +00:00
Jim Blandy
f8026fd834 *** empty log message *** 1992-01-31 20:02:34 +00:00
Jim Blandy
86a5659e6c Initial revision 1992-01-14 07:27:56 +00:00