X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/6e5fa6bfce1362c2ebf049fcfa1e6f2a4762ccef..20a68157367994c17c0e5adae02568ea4683d13d:/autogen/copy_autogen diff --git a/autogen/copy_autogen b/autogen/copy_autogen index 4abdbd87c0..c9f04ad625 100755 --- a/autogen/copy_autogen +++ b/autogen/copy_autogen @@ -8,12 +8,18 @@ ## regenerate configure and will fail if you do not have the required ## tools. You will have to run this script again. +test -d autogen && cd autogen + if test ! -e config.in; then - echo "You must run this script from the autogen/ directory." + echo "Cannot find autogen/ directory." exit 1 fi -cp configure aclocal.m4 ../ +## Order implied by top-level Makefile's rules, for time-stamps. +cp compile config.guess config.sub depcomp install-sh missing ../build-aux +cp aclocal.m4 ../ +cp configure ../ +touch ../src/stamp-h.in cp config.in ../src/ cp Makefile.in ../lib/