From f9a0d59ae1f15b508c85a2b7ae31d1f016862eb8 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 17 Aug 2026 12:07:10 +0200 Subject: [PATCH 1/2] doc: Add subdir Add $(TOPDIR)/doc with some subdirectories: - jw-pkg: Using the jw-pkg application, mirroring the subcommand structure in its subdirectories. At this point only packages, projects and secrets are added, all empty To be expanded as needed - python: jw-pkg Python API Signed-off-by: Jan Lindemann --- doc/Makefile | 4 ++++ doc/jw-pkg/Makefile | 4 ++++ doc/jw-pkg/packages/Makefile | 4 ++++ doc/jw-pkg/projects/Makefile | 4 ++++ doc/jw-pkg/secrets/Makefile | 4 ++++ doc/python/Makefile | 4 ++++ 6 files changed, 24 insertions(+) create mode 100644 doc/Makefile create mode 100644 doc/jw-pkg/Makefile create mode 100644 doc/jw-pkg/packages/Makefile create mode 100644 doc/jw-pkg/projects/Makefile create mode 100644 doc/jw-pkg/secrets/Makefile create mode 100644 doc/python/Makefile diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 00000000..a9018b59 --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,4 @@ +TOPDIR = .. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/dirs.mk diff --git a/doc/jw-pkg/Makefile b/doc/jw-pkg/Makefile new file mode 100644 index 00000000..b1ec41b6 --- /dev/null +++ b/doc/jw-pkg/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/dirs.mk diff --git a/doc/jw-pkg/packages/Makefile b/doc/jw-pkg/packages/Makefile new file mode 100644 index 00000000..1fda4b76 --- /dev/null +++ b/doc/jw-pkg/packages/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/doc.mk diff --git a/doc/jw-pkg/projects/Makefile b/doc/jw-pkg/projects/Makefile new file mode 100644 index 00000000..1fda4b76 --- /dev/null +++ b/doc/jw-pkg/projects/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/doc.mk diff --git a/doc/jw-pkg/secrets/Makefile b/doc/jw-pkg/secrets/Makefile new file mode 100644 index 00000000..1fda4b76 --- /dev/null +++ b/doc/jw-pkg/secrets/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/doc.mk diff --git a/doc/python/Makefile b/doc/python/Makefile new file mode 100644 index 00000000..28a33162 --- /dev/null +++ b/doc/python/Makefile @@ -0,0 +1,4 @@ +TOPDIR = ../.. + +include $(TOPDIR)/make/proj.mk +include $(JWBDIR)/make/doc.mk From a0d7528701eda1a2505c30e17b0a245a80003c8f Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 18 Aug 2026 18:02:54 +0200 Subject: [PATCH 2/2] defs.mk: Add *.md to the DOC file types Add *.md to DOC, the list of file extensions recognized and packaged by default. Signed-off-by: Jan Lindemann --- make/defs.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/defs.mk b/make/defs.mk index 12adf33d..b286a5de 100644 --- a/make/defs.mk +++ b/make/defs.mk @@ -347,7 +347,7 @@ INSTALLED_HDR += $(addprefix $(INSTALL_HDRDIR)/,$(SRC_H)) # -- DOC INSTALLATION_FILE_TYPES += DOC -DOCS += $(wildcard VERSION README* CHANGES TODO* LICENSE AUTHORS CREDITS RELEASES *.pdf *.txt *.html) +DOCS += $(wildcard $(sort VERSION README* CHANGES TODO* LICENSE AUTHORS CREDITS RELEASES *.pdf *.txt *.html *.md)) DOCSUBDIRS += $(wildcard html tex info examples src) BUILD_DOCDIR ?= $(TOPDIR)/doc