]> git.phdru.name Git - phdru.name/phdru.name.git/commitdiff
Moved python-related files to a separate 'python' subdirectory.
authorOleg Broytman <phd@phdru.name>
Thu, 21 Jun 2012 22:16:11 +0000 (22:16 +0000)
committerOleg Broytman <phd@phdru.name>
Thu, 21 Jun 2012 22:16:11 +0000 (22:16 +0000)
git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@128 7bb0bf08-9e0d-0410-b083-99cee3bf18b8

dotfiles2html/dotfiles2html.py
dotfiles2html/init.py.head
dotfiles2html/pdbrc.head
dotfiles2html/pdbrc.py.head

index b7a66ce438a8df19cd235673d7254e776a6af289..f32147b4c28a10d4f4e88cc4677eae0c2c7a8037 100755 (executable)
@@ -55,11 +55,13 @@ def add_headers(fname, first, prev, next, last):
 home_file_types = (("profile", "sh"), ("shellrc", "sh"), ("fvwm2rc", "fvwm2m4"),
     ("mailcap", "conf"), ("mime.types", "conf"),
     ("muttrc", "muttrc"), ("procmailrc", "procmail"),
-    ("vimrc", "vim"),
-    ("init.py", "python"), ("pdbrc", "python"), ("pdbrc.py", "python"))
+    ("vimrc", "vim"))
 
 mc_file_types = (("bindings", "conf"), ("menu", "conf"))
 
+python_file_types = (("init.py", "python"),
+    ("pdbrc", "python"), ("pdbrc.py", "python"))
+
 def process_dotfile(i, fname, ftype, file_types):
    if os.path.exists('.' + fname) and not os.path.exists(fname):
       shutil.copy2('.' + fname, fname)
@@ -122,3 +124,4 @@ def process_files(file_types):
 
 process_files(home_file_types)
 process_files(mc_file_types)
+process_files(python_file_types)
index a07a0e6ab6f9ad661d9bf61d4188f79ad350fcd1..edd66a99c0a3b4845c53b637844e7761bf03beab 100644 (file)
@@ -13,7 +13,7 @@
 #
 # Text version <a href="init.py.txt">here</a>
 #
-# Generated by <a href="vimrc.html">gvim</a> :runtime syntax/2html.vim
+# Generated by <a href="../vimrc.html">gvim</a> :runtime syntax/2html.vim
 #
 </font>
 </pre>
index 66f920b0fab178b0f90fdbaed9f48ab31f981d8d..0d18ddaa78d782cd3ee7b35227651a720fe6f6a3 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Text version <a href="pdbrc">here</a>
 #
-# Generated by <a href="vimrc.html">gvim</a> :runtime syntax/2html.vim
+# Generated by <a href="../vimrc.html">gvim</a> :runtime syntax/2html.vim
 #
 </font>
 </pre>
index c8d0650c525c01958e3e67629c745f51c94e0fc1..a0b10b044d388b233e0aaa01795b2fc8a9764b9c 100644 (file)
@@ -3,7 +3,7 @@
 #
 # Text version <a href="pdbrc.py.txt">here</a>
 #
-# Generated by <a href="vimrc.html">gvim</a> :runtime syntax/2html.vim
+# Generated by <a href="../vimrc.html">gvim</a> :runtime syntax/2html.vim
 #
 </font>
 </pre>