Mercurial > emacs
comparison Makefile.in @ 112331:f6578f2bd119
Makefile.in: tidy up the building of lib
* Makefile.in (am--refresh): Mark as .PHONY.
(top_maintainer_clean): Don't remove lib/gnulib.mk m4/gnulib-cache.m4,
as they're not rebuilt unless you do a "make sync-from-gnulib"
and the former is needed for "configure".
(maintainer-clean): Don't recurse into lib, as "make bootstrap-clean"
has already removed lib/Makefile.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Mon, 17 Jan 2011 11:20:37 -0800 |
parents | 56d3e9c28eb0 |
children | 34bef019033d |
comparison
equal
deleted
inserted
replaced
112330:56d3e9c28eb0 | 112331:f6578f2bd119 |
---|---|
404 AUTOCONF_INPUTS = @MAINT@ $(srcdir)/configure.in $(srcdir)/aclocal.m4 | 404 AUTOCONF_INPUTS = @MAINT@ $(srcdir)/configure.in $(srcdir)/aclocal.m4 |
405 | 405 |
406 $(srcdir)/configure: $(AUTOCONF_INPUTS) | 406 $(srcdir)/configure: $(AUTOCONF_INPUTS) |
407 cd ${srcdir} && autoconf | 407 cd ${srcdir} && autoconf |
408 | 408 |
409 ACLOCAL_INPUTS = @MAINT@ $(srcdir)/m4/gnulib-comp.m4 | 409 ACLOCAL_INPUTS = @MAINT@ $(srcdir)/m4/gnulib-comp.m4 |
410 $(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS) | 410 $(srcdir)/aclocal.m4: $(ACLOCAL_INPUTS) |
411 cd $(srcdir) && aclocal -I m4 | 411 cd $(srcdir) && aclocal -I m4 |
412 | 412 |
413 AUTOMAKE_INPUTS = @MAINT@ $(srcdir)/aclocal.m4 $(srcdir)/lib/Makefile.am | 413 AUTOMAKE_INPUTS = @MAINT@ $(srcdir)/aclocal.m4 $(srcdir)/lib/Makefile.am |
414 $(srcdir)/lib/Makefile.in: $(AUTOMAKE_INPUTS) | 414 $(srcdir)/lib/Makefile.in: $(AUTOMAKE_INPUTS) |
415 cd $(srcdir) && automake --gnu -a -c lib/Makefile | 415 cd $(srcdir) && automake --gnu -a -c lib/Makefile |
416 am--refresh: | 416 am--refresh: |
417 .PHONY: am--refresh | |
417 | 418 |
418 $(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in | 419 $(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in |
419 @ # Usually, there's no need to rebuild src/config.in just | 420 @ # Usually, there's no need to rebuild src/config.in just |
420 @ # because stamp-h.in has changed (since building stamp-h.in | 421 @ # because stamp-h.in has changed (since building stamp-h.in |
421 @ # refreshes config.in as well), but if config.in is missing | 422 @ # refreshes config.in as well), but if config.in is missing |
830 ### anything that needs to exist in order to run `configure' and then | 831 ### anything that needs to exist in order to run `configure' and then |
831 ### begin to build the program. | 832 ### begin to build the program. |
832 top_maintainer_clean=\ | 833 top_maintainer_clean=\ |
833 ${top_distclean}; \ | 834 ${top_distclean}; \ |
834 rm -fr autom4te.cache; \ | 835 rm -fr autom4te.cache; \ |
835 rm -f aclocal.m4 lib/gnulib.mk m4/gnulib-cache.m4 | 836 rm -f aclocal.m4 |
836 maintainer-clean: bootstrap-clean FRC | 837 maintainer-clean: bootstrap-clean FRC |
837 (cd src; $(MAKE) $(MFLAGS) maintainer-clean) | 838 (cd src; $(MAKE) $(MFLAGS) maintainer-clean) |
838 (cd lib; $(MAKE) $(MFLAGS) maintainer-clean) | |
839 (cd lisp; $(MAKE) $(MFLAGS) maintainer-clean) | 839 (cd lisp; $(MAKE) $(MFLAGS) maintainer-clean) |
840 ${top_maintainer_clean} | 840 ${top_maintainer_clean} |
841 | 841 |
842 ### This doesn't actually appear in the coding standards, but Karl | 842 ### This doesn't actually appear in the coding standards, but Karl |
843 ### says GCC supports it, and that's where the configuration part of | 843 ### says GCC supports it, and that's where the configuration part of |