ci/ddebs.list \
ci/pinned-pkgs \
src/Make_all.mak \
+ src/Make_tags.mak \
src/README.md \
src/alloc.c \
src/alloc.h \
@echo "If there are problems, cd to the src directory and run make there"
cd src && $(MAKE) $@
+tags notags:
+ $(MAKE) -C src/ -f Make_tags.mak $@
+
# Some make programs use the last target for the $@ default; put the other
# targets separately to always let $@ expand to "first" by default.
-all install uninstall tools config configure reconfig proto depend lint tags types test scripttests testtiny test_libvterm unittests testclean clean distclean:
+all install uninstall tools config configure reconfig proto depend lint types test scripttests testtiny test_libvterm unittests testclean clean distclean:
@if test ! -f src/auto/config.mk; then \
cp src/config.mk.dist src/auto/config.mk; \
fi
#
-# Common Makefile, defines the list of tests to run and other things.
+# Common Makefile - shared platform independent
#
# Argument for running ctags.
--- /dev/null
+#
+# tags
+#
+
+include Make_all.mak
+-include auto/config.mk
+
+# Override with `make TAGPRG='...' tags`
+TAGPRG ?= ctags -I INIT+,INIT2+,INIT3+,INIT4+,INIT5+ --fields=+S -f tags
+
+notags:
+ -rm -f tags
+
+# You can ignore error messages for missing files.
+tags TAGS: notags
+ $(TAGPRG) $(TAGS_FILES)
fi
notags:
- -rm -f tags
+ $(MAKE) -f Make_tags.mak notags
-# Note: tags is made for the currently configured version.
+# Configure sets portable TAGPRG, else modern ctags is used.
# You can ignore error messages for missing files.
tags TAGS: notags
- $(TAGPRG) $(TAGS_FILES)
+ $(MAKE) -f Make_tags.mak tags
# Build the cscope database.
# This may search more files than necessary.
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 824,
/**/
823,
/**/