]> birchwood-abbey.net Git - mit-scheme.git/commitdiff
src{,/etc}/Tags.sh: Skip autom4te.cache/ and lib/.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sun, 5 Jul 2020 22:23:34 +0000 (15:23 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Wed, 8 Jul 2020 04:02:58 +0000 (21:02 -0700)
Also rm /-f/ TAGS (because there might not be one), and allow symlinks
to .scm, .sld or .pkg files.

src/Tags.sh
src/etc/Tags.sh

index e5983f759fa6b90b79f024305e2aaed47eb19d80..419e68f34305070a0ec68320dacf494e1a87b8e4 100755 (executable)
@@ -28,7 +28,7 @@
 
 set -e
 
-EXCLUDED_DIRS=(etc relnotes tools)
+EXCLUDED_DIRS=(etc relnotes tools autom4te.cache lib)
 
 function excluded_dir ()
 {
index dd9c69f25e21daa6241085c69e09ded8cb14b64e..340cf3749d456cf9829119ad6ee46243f7ca637c 100755 (executable)
@@ -26,6 +26,6 @@
 # Utility to make TAGS file for an MIT/GNU Scheme build directory.
 # The working directory must be the build directory.
 
-rm TAGS
-find * -maxdepth 0 -type f \( -name \*.scm -o -name \*.sld -o -name \*.pkg \) \
+rm -f TAGS
+find * -maxdepth 0 \( -name \*.scm -o -name \*.sld -o -name \*.pkg \) \
     -print0 | xargs -0 etags --append --language=scheme