# HG changeset patch # User martinb # Date 991372040 0 # Node ID 6452bb72f5b98c40f3f9ccc2a3413ebb071a07fb # Parent ce085c4b399954c81ece9b6929ce9ef096fe71ed [xemacs-hg @ 2001-06-01 05:07:19 by martinb] make distclean fails when blddir != srcdir diff -r ce085c4b3999 -r 6452bb72f5b9 ChangeLog --- a/ChangeLog Fri Jun 01 05:06:15 2001 +0000 +++ b/ChangeLog Fri Jun 01 05:07:20 2001 +0000 @@ -1,3 +1,10 @@ +2001-05-29 Martin Buchholz + + * Makefile.in.in: `make distclean' would fail if srcdir != blddir. + Remove SUBDIR_DISTCLEAN until such a time as the module subdir is + properly integrated into the build system. + Only create ${moduledir} and ${sitemoduledir} if HAVE_SHLIB. + 2001-05-30 Ben Wing * configure.in (AC_INIT_PARSE_ARGS): diff -r ce085c4b3999 -r 6452bb72f5b9 Makefile.in.in --- a/Makefile.in.in Fri Jun 01 05:06:15 2001 +0000 +++ b/Makefile.in.in Fri Jun 01 05:07:20 2001 +0000 @@ -225,9 +225,6 @@ ## Subdirectories that can be made recursively. SUBDIR = ${MAKE_SUBDIR} man -## Subdirectories that must be cleaned on distclean -SUBDIR_DISTCLEAN = ${SUBDIR} modules/sample modules/ldap modules/zlib modules/base64 - ## The makefiles of the directories in ${MAKE_SUBDIR}. SUBDIR_MAKEFILES = @SUBDIR_MAKEFILES@ @@ -492,7 +489,10 @@ mkdir: FRC.mkdir ${MAKEPATH} ${COPYDESTS} ${docdir} ${infodir} ${archlibdir} \ ${mandir} ${bindir} ${datadir} ${libdir} ${pkgdir} \ - ${sitelispdir} ${moduledir} ${sitemoduledir} +#ifdef HAVE_SHLIB + ${moduledir} ${sitemoduledir} \ +#endif + ${sitelispdir} ## Delete all the installed files that the `install' target would ## create (but not the noninstalled files such as `make all' would @@ -564,7 +564,7 @@ $(RM) -r site-packages xemacs-packages mule-packages site-lisp distclean: FRC.distclean - for d in $(SUBDIR_DISTCLEAN); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done + for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done -${top_distclean} ## `realclean'