summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 2a2377e..4f65808 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -41,4 +41,8 @@ $(DOCDIR)/all-macros.texi: $(srcdir)/configure
@echo generating $@
@$(MKDIR_P) $(DOCDIR)
@rm -f "$@"
+ @echo '@menu' >>"$@"
+ @for n in $(MACROS); do echo "* $$n::" >>"$@"; done
+ @echo '@end menu' >>"$@"
+ @echo '' >>"$@"
@for n in $(MACROS); do echo "@include $$n.texi" >>"$@"; done