Don't rm files if cd fails.
This commit is contained in:
parent
2f12628e08
commit
6b356ee89a
1 changed files with 5 additions and 5 deletions
10
Makefile.in
10
Makefile.in
|
@ -389,9 +389,9 @@ uninstall:
|
|||
esac ; \
|
||||
fi ; \
|
||||
done
|
||||
(cd ${infodir}; rm -f cl* emacs* forms* info* vip*)
|
||||
(cd ${mandir}; rm -f emacs.1 etags.1 ctags.1)
|
||||
(cd ${bindir}; rm -f emacs-${version} $(EMACS))
|
||||
(cd ${infodir} && rm -f cl* emacs* forms* info* vip*)
|
||||
(cd ${mandir} && rm -f emacs.1 etags.1 ctags.1)
|
||||
(cd ${bindir} && rm -f emacs-${version} $(EMACS))
|
||||
|
||||
|
||||
FRC:
|
||||
|
@ -436,7 +436,7 @@ clean: FRC
|
|||
top_distclean=\
|
||||
rm -f config.status ; \
|
||||
rm -f Makefile ${SUBDIR_MAKEFILES} ; \
|
||||
(cd lock ; rm -f *)
|
||||
(cd lock && rm -f *)
|
||||
distclean: FRC
|
||||
(cd src; $(MAKE) $(MFLAGS) distclean)
|
||||
(cd oldXMenu; $(MAKE) $(MFLAGS) distclean)
|
||||
|
@ -471,7 +471,7 @@ realclean: FRC
|
|||
### it deletes backup and autosave files too.
|
||||
extraclean:
|
||||
for i in ${SUBDIR}; do (cd $$i; $(MAKE) $(MFLAGS) extraclean); done
|
||||
-(cd lock; rm *)
|
||||
-(cd lock && rm *)
|
||||
-rm config.status config-tmp-*
|
||||
-rm -f *~ \#*
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue