1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

78 commits

Author SHA1 Message Date
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