From d2373df5d7ab0e3bc0d55938c3bd245d4920ba7e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 20 Jun 2008 15:48:08 +0000 Subject: [PATCH] ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty cus-load.el with `echo', and include "Local Variables" section to prevent the empty file from being compiled. (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets that generate an empty cus-load.el. --- lisp/ChangeLog | 11 +++++++++++ lisp/makefile.w32-in | 25 ++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6ad96d54567..4e50b09539e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2008-06-20 Eli Zaretskii + + * makefile.w32-in (distclean): Depend on `clean'. + (clean): Delete calc/calc-loaddefs.el~ and eshell/esh-groups.el~. + (AUTOGENEL): Add $(lisp)/nxml/subdirs.el. + ($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an + empty cus-load.el with `echo', and include "Local Variables" + section to prevent the empty file from being compiled. + (cus-load.el-SH, cus-load.el-CMD): New SHELLTYPE-specific targets + that generate an empty cus-load.el. + 2008-06-20 Juanma Barranquero * makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH): diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index dcc495cc00e..bda34455993 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in @@ -109,8 +109,31 @@ WINS= $(WINS_ALMOST) \ doit: +cus-load.el-SH: + echo ";;; cus-load.el --- automatically extracted custom dependencies" > $@ + echo ";;" >> $@; echo ";;; Code:" >> $@ + echo " " >> $@ + echo ";; Local Variables:" >> $@ + echo ";; version-control: never" >> $@ + echo ";; no-byte-compile: t" >> $@ + echo ";; no-update-autoloads: t" >> $@ + echo ";; End:" >> $@ + +cus-load.el-CMD: + echo ;;; cus-load.el --- automatically extracted custom dependencies> $@ + echo ;;>> $@ + echo ;;; Code:>> $@ + echo. >> $@ + echo ;; Local Variables:>> $@ + echo ;; version-control: never>> $@ + echo ;; no-byte-compile: t>> $@ + echo ;; no-update-autoloads: t>> $@ + echo ;; End:>> $@ + $(lisp)/cus-load.el: - touch $@ + $(MAKE) $(MFLAGS) cus-load.el-$(SHELLTYPE) + mv cus-load.el-$(SHELLTYPE) $@ + # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as # this can break with GNU Make 3.81 and later if sh.exe is used. custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit -- 2.39.2