changeset 442:8f3124f4e2cb

Explicitly mark template.
author Oleksandr Gavenko <gavenkoa@gmail.com>
date Wed, 02 Nov 2011 00:39:44 +0200
parents 2d5e4293605c
children 49d2badd0084
files admin/win/reg/Makefile admin/win/reg/emacs.reg admin/win/reg/emacs.tmpl.reg
diffstat 3 files changed, 14 insertions(+), 14 deletions(-) [+]
line wrap: on
line diff
--- a/admin/win/reg/Makefile	Wed Nov 02 00:37:50 2011 +0200
+++ b/admin/win/reg/Makefile	Wed Nov 02 00:39:44 2011 +0200
@@ -30,8 +30,8 @@
   echo reg import cygwin.reg; \
   if EMACSCLIENT_PATH=`command -v emacsclientw`; then \
     EMACSCLIENT_PATH=`cygpath -w $$EMACSCLIENT_PATH | sed 's=\\\\=&&&&=g'`; \
-    sed "s=@@emacsclient@@=$$EMACSCLIENT_PATH=g" <emacs.reg >emacs.tmp.reg; \
-    echo reg import emacs.tmp.reg; \
+    sed "s=@@emacsclient@@=$$EMACSCLIENT_PATH=g" <emacs.tmpl.reg >emacs.reg; \
+    echo reg import emacs.reg; \
   fi; \
   echo 'pause'; \
 } >regimport.bat; \
@@ -42,7 +42,7 @@
   echo 'objShell.ShellExecute("regimport.bat", curdir, "", "runas", 1);'; \
 } >runas.js; \
 cscript runas.js;
-	rm -f regimport.bat runas.js emacs.tmp.reg cygwin.reg;
+	rm -f regimport.bat runas.js emacs.reg cygwin.reg;
 endif
 
 .PHONY: uninstall
--- a/admin/win/reg/emacs.reg	Wed Nov 02 00:37:50 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-Windows Registry Editor Version 5.00
-
-[HKEY_CLASSES_ROOT\*\shell\emacs]
-@="Open with Emacs ..."
-
-[HKEY_CLASSES_ROOT\*\shell\emacs\command]
-@="@@emacsclient@@ -a runemacs -n \"%1\""
-
-; Local Variables:
-; coding: windows-1251-dos
-; End:
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/admin/win/reg/emacs.tmpl.reg	Wed Nov 02 00:39:44 2011 +0200
@@ -0,0 +1,11 @@
+Windows Registry Editor Version 5.00
+
+[HKEY_CLASSES_ROOT\*\shell\emacs]
+@="Open with Emacs ..."
+
+[HKEY_CLASSES_ROOT\*\shell\emacs\command]
+@="@@emacsclient@@ -a runemacs -n \"%1\""
+
+; Local Variables:
+; coding: windows-1251-dos
+; End: