Makefile
changeset 1267 5a6527540e19
parent 1266 a1a6db7b859b
child 1269 ffa96b1c6f9f
--- a/Makefile	Wed Feb 25 15:20:21 2015 +0200
+++ b/Makefile	Wed Feb 25 15:25:39 2015 +0200
@@ -84,6 +84,7 @@
 	\
 mkdir -p $(mylispdir); \
 rm -f $(emacsdir)/autoload-my.el; \
+rm -f ~/.emacs; \
 [ -d $(emacsdir)/my-lisp ] && mv $(emacsdir)/my-lisp $(mylispdir); \
 for f in .emacs-my .emacs-custom.el .emacs-pre .emacs-post .emacs-places .emacs.desktop .emacs.bmk .emacs-places .emacs-autogen .ido.last; do \
   if [ -f ~/$$f ]; then [ -f $(emacsdir)/$$f ] && mv ~/$$f $(emacsdir)/$$f.1 || mv ~/$$f $(emacsdir); fi; \
@@ -92,7 +93,8 @@
 for f in `find $(mylispdir) -maxdepth 1 -type f -name '.emacs?*'`; do \
   fn=$${f##*/}; \
   [ -f $(emacsdir)/$$fn ] && mv $$f $(emacsdir)/$$fn.3 || mv $$f $(emacsdir); \
-done;
+done; \
+make install
 
 .PHONY: install-all
 install-all: install