not too bad
[myslice.git] / Makefile
index eb8ec41..02d4ada 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,9 +5,13 @@ all:
 force:
 
 #################### compute emacs tags
+# list files under git but exclude third-party stuff like bootstrap and jquery
+myfiles: force
+       @git ls-files | egrep -v 'insert_above/|/bootstrap/|/jquery/'
+
 # in general it's right to rely on the contents as reported by git
 tags: force
-       git ls-files | xargs etags
+       $(MAKE) myfiles | xargs etags
 
 # however sometimes we have stuff not yet added, so in this case
 ftags: force