changeset 12473:95b1c64c287f

Improve .hgignore adding more things to be ignored
author Jordi Gutiérrez Hermoso <jordigh@gmail.com>
date Wed, 23 Feb 2011 10:34:05 -0600
parents c40528d06c92
children 26d3164fd58d
files .hgignore ChangeLog
diffstat 2 files changed, 41 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore
+++ b/.hgignore
@@ -1,8 +1,39 @@
-(^|/)CVS($|/)
-(^|/)\.hg($|/)
-(^|/)\.hgtags($|/)
+syntax: regexp
+# The recurrent (^|/) idiom in the regexps below should be understood
+# to mean "at any directory" while the ^ idiom means "from the
+# project's top-level directory".
+
+# This one gets created by gnulib during the build, contains no Octave
+# files.
+^gnulib/
+
+# These directories mostly contain cruft during build time, but they
+# do contain some Octave code.
+^libgnu/
+^m4/
+
+# Emacs tools create these
+(^|/)TAGS$
+(^|/)semantic.cache$
 
+(/|^)Makefile\.in$
+^INSTALL$
+
+^aclocal\.m4
 ^build-.*($|/)
-(^|/)configure$
-(^|/)autom4te.cache($|/)
+^configure$
+^autom4te\.cache($|/)
 ^config\.h\.in$
+
+# e.g. doc/faq/OctaveFAQ.info
+#      doc/interpreter/octave.info-4
+^doc/.*\.info(-\d)?$
+
+^doc/\w*/stamp-vti$
+^doc/\w*/version\.texi$
+^doc/interpreter/images\.mk$
+
+# e.g. liboctave/smx-op-inc.mk
+^liboctave/[\w-]*\.mk$
+
+^src/DLD-FUNCTIONS/module\.mk$
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-23  Jordi GutiƩrrez Hermoso  <jordigh@gmail.com>
+
+	* .hgignore: Cleanup and more files to be ignore that get added
+	to the source during build time.
+
 2011-02-22  Rik  <octave@nomad.inbox5.com>
 
 	* Makefile.am: New explicit 'make check' target.