From: Oleg Broytman Date: Thu, 21 Jun 2012 22:16:11 +0000 (+0000) Subject: Moved python-related files to a separate 'python' subdirectory. X-Git-Url: https://git.phdru.name/?p=phdru.name%2Fphdru.name.git;a=commitdiff_plain;h=9c8e5433d7c2ac62735600c49d0c74b2e20b9839 Moved python-related files to a separate 'python' subdirectory. git-svn-id: file:///home/phd/archive/SVN/phdru.name/scripts@128 7bb0bf08-9e0d-0410-b083-99cee3bf18b8 --- diff --git a/dotfiles2html/dotfiles2html.py b/dotfiles2html/dotfiles2html.py index b7a66ce..f32147b 100755 --- a/dotfiles2html/dotfiles2html.py +++ b/dotfiles2html/dotfiles2html.py @@ -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) diff --git a/dotfiles2html/init.py.head b/dotfiles2html/init.py.head index a07a0e6..edd66a9 100644 --- a/dotfiles2html/init.py.head +++ b/dotfiles2html/init.py.head @@ -13,7 +13,7 @@ # # Text version here # -# Generated by gvim :runtime syntax/2html.vim +# Generated by gvim :runtime syntax/2html.vim # diff --git a/dotfiles2html/pdbrc.head b/dotfiles2html/pdbrc.head index 66f920b..0d18dda 100644 --- a/dotfiles2html/pdbrc.head +++ b/dotfiles2html/pdbrc.head @@ -3,7 +3,7 @@ # # Text version here # -# Generated by gvim :runtime syntax/2html.vim +# Generated by gvim :runtime syntax/2html.vim # diff --git a/dotfiles2html/pdbrc.py.head b/dotfiles2html/pdbrc.py.head index c8d0650..a0b10b0 100644 --- a/dotfiles2html/pdbrc.py.head +++ b/dotfiles2html/pdbrc.py.head @@ -3,7 +3,7 @@ # # Text version here # -# Generated by gvim :runtime syntax/2html.vim +# Generated by gvim :runtime syntax/2html.vim #