Mercurial > octave
annotate .hgignore @ 25538:a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
* .hgignore: Organize patterns with more comments. Add many more ignore
patterns.
author | Rik <rik@octave.org> |
---|---|
date | Mon, 02 Jul 2018 11:26:20 -0700 |
parents | 975450679c15 |
children | 115db34f35fb |
rev | line source |
---|---|
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
1 syntax: regexp |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
2 ## The recurrent (^|/) idiom in the regexps below should be understood |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
3 ## to mean "at any directory" while the ^ idiom means "from the |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
4 ## project's top-level directory". |
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
5 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
6 ## gnulib related files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
7 # gnulib makes these silly backup files. |
15410
2024c70329df
.hgignore: Ignore gnulib/gnulib.mk file.
Rik <rik@octave.org>
parents:
15394
diff
changeset
|
8 .~$ |
20715
5b7643257978
Remove trailing whitespace at end of lines.
Rik <rik@octave.org>
parents:
20386
diff
changeset
|
9 # This directory gets created by gnulib during the build. |
15394
2b72343ed9c4
hgignore: Update patterns to reflect directory changes to source tree.
Rik <rik@octave.org>
parents:
15325
diff
changeset
|
10 # It contains no Octave files. |
24091
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
11 ^libgnu($|/) |
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
12 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
13 ## m4 related files |
15765
70bf9b6d47af
maint: update .hgignore to reflect new libgnu/ structure
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
15410
diff
changeset
|
14 # This directory mostly contains cruft during build time, but it does |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
15 # contain some Octave code, so be more careful about what we ignore here. |
15325
d9b955926a50
maint: update .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents:
15207
diff
changeset
|
16 ^m4/(?!ax_).+\.m4$ |
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
17 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
18 ## Autoconf, Automake automatically generated files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
19 ^aclocal\.m4$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
20 ^autom4te\.cache($|/) |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
21 ^config\.in\.h$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
22 ^configure$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
23 ^config.cache$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
24 ^config.h$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
25 ^config.log$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
26 ^config.status$ |
7823
feaaf725c54f
Ignore build directories.
Michael Goffioul <michael.goffioul@gmail.com>
parents:
0
diff
changeset
|
27 |
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
28 (/|^)Makefile\.in$ |
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
29 ^INSTALL$ |
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
30 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
31 ## Emacs associated files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
32 (^|/)TAGS$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
33 (^|/)semantic.cache$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
34 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
35 ## Scripts associated with building Octave |
24091
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
36 ^build-aux/config\.(guess|rpath|sub)$ |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
37 ^build-aux/check-subst-vars\.sh$ |
24091
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
38 ^build-aux/depcomp$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
39 ^build-aux/install-sh$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
40 ^build-aux/ltmain\.sh$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
41 ^build-aux/mdate-sh$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
42 ^build-aux/missing$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
43 ^build-aux/move-if-change$ |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
44 ^build-aux/subst-config-vals\.sh$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
45 ^build-aux/subst-cross-config-vals\.sh$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
46 ^build-aux/subst-default-vals\.sh$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
47 ^build-aux/subst-script-vals\.sh$ |
24091
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
48 ^build-aux/texinfo\.tex$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
49 ^build-aux/ylwrap$ |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
50 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
51 ## Mercurial associated files |
25537
975450679c15
.hgignore: Add more files to ignore (bug #54216).
Andrew Janke <andrew@apjanke.net>
parents:
24091
diff
changeset
|
52 ^HG-ID$ |
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
53 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
54 ## Timestamp files used in build process |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
55 .*/\.dirstamp$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
56 .*/\.octave-dirstamp$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
57 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
58 ## Intermediate compilation results for libraries |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
59 .*\.la$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
60 .*/\.libs/ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
61 .*\.Plo$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
62 .*\.Po$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
63 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
64 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
65 ## DLDFCN associated files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
66 ^libinterp/dldfcn/module\.mk$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
67 ^libinterp/dldfcn/PKG_ADD$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
68 ^libinterp/dldfcn/.*\.oct$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
69 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
70 ## liboctave/ directory associated patterns |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
71 # E.g., liboctave/operators/smx-op-inc.mk |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
72 ^liboctave/operators/\w+-op-\w+\.mk$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
73 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
74 ## scripts/ directory associated patterns |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
75 # Package files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
76 ^scripts/.*/PKG_ADD$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
77 # Java files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
78 ^scripts/java/octave\.jar$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
79 ^scripts/java/org/octave/.*\.class$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
80 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
81 ## libgui/ associated patterns |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
82 # Files generated by moc tool |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
83 ^libgui/.*/moc-.*\.(cc|h)$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
84 ^libgui/languages/.*\.qm$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
85 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
86 ## Ignore patterns associated with documentation |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
87 # Info generated files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
88 # E.g., doc/faq/OctaveFAQ.info, doc/interpreter/octave.info-4 |
24091
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
89 ^doc/\w+/\w+\.info(-\d+)?$ |
12473
95b1c64c287f
Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents:
7823
diff
changeset
|
90 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
91 # Texinfo created temporary directories |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
92 ^doc/(interpreter|liboctave)/(octave|liboctave)\.t2(d|p)/ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
93 # Texinfo created files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
94 ^doc/interpreter/.*\.texi$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
95 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
96 # DOCSTRINGS files built in the source tree |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
97 ^(libinterp|scripts)/DOCSTRINGS$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
98 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
99 # Generated HTML directories |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
100 ^doc/interpreter/octave\.html/ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
101 ^doc/liboctave/liboctave\.html/ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
102 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
103 # Miscellaneous auto-generated files |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
104 ^doc/interpreter/octave\.dvi$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
105 ^doc/interpreter/octave\.ps$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
106 ^doc/interpreter/doc-cache$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
107 ^doc/interpreter/octave_interpreter\.q(ch|hc)$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
108 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
109 # Images and scripts for documentation |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
110 ^doc/interpreter/images\.mk$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
111 ^doc/interpreter/.*\.eps$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
112 ^doc/interpreter/.*\.pdf$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
113 ^doc/interpreter/.*\.png$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
114 ^doc/interpreter/.*\.txt$ |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
115 |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
116 # timestamps for doc directory |
24091
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
117 ^doc/\w+/stamp-(vti|\d+)$ |
19d8d99152e9
maint: make .hgignore more precise about auxiliary and intermediate files
Mike Miller <mtmiller@octave.org>
parents:
24078
diff
changeset
|
118 ^doc/\w+/version-\w+\.texi$ |
21674
5e083d07ba35
maint: add DOCSTRINGS to .hgignore
Mike Miller <mtmiller@octave.org>
parents:
20715
diff
changeset
|
119 |
25538
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
120 ## Test associated patterns |
a27ae22eb41d
.hgignore: Add more files to ignore (bug #54216).
Rik <rik@octave.org>
parents:
25537
diff
changeset
|
121 .*-tst$ |
25537
975450679c15
.hgignore: Add more files to ignore (bug #54216).
Andrew Janke <andrew@apjanke.net>
parents:
24091
diff
changeset
|
122 |