(if (file-directory-p stem)
(delete-directory stem t))
(make-directory stem)
+ (setq stem (file-name-as-directory stem))
(copy-file "../doc/misc/texinfo.tex" stem)
(unless (equal type "emacs")
(copy-file "../doc/emacs/emacsver.texi" stem)
(setq ats t)
(message "Unexpanded: %s" (match-string 0)))
(if ats (error "Unexpanded configure variables in Makefile?")))
- (write-region nil nil (expand-file-name (format "%s/Makefile" stem))
+ (write-region nil nil (expand-file-name (format "%sMakefile" stem))
nil 'silent))
(call-process "tar" nil nil nil "-cf" tarfile stem)
(delete-directory stem t)