* xml.c (parse_region): If a document contains only comments, return that, too.
[bpt/emacs.git] / Makefile.in
index e3d5f3b..ce7f3f1 100644 (file)
@@ -265,12 +265,8 @@ EMACSFULL = `echo emacs-${version}${EXEEXT} | sed '$(TRANSFORM)'`
 SUBDIR = lib lib-src src lisp
 
 # The subdir makefiles created by config.status.
-SUBDIR_MAKEFILES_IN = lib/Makefile.in lib-src/Makefile.in \
-  doc/emacs/Makefile.in doc/misc/Makefile.in doc/lispref/Makefile.in \
-  doc/lispintro/Makefile.in src/Makefile.in oldXMenu/Makefile.in \
-  lwlib/Makefile.in leim/Makefile.in lisp/Makefile.in test/automated/Makefile.in
-
-SUBDIR_MAKEFILES = $(SUBDIR_MAKEFILES_IN:.in=)
+SUBDIR_MAKEFILES_IN = @SUBDIR_MAKEFILES_IN@
+SUBDIR_MAKEFILES = `echo $(SUBDIR_MAKEFILES_IN:.in=) | sed 's|$(srcdir)/||g'`
 
 # Subdirectories to install, and where they'll go.
 # lib-src's makefile knows how to install it, so we don't do that here.
@@ -336,9 +332,12 @@ DOS_gnulib_comp.m4 = gl-comp.m4
 # $(gnulib_srcdir) (relative to $(srcdir) and should have build tools
 # as per $(gnulib_srcdir)/DEPENDENCIES.
 GNULIB_MODULES = \
-  careadlinkat crypto/md5 dtoastr filemode getloadavg getopt-gnu \
-  ignore-value intprops lstat mktime readlink \
-  socklen stdarg stdio strftime strtoumax symlink sys_stat
+  alloca-opt \
+  careadlinkat crypto/md5 crypto/sha1 crypto/sha256 crypto/sha512 dtoastr \
+  dup2 \
+  filemode getloadavg getopt-gnu ignore-value intprops lstat \
+  mktime pthread_sigmask readlink \
+  socklen stdarg stdio strftime strtoimax strtoumax symlink sys_stat
 GNULIB_TOOL_FLAGS = \
  --conditional-dependencies --import --no-changelog --no-vc-files \
  --makefile-name=gnulib.mk
@@ -859,10 +858,15 @@ 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) tags
+       cd src; $(MAKE) $(MFLAGS) tags
 
 check:
-       cd test/automated; $(MAKE) check
+       @if test ! -d test/automated; then \
+         echo "You do not seem to have the test/ directory."; \
+         echo "Maybe you are using a release tarfile, rather than a repository checkout."; \
+       else \
+         cd test/automated && $(MAKE) $(MFLAGS) check; \
+       fi
 
 dist:
        cd ${srcdir}; ./make-dist