3 |
# DIST: that first. |
# DIST: that first. |
4 |
|
|
5 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, |
6 |
# 2000, 2001 Free Software Foundation, Inc. |
# 2000, 2001, 2002 Free Software Foundation, Inc. |
7 |
|
|
8 |
# This file is part of GNU Emacs. |
# This file is part of GNU Emacs. |
9 |
|
|
210 |
EMACSFULL = `echo emacs-${version} | sed '$(TRANSFORM)'` |
EMACSFULL = `echo emacs-${version} | sed '$(TRANSFORM)'` |
211 |
|
|
212 |
# Subdirectories to make recursively. `lisp' is not included |
# Subdirectories to make recursively. `lisp' is not included |
213 |
# because the compiled lisp files are part of the distribution |
# because the compiled lisp files are part of the distribution. |
|
# and you cannot remake them without installing Emacs first. |
|
214 |
# leim is not included because it needs special handling. |
# leim is not included because it needs special handling. |
215 |
SUBDIR = lib-src src |
SUBDIR = lib-src src |
216 |
|
|
251 |
# running more than 1 process in the leim directory, especially for |
# running more than 1 process in the leim directory, especially for |
252 |
# the $TIT files there. |
# the $TIT files there. |
253 |
leim: src ${SUBDIR_MAKEFILES} FRC |
leim: src ${SUBDIR_MAKEFILES} FRC |
254 |
(export PARALLEL; PARALLEL=0; cd $@; $(MAKE) all $(MFLAGS) \ |
cd $@; $(MAKE) PARALLEL=0 all $(MFLAGS) \ |
255 |
CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ |
CC='${CC}' CFLAGS='${CFLAGS}' CPPFLAGS='${CPPFLAGS}' \ |
256 |
LDFLAGS='${LDFLAGS}' MAKE='${MAKE}') |
LDFLAGS='${LDFLAGS}' MAKE='${MAKE}' |
257 |
|
|
258 |
src: lib-src FRC |
src: lib-src FRC |
259 |
|
|
279 |
${srcdir}/configure: configure.in |
${srcdir}/configure: configure.in |
280 |
cd ${srcdir} && autoconf |
cd ${srcdir} && autoconf |
281 |
|
|
282 |
|
$(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in |
283 |
|
@true |
284 |
|
$(srcdir)/src/stamp-h.in: $(MAINT) |
285 |
|
cd ${srcdir} && autoheader |
286 |
|
rm -f $(srcdir)/src/stamp-h.in |
287 |
|
echo timestamp > $(srcdir)/src/stamp-h.in |
288 |
|
|
289 |
src/Makefile: $(srcdir)/src/Makefile.in config.status |
src/Makefile: $(srcdir)/src/Makefile.in config.status |
290 |
./config.status |
./config.status |
291 |
|
|
362 |
|
|
363 |
## Note that we copy DOC* and then delete DOC |
## Note that we copy DOC* and then delete DOC |
364 |
## as a workaround for a bug in tar on Ultrix 4.2. |
## as a workaround for a bug in tar on Ultrix 4.2. |
365 |
|
|
366 |
|
## If people complain about the h flag in tar command, take that out. |
367 |
|
## That flag is also used in leim/Makefile.in |
368 |
install-arch-indep: mkdir info |
install-arch-indep: mkdir info |
369 |
-set ${COPYDESTS} ; \ |
-set ${COPYDESTS} ; \ |
370 |
unset CDPATH; \ |
unset CDPATH; \ |
386 |
(cd $${dir}; tar -chf - . ) \ |
(cd $${dir}; tar -chf - . ) \ |
387 |
| (cd $${dest}; umask 022; \ |
| (cd $${dest}; umask 022; \ |
388 |
tar -xvf - && cat > /dev/null) || exit 1; \ |
tar -xvf - && cat > /dev/null) || exit 1; \ |
389 |
|
find $${dest} -exec chown $$LOGNAME {} ';' ;\ |
390 |
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ |
for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ |
391 |
chmod a+rx $${subdir} ; \ |
chmod a+rx $${subdir} ; \ |
392 |
rm -rf $${subdir}/RCS ; \ |
rm -rf $${subdir}/RCS ; \ |
424 |
then \ |
then \ |
425 |
echo "Copying etc/DOC-* to ${docdir} ..." ; \ |
echo "Copying etc/DOC-* to ${docdir} ..." ; \ |
426 |
(cd ./etc; tar -chf - DOC*) \ |
(cd ./etc; tar -chf - DOC*) \ |
427 |
|(cd ${docdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ |
|(cd ${docdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ |
428 |
(cd $(docdir); chmod a+r DOC*; rm DOC); \ |
(cd $(docdir); chown $${LOGNAME} DOC*; chmod a+r DOC*; rm DOC); \ |
429 |
else true; fi |
else true; fi |
430 |
-unset CDPATH; \ |
-unset CDPATH; \ |
431 |
if [ -r ./lisp ] \ |
if [ -r ./lisp ] \ |
435 |
then \ |
then \ |
436 |
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ |
echo "Copying lisp/*.el and lisp/*.elc to ${lispdir} ..." ; \ |
437 |
(cd lisp; tar -chf - *.el *.elc) \ |
(cd lisp; tar -chf - *.el *.elc) \ |
438 |
|(cd ${lispdir}; umask 0; tar -xvf - && cat > /dev/null) || exit 1; \ |
|(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ |
439 |
|
(cd ${lispdir}; find . -exec chown $${LOGNAME} {} ';') ; \ |
440 |
else true; fi |
else true; fi |
441 |
-unset CDPATH; \ |
-unset CDPATH; \ |
442 |
thisdir=`/bin/pwd`; \ |
thisdir=`/bin/pwd`; \ |