Mercurial > hg > octave-lojdl
changeset 4441:d46651d0cd0e
[project @ 2003-07-02 23:34:10 by jwe]
author | jwe |
---|---|
date | Wed, 02 Jul 2003 23:34:10 +0000 |
parents | 0bca8443db39 |
children | e636265f2987 |
files | libcruft/ChangeLog libcruft/Makefile.in |
diffstat | 2 files changed, 10 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -1,5 +1,9 @@ 2003-07-02 John W. Eaton <jwe@bevo.che.wisc.edu> + * Makefile.in (CLEAN_SUBDIRS): New variable. + (clean mostlyclean distclean maintainer-clean): Use it to ensure + cleaning in all subdirs, not just those we build in. + * Makerules.in (maintainer-clean, distclean): Don't use dependencies on double colon rules. (distclean): Also remove *.d, *.a, *.o, pic/*.o, pic, and stmp-pic.
--- a/libcruft/Makefile.in +++ b/libcruft/Makefile.in @@ -37,6 +37,8 @@ DISTSUBDIRS = $(sort $(CRUFT_DIRS) blas fftpack lapack) +CLEAN_SUBDIRS = $(DISTSUBDIRS) + DISTFILES = Makefile.in ChangeLog Makerules.in $(SOURCES) STOP.patch ifeq ($(SHARED_LIBS), true) @@ -114,9 +116,12 @@ check: all .PHONY: check -install install-strip uninstall clean mostlyclean distclean maintainer-clean:: +install install-strip uninstall: @$(subdir-for-command) +clean mostlyclean distclean maintainer-clean:: + @$(foreach d, $(CLEAN_SUBDIRS), $(do-subdir-for-command)) + install:: $(top_srcdir)/mkinstalldirs $(DESTDIR)$(octlibdir) if $(STATIC_LIBS); then \