source: trunk/.svndigest/config @ 521

Last change on this file since 521 was 521, checked in by Peter Johansson, 14 years ago

changing format of parsing codons in config file

  • Property svn:keywords set to Id
File size: 2.1 KB
Line 
1### $Id: config 521 2007-12-24 22:34:54Z peter $
2### This file configures various behaviors for svndigest
3### The commented-out below are intended to demonstrate how to use
4### this file.
5
6### Section for setting aliases used in copyright update
7[copyright-alias]
8# jdoe = John Doe
9jari = Jari Häkkinen
10peter = Peter Johansson
11
12### Section for setting trac environment
13[trac]
14# If trac-root is set, svndigest will create anchors to the Trac page.
15# trac-root = http://trac.thep.lu.se/svndigest/
16trac-root = http://trac.thep.lu.se/svndigest/
17
18### Section for setting dictionary for file names.
19### Prior looking for file name pattern in section [codon],
20### the file name may be translated according to the rules
21### in this section. In default setting there is, for example,
22### a rule to translate `<FILENAME>.in' to `<FILENAME>'.
23### The format of the entries is:
24###    file-name-pattern = new-name
25### Left hand side may contain wildcards (such as '*' and '?').
26### Right hand side may contain "$i", which will be replaced
27### with the ith wild card in lhs string.
28[file-name-dictionary]
29*.in = $1
30
31### Section for setting parsing modes
32### The format of the entries is:
33###   file-name-pattern = "start-code" : "end-code"
34### The file-name-pattern may contain wildcards (such as '*' and '?').
35### String "\n" can be used for codons containing newline
36### character.
37[parsing-codons]
38*.ac = "#":"\n"  ;  "dnl":"\n"
39*.am = "#":"\n"  ;  "dnl":"\n"
40*.m4 = "#":"\n"  ;  "dnl":"\n"
41*.c = "//":"\n"  ;  "/*":"*/"
42*.cc = "//":"\n"  ;  "/*":"*/"
43*.cpp = "//":"\n"  ;  "/*":"*/"
44*.cxx = "//":"\n"  ;  "/*":"*/"
45*.h = "//":"\n"  ;  "/*":"*/"
46*.hh = "//":"\n"  ;  "/*":"*/"
47*.hpp = "//":"\n"  ;  "/*":"*/"
48*.java = "//":"\n"  ;  "/*":"*/"
49*.pl = "#":"\n"
50*.pm = "#":"\n"
51*.sh = "#":"\n"
52*config = "#":"\n"
53bootstrap = "#":"\n"
54Makefile = "#":"\n"
55*.tex = "%":"\n"
56*.m = "%":"\n"
57*.jsp = "<!--":"-->"
58*.html = "<%--":"--%>"
59*.xml = "<!--":"-->"  ;  "<!--":"-->"
60*.xsl = "<!--":"-->"
61*.xsd = "<!--":"-->"
62*.xhtml = "<!--":"-->"
63*.shtml = "<!--":"-->"
64*.css = "<!--":"-->"
65*.rss = "<!--":"-->"
66*.sgml = "<!--":"-->"
67*.bat = "\nREM":"\n"  ;  "\nrem":"\n"
Note: See TracBrowser for help on using the repository browser.