Skip to content

Commit a5b11ae

Browse files
committed
Fix make tags fail on non-default tag names
When ctags overrides default tags filename (e.g. `-f .tags`) `make tags` is failed because it assumes to see default `tags` filename: sort: cannot read: tags: No such file or directory This commit explicitly specifies "tags" filename for tags generation.
1 parent c433bad commit a5b11ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.pre.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ autoconf:
15551555
tags::
15561556
cd $(srcdir); \
15571557
ctags -w Include/*.h; \
1558-
for i in $(SRCDIRS); do ctags -w -a $$i/*.[ch]; \
1558+
for i in $(SRCDIRS); do ctags -f tags -w -a $$i/*.[ch]; \
15591559
done; \
15601560
LC_ALL=C sort -o tags tags
15611561

0 commit comments

Comments
 (0)