summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Epler <jepler@unpythonic.net>2013-12-01 12:08:08 -0600
committerJeff Epler <jepler@unpythonic.net>2013-12-01 12:34:11 -0600
commitbee611dd8fdcd158a23bcb963697f31707df4c59 (patch)
tree8458a3956735f5dd8fbef9801252be43264c3c5e
parent5b15a4e8db1ca23daeca3dcb1fef3266bb73f42b (diff)
downloadlinuxcnc-bee611dd8fdcd158a23bcb963697f31707df4c59.tar.gz
linuxcnc-bee611dd8fdcd158a23bcb963697f31707df4c59.zip
Improve ignores
Anchor many patterns. This helps not ignore more than intended. It is also a minor performance optimization. Add exceptions for files that are tracked but were ignored by the old patterns. Now a full build with docs leaves a clean tree (phew!)
-rw-r--r--.gitignore2
-rw-r--r--bin/.gitignore5
-rw-r--r--configs/.gitignore6
-rw-r--r--docs/html/.gitignore3
-rw-r--r--share/.gitignore2
-rw-r--r--src/.gitignore34
6 files changed, 31 insertions, 21 deletions
diff --git a/.gitignore b/.gitignore
index c1e042e35..32ee9bbb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,7 +12,7 @@ build-stamp
*.cmd
.tmp*
# Ignore generated html files,
-*.html
+/docs/**/*.html
# Except Gcode quick-ref cards (en,de,sp,fr) which are maintained by hand
!docs/html/gcode*.html
# Ignore all LyX files, we're done with them now.
diff --git a/bin/.gitignore b/bin/.gitignore
index a26408a2d..d75e5481d 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -1,2 +1,3 @@
-*
-!profile_axis
+/*
+!/profile_axis
+!/.gitignore
diff --git a/configs/.gitignore b/configs/.gitignore
index 514c4ed68..4dda428cb 100644
--- a/configs/.gitignore
+++ b/configs/.gitignore
@@ -1,6 +1,12 @@
*.var
*.var.bak
*/core_*.hal
+!/cooltool/core_stepper4.hal
+!/hexapod-sim/core_sim_6.hal
+!/sim/core_sim_noio.hal
+!/sim/core_sim_noiocontrol.hal
+!/sim/core_sim_test.hal
+
*/axis_manualtoolchange.hal
position*.txt
!common/*.hal
diff --git a/docs/html/.gitignore b/docs/html/.gitignore
index d6a345e9a..6895bf369 100644
--- a/docs/html/.gitignore
+++ b/docs/html/.gitignore
@@ -2,6 +2,8 @@
*.css
!linuxcnc.css
*.html
+!gcode.html
+!gcode_fr.html
*.xml
*.png
*.gif
@@ -14,3 +16,4 @@ gui
hal
install
motion
+examples
diff --git a/share/.gitignore b/share/.gitignore
index 193b759b5..6c953f077 100644
--- a/share/.gitignore
+++ b/share/.gitignore
@@ -1 +1 @@
-locale
+/locale
diff --git a/src/.gitignore b/src/.gitignore
index 8b2b1b651..3da0a4c83 100644
--- a/src/.gitignore
+++ b/src/.gitignore
@@ -1,17 +1,17 @@
-Modules.symvers
-.swishindex*
-.tmp_versions
-Makefile.inc
-Makefile.modinc
-config.h
-config.log
-config.status
-objects
-depends
-autom4te.cache
-Module.symvers
-config.status.lineno
-tags
-TAGS
-config.h.in
-configure
+/Modules.symvers
+/.swishindex*
+/.tmp_versions
+/Makefile.inc
+/Makefile.modinc
+/config.h
+/config.log
+/config.status
+/objects
+/depends
+/autom4te.cache
+/Module.symvers
+/config.status.lineno
+/tags
+/TAGS
+/config.h.in
+/configure