.hgignore
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 06 Jul 2010 14:53:09 +0300
changeset 8 02a1dd166f2b
parent 0 4ee42872ac7b
permissions -rw-r--r--
Revision: 201025 Kit: 2010127

# A note on the rules: there are two rules for each specific name (but not
# for file extensions), since e.g. "^tmp$" matches "tmp" in the root directory
# (i.e. the same directory this .hgignore file is in) and "/tmp$"" matches
# "tmp" in any subdirectory of the root. A simple rule "tmp$" will not do,
# since it will erroneously match anything ending in "tmp", e.g. "myfiletmp",
# anywhere in the directory hierarchy.

# Sadly "bld.inf", "*.mmp" and "*.def" files cannot be blindly ignored, since
# the code base contains some native S60 projects, for which these files are 
# not generated automatically.

# Make sure were using the regular expression syntax, not globbing.
syntax: regexp

# Doxygen generated directories and files.
^doc/html$
^warn.log$

# Directory names.
^\.project$
/\.project$
^\.cproject$
/\.cproject$
^\.settings$
/\.settings$
^debug$
/debug$
^include$
^lib$
/lib$
^moc$
/moc$
^obj$
/obj$
^rcc$
/rcc$
^release$
/release$
^tmp$
/tmp$

# File names.
^\.qmake\.cache$
^ABLD\.BAT$
/ABLD\.BAT$
#^bld\.inf$
#/bld\.inf$
#^hb_install\.prf$
^Makefile$
/Makefile$
^mocinclude\.tmp$
/mocinclude\.tmp$
^Thumbs\.db$
/Thumbs\.db$

# File name patterns.
^Makefile.*\..*$
/Makefile.*\..*$
^moc_.*\.cpp$
/moc_.*\.cpp$
^object_script\..*$
/object_script\..*$
^qrc_.*\.cpp$
/qrc_.*\.cpp$
/tmp[^/]*$

# File name extensions.
\.a$
\.bak$
#\.def$
\.dll$
\.exe$
\.idb$
\.ilk$
\.loc$
#\.mmp$
\.moc$
\.ncb$
\.o$
\.orig$
\.pdb$
\.pkg$
\.pro.user$
\.qtplugin$
\.rss$
\.sln$
\.so$
\.suo$
\.tmp$
\.user$
\.vcproj$

# Theme content is always delivered ZIP-packaged
\.svg$
\.png$
\.jpg$
\.gif$
\.svgt$