.hgignore
changeset 0 4ee42872ac7b
equal deleted inserted replaced
-1:000000000000 0:4ee42872ac7b
       
     1 # A note on the rules: there are two rules for each specific name (but not
       
     2 # for file extensions), since e.g. "^tmp$" matches "tmp" in the root directory
       
     3 # (i.e. the same directory this .hgignore file is in) and "/tmp$"" matches
       
     4 # "tmp" in any subdirectory of the root. A simple rule "tmp$" will not do,
       
     5 # since it will erroneously match anything ending in "tmp", e.g. "myfiletmp",
       
     6 # anywhere in the directory hierarchy.
       
     7 
       
     8 # Sadly "bld.inf", "*.mmp" and "*.def" files cannot be blindly ignored, since
       
     9 # the code base contains some native S60 projects, for which these files are 
       
    10 # not generated automatically.
       
    11 
       
    12 # Make sure were using the regular expression syntax, not globbing.
       
    13 syntax: regexp
       
    14 
       
    15 # Doxygen generated directories and files.
       
    16 ^doc/html$
       
    17 ^warn.log$
       
    18 
       
    19 # Directory names.
       
    20 ^\.project$
       
    21 /\.project$
       
    22 ^\.cproject$
       
    23 /\.cproject$
       
    24 ^\.settings$
       
    25 /\.settings$
       
    26 ^debug$
       
    27 /debug$
       
    28 ^include$
       
    29 ^lib$
       
    30 /lib$
       
    31 ^moc$
       
    32 /moc$
       
    33 ^obj$
       
    34 /obj$
       
    35 ^rcc$
       
    36 /rcc$
       
    37 ^release$
       
    38 /release$
       
    39 ^tmp$
       
    40 /tmp$
       
    41 
       
    42 # File names.
       
    43 ^\.qmake\.cache$
       
    44 ^ABLD\.BAT$
       
    45 /ABLD\.BAT$
       
    46 #^bld\.inf$
       
    47 #/bld\.inf$
       
    48 #^hb_install\.prf$
       
    49 ^Makefile$
       
    50 /Makefile$
       
    51 ^mocinclude\.tmp$
       
    52 /mocinclude\.tmp$
       
    53 ^Thumbs\.db$
       
    54 /Thumbs\.db$
       
    55 
       
    56 # File name patterns.
       
    57 ^Makefile.*\..*$
       
    58 /Makefile.*\..*$
       
    59 ^moc_.*\.cpp$
       
    60 /moc_.*\.cpp$
       
    61 ^object_script\..*$
       
    62 /object_script\..*$
       
    63 ^qrc_.*\.cpp$
       
    64 /qrc_.*\.cpp$
       
    65 /tmp[^/]*$
       
    66 
       
    67 # File name extensions.
       
    68 \.a$
       
    69 \.bak$
       
    70 #\.def$
       
    71 \.dll$
       
    72 \.exe$
       
    73 \.idb$
       
    74 \.ilk$
       
    75 \.loc$
       
    76 #\.mmp$
       
    77 \.moc$
       
    78 \.ncb$
       
    79 \.o$
       
    80 \.orig$
       
    81 \.pdb$
       
    82 \.pkg$
       
    83 \.pro.user$
       
    84 \.qtplugin$
       
    85 \.rss$
       
    86 \.sln$
       
    87 \.so$
       
    88 \.suo$
       
    89 \.tmp$
       
    90 \.user$
       
    91 \.vcproj$
       
    92 
       
    93 # Theme content is always delivered ZIP-packaged
       
    94 \.svg$
       
    95 \.png$
       
    96 \.jpg$
       
    97 \.gif$
       
    98 \.svgt$