From f9a0d59ae1f15b508c85a2b7ae31d1f016862eb8 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 17 Aug 2026 12:07:10 +0200 Subject: [PATCH 1/5] 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/5] 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 From 1d77122974414fd912c795901d20802ed2d03a0c Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 19 Aug 2026 20:47:59 +0200 Subject: [PATCH 3/5] doc-rules.mk: Add empty target test Add empty target "test" to keep the build from erroring out over make test in documentation directories. Signed-off-by: Jan Lindemann --- make/doc-rules.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/make/doc-rules.mk b/make/doc-rules.mk index 8e411d49..b16660cb 100644 --- a/make/doc-rules.mk +++ b/make/doc-rules.mk @@ -7,6 +7,7 @@ all: install: install_DOC clean: doc.clean distclean: +test: doc.clean: $(RM) -rf *~ .*.swp From 2b67d4327909fef17d2df6b24258f316f0c46d4b Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Tue, 18 Aug 2026 18:02:54 +0200 Subject: [PATCH 4/5] 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 From 4ea3c91e941083f5aa72eca2463510f1f9f7a52b Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Mon, 17 Aug 2026 12:07:10 +0200 Subject: [PATCH 5/5] 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