diff .hgignore @ 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 feaaf725c54f
children 2f2fb099ac3a
line wrap: on
line diff
--- a/.hgignore	Wed Feb 23 01:42:14 2011 -0500
+++ b/.hgignore	Wed Feb 23 10:34:05 2011 -0600
@@ -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$