changeset 419:2011e0d2f926

maint: update hg ignore list * .hgignore: Rewrite and reorganize ignore pattern list. Drop patterns not needed for this project, group and sort related patterns.
author Mike Miller <mtmiller@octave.org>
date Thu, 04 May 2017 09:41:40 -0700
parents a39b2e9112a0
children 7864849e84c2
files .hgignore
diffstat 1 files changed, 26 insertions(+), 56 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Thu May 04 08:52:53 2017 -0700
+++ b/.hgignore	Thu May 04 09:41:40 2017 -0700
@@ -3,66 +3,36 @@
 # to mean "at any directory" while the ^ idiom means "from the
 # project's top-level directory".
 
-(^|/).*\.pyc$
-(^|/).*\.dvi$
-(^|/).*\.pdf$
-(^|/).*\.o$
-(^|/).*\.oct$
-(^|/).*\.octlink$
-(^|/)octave-core$
-(^|/).*\.tar\.gz$
-(^|/).*\.html
+# These directories and files are created by GNU autotools
+^Makefile\.in$
+^aclocal\.m4$
+^autom4te\.cache($|/)
+^build-aux($|/)
+^config\.h\.in$
+^configure$
 
-# some common files that the geometry package deals with
-# and are rarely meant to be actually committed
-(^|/).*\.png
-(^|/).*\.svg
-(^|/).*\.eps
-(^|/).*\.fig
+# This directory contains m4 files managed by GNU libtool, but also contains
+# some files maintained in the repository
+^m4/(libtool|lt.+)\.m4$
 
-(^|/)m4
-(^|/)aclocal\.m4$
-(^|/).*\.in$
-(^|/).*\.guess$
-(^|/).*\.sub$
-(^|/)Makefile
-(^|/)depcomp
-(^|/)missing
-(^|/)install-sh
-(^|/)libtool
-(^|/)ltmain.sh
-(^|/)stamp-h1
-
-
+# These files are created by running configure
+(^|/)Makefile$
 (^|/)config\.h$
 (^|/)config\.log$
 (^|/)config\.status$
-(^|/)configure$
-(^|/)autom4te\.cache($|/)
-
-(^|/)\.deps
-(^|/)\.libs
-
-(^|/)PKG_(ADD|DEL)
-(^|/)octave-workspace
-
-(^|/)fntests\.log$
-(^|/).*\.cc-tst$
+(^|/)libtool$
+(^|/)stamp-h1$
 
-# e.g. doc/faq/OctaveFAQ.info
-#      doc/interpreter/octave.info-4
-^doc/.*\.info(-\d)?$
-
-^doc/\w*/stamp-vti$
-^doc/\w*/stamp-vti$
+# These files are normal build system artifacts
+(^|/).+\.cc-tst$
+(^|/).+\.l?[ao]$
+(^|/).+\.oct$
+(^|/).+\.tar\.gz$
+(^|/)PKG_(ADD|DEL)$
+(^|/)\.deps($|/)
+(^|/)\.libs($|/)
+(^|/)fntests\.log$
+(^|/)octave-workspace$
 
-^doc/latex
-^doc/html
-^doc/.*\.db$
-
-# Emacs tools create these
-(^|/)TAGS$
-(^|/)semantic.cache$
-
-# Other text editors often create these
-(^|/).*~$
+# This directory contains Doxygen generated documentation
+^doc($|/)