(distclean): Remove stamp-subdirs.
[bpt/emacs.git] / msdos / sedleim.inp
index ff9c6b7..f4795e7 100644 (file)
@@ -28,6 +28,9 @@ MAKESHELL=/xyzzy/command
 /^INSTALLDIR=/c\
 INSTALLDIR=.
 
+/touch stamp-subdir/s|touch|djecho "stamp-subdir" >|
+s|\([  ]\)echo|\1djecho|g
+
 /RUN-EMACS *=/,/^$/c\
 export EMACSLOADPATH=${buildlisppath}\
 RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
@@ -52,5 +55,8 @@ RUN-EMACS = ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
 install: all\
 
 /^     if test -f/d
+/^distclean:/,/^$/ {
+       s|\(rm -f Makefile\)|\1 stamp-subdir|
+}
 
 # arch-tag: 33c5eed1-78bc-4a6e-9d11-cbc7c541b763