# HG changeset patch # User Eli Zaretskii # Date 1213976839 0 # Node ID d2cbd54eeb90600f634dd0ebb06e19a73074aa28 # Parent 3a64b6ee300542d12b822cedd72b298573723ec6 ($(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. diff -r 3a64b6ee3005 -r d2cbd54eeb90 lisp/makefile.w32-in --- a/lisp/makefile.w32-in Fri Jun 20 15:43:29 2008 +0000 +++ b/lisp/makefile.w32-in Fri Jun 20 15:47:19 2008 +0000 @@ -109,8 +109,31 @@ 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