# Welcome to the mkid language mapper.
#
# The format of each line is:
#
#		<pattern> <language> [options]
#
# Filenames are matched top-to-bottom against the patterns, and the
# first match is chosen.  The special language `IGNORE' means that
# this file should be ignored by mkid.  The options are
# language-specific command-line options to mkid.
#
# If a file name doesn't match any pattern, it is assigned the default
# language.  The default language may be specified here with the
# special pattern `**', or overridden from the mkid command-line with
# the `--default-lang=LANG' option.
#
# The special pattern `***' means to include the named file that
# immediately follows.  If no file is named, then the default system
# language mapper file (i.e., this file) is included.

# Default language
**			IGNORE	# Although this is listed first,
				# the default language pattern is
				# logically matched last.

#.svn/*                  IGNORE
#{arch}/                 IGNORE
*.py                    text
*.zcml                  text
*.pt                    text
*.zpt                   text
*.js                    text
*.html                  text
*.css                   text
*.rst                   text
*.mako                  text

# Backup files
*~			IGNORE
*.bak			IGNORE
*.bk[0-9]		IGNORE

# SCCS files
[sp].*			IGNORE

# C dependencies created by automake
*/.deps/*		IGNORE

*.h			C
*.h.in			C
*.H			C++
*.hh			C++
*.hpp			C++
*.hxx			C++

*.l			C
*.lex			C
*.y			C
*.yacc			C

*.c			C
*.C			C++
*.cc			C++
*.cpp			C++
*.CPP			C++
*.cxx			C++

ChangeLog*		Cdoc

*.[sS]			asm --comment=;
*.asm			asm --comment=;

# [nt]roff
*.[0-9]			roff
*.ms			roff
*.me			roff
*.mm			roff

*.tex			TeX
*.ltx			TeX
*.texi			texinfo
*.texinfo		texinfo

# portable object (i18n)
*.po			po

*.el			elisp
*.lisp			text

*.am			make
Makefile		make
Makefile.*		make

*.doc			text
*.txt			text

*.m4			m4

*.pl			perl

*.gz			FILTER gzip -d <%s
*.Z			FILTER gzip -d <%s
