Commit 0aee6912 authored by Paul Eggert's avatar Paul Eggert
Browse files

Update .PHONY listings in makefiles.

parent 88fb40b4
2012-07-30 Paul Eggert <>
Update .PHONY listings in makefiles.
* (.PHONY): Add all, ${SUBDIR}, blessmail, epath-force,
FRC, install-arch-dep, install-arch-indep, install-doc,
install-info, install-man, install-etc, install-strip, uninstall,
bootstrap-clean, TAGS, tags, info-real, force-info, check-info-dir.
(.RECURSIVE): Remove; hasn't been needed for years.
2012-07-30 Glenn Morris <>
* (SIGNAL_H_AHB): New hack macro.
......@@ -278,6 +278,8 @@ COPYDESTS = $(DESTDIR)${etcdir} $(DESTDIR)${lispdir} $(DESTDIR)${leimdir}/ja-dic
all: ${SUBDIR}
.PHONY: all ${SUBDIR} blessmail epaths-force FRC
removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g'
# Generate epaths.h from This target is invoked by `configure'.
......@@ -307,8 +309,6 @@ lib-src src: lib
src: lib-src FRC
# We need to build `emacs' in `src' to compile the *.elc files in `lisp'
# and `leim'.
lisp leim: src
......@@ -393,12 +393,13 @@ $(srcdir)/src/ $(AUTOCONF_INPUTS)
# ==================== Installation ====================
.PHONY: install install-arch-dep install-arch-indep install-doc install-info
.PHONY: install-man install-etc install-strip uninstall
## If we let lib-src do its own installation, that means we
## don't have to duplicate the list of utilities to install in
## this Makefile as well.
.PHONY: install
install: all install-arch-indep install-doc install-arch-dep blessmail
......@@ -681,7 +682,7 @@ FRC:
# ==================== Cleaning up and miscellanea ====================
.PHONY: mostlyclean clean distclean maintainer-clean extraclean
.PHONY: mostlyclean clean distclean bootstrap-clean maintainer-clean extraclean
### `mostlyclean'
### Like `clean', but may refrain from deleting a few files that people
......@@ -798,6 +799,7 @@ extraclean:
# The src subdir knows how to do the right thing
# even when the build directory and source dir are different.
TAGS tags: lib lib-src src
cd src; $(MAKE) $(MFLAGS) tags
......@@ -812,7 +814,7 @@ check:
cd ${srcdir}; ./make-dist
.PHONY: info dvi dist check html
.PHONY: info dvi dist check html info-real force-info check-info-dir
(cd doc/emacs; $(MAKE) $(MFLAGS) info)
2012-07-30 Paul Eggert <>
Update .PHONY listings in makefiles.
* (.PHONY): Add all, compile-main, clean, mostlyclean,
bootstrap-clean, distclean, maintainer-clean, extraclean.
2012-07-29 Paul Eggert <>
deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
......@@ -82,6 +82,7 @@ TIT_MISC=${CHINESE_TIT} ${MISC}
@${RUN_EMACS} -l ${buildlisppath}/international/quail -f batch-byte-compile $<
all: leim-list.el compile-main
.PHONY: all
${srcdir}/CXTERM-DIC/4Corner.tit \
......@@ -154,6 +155,7 @@ compile-targets: $(TARGETS)
# Compile all the Elisp files that need it. Beware: it approximates
# `no-byte-compile', so watch out for false-positives!
.PHONY: compile-main
compile-main: ${TIT_MISC}
@($(setwins); \
els=`echo "$$wins " | sed -e 's| |/*.el |g'`; \
......@@ -166,6 +168,8 @@ compile-main: ${TIT_MISC}
$(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \
.PHONY: clean mostlyclean bootstrap-clean distclean maintainer-clean extraclean
clean mostlyclean:
rm -f ${TIT_MISC} ${TIT_MISC:.el=.elc} \
leim-list.el changed.tit changed.misc
2012-07-30 Paul Eggert <>
Update .PHONY listings in makefiles.
* (.PHONY): Add all, need-blessmail, maybe-blessmail,
install, uninstall, mostlyclean, clean, distclean,
maintainer-clean, extraclean, check, tags.
2012-07-29 Eli Zaretskii <>
* makefile.w32-in ($(BLD)/profile.$(O)): Depend on stamp_BLD.
.PHONY: all need-blessmail maybe-blessmail
LOADLIBES = ../lib/libgnu.a $(LIBS_SYSTEM)
$(EXE_FILES): ../lib/libgnu.a
......@@ -231,6 +233,9 @@ $(DESTDIR)${archlibdir}: all
done ; \
.PHONY: install uninstall mostlyclean clean distclean maintainer-clean
.PHONY: extraclean check tags
install: $(DESTDIR)${archlibdir}
@echo "Installing utilities for users to run."
2012-07-30 Paul Eggert <>
Update .PHONY listings in makefiles.
* (.PHONY): Add all, doit, custom-deps, finder-data,
autoloads, update-subdirs, updates, bzr-update, update-authors,
compile-onefile, compile-calc, backup-compiled-files,
compile-after-backup, compile-one-process, mh-autoloads,
bootstrap-clean, distclean, maintainer-clean.
2012-07-29 Jay Belanger <>
* calc/calc.el (calc-simplify-mode): Make 'alg the default value.
......@@ -139,6 +139,8 @@ all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el
.PHONY: all doit custom-deps finder-data autoloads update-subdirs
# custom-deps and finder-data both used to scan _all_ the *.el files.
# This could lead to problems in parallel builds if automatically
# generated *.el files (eg loaddefs etc) were being changed at the same time.
......@@ -184,6 +186,8 @@ update-subdirs: doit
$(top_srcdir)/build-aux/update-subdirs $$file; \
.PHONY: updates bzr-update update-authors
# Some modes of make-dist use this.
updates: update-subdirs autoloads finder-data custom-deps
......@@ -215,6 +219,7 @@ TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptags
# src/ to rebuild a particular Lisp file, no questions asked.
# Use byte-compile-refresh-preloaded to try and work around some of
# the most common problems of not bootstrapping from a clean state.
.PHONY: compile-onefile
@echo Compiling $(THEFILE)
@# Use byte-compile-refresh-preloaded to try and work around some of
......@@ -302,6 +307,8 @@ compile-always: doit
cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
$(MAKE) $(MFLAGS) compile EMACS=$(EMACS)
.PHONY: compile-calc backup-compiled-files compile-after-backup
for el in $(lisp)/calc/*.el; do \
echo Compiling $$el; \
......@@ -334,6 +341,7 @@ compile-after-backup: backup-compiled-files compile-always
# files that use byte-compile-dynamic are updated.
# There is no reason to use this rule unless you only have a single
# core and CPU time is an issue.
.PHONY: compile-one-process
compile-one-process: doit $(LOADDEFS) compile-first $(lisp)/progmodes/cc-mode.elc
$(emacs) $(BYTE_COMPILE_FLAGS) \
--eval "(batch-byte-recompile-directory 0)" $(lisp)
......@@ -356,6 +364,7 @@ MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \
$(MH_E_DIR)/mh-tool-bar.el $(MH_E_DIR)/mh-utils.el \
.PHONY: mh-autoloads
mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
$(emacs) -l autoload \
......@@ -418,6 +427,8 @@ $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
--eval "(setq make-backup-files nil)" \
-f batch-update-autoloads $(CAL_DIR)
.PHONY: bootstrap-clean distclean maintainer-clean
cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
2012-07-30 Paul Eggert <>
Update .PHONY listings in makefiles.
* (.PHONY): Add all, mostlyclean, clean,
bootstrap-clean, distclean, maintainer-clean, versioclean,
extraclean, frc.
* lisp.h (STRING_BYTES_BOUND): Cast entire result to ptrdiff_t.
This is a bit clearer. Fix some commentary typos.
......@@ -391,6 +391,7 @@ LIBES = $(LIBS) $(LIBX_BASE) $(LIBX_OTHER) $(LIBSOUND) \
all: emacs$(EXEEXT) $(OTHER_FILES)
.PHONY: all
$(leimdir)/leim-list.el: bootstrap-emacs$(EXEEXT)
cd $(leimdir) && $(MAKE) $(MFLAGS) leim-list.el EMACS=$(bootstrap_exe)
......@@ -496,6 +497,8 @@ doc.o: buildobj.h
## If HAVE_NS, some ns-specific rules (for OTHER_FILES) are inserted here.
.PHONY: mostlyclean clean bootstrap-clean distclean maintainer-clean
.PHONY: versioclean extraclean frc
rm -f temacs$(EXEEXT) core *.core \#* *.o libXMenu11.a liblw.a
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment