Build and packaging library
  • Python 54.1%
  • Makefile 33.7%
  • Shell 12.2%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jan Lindemann f21ff8e713
topdir.mk: Add dynamic file creation machinery
Add generic machinery to dynamically create files in $(TOPDIR). The
need arises because version controlled configuration files for
linters are going to be introduced.

For that, this commit introduces a variable $(TD_GENERATE_FILES),
which target all depends on, and which topdir.clean removes.

It defaults to another variable also introduced by this commit,
$(TD_COPY_FILES), which in turn defaults to $(TOPDIR)/conf/topdir.

This commit also adds support for JW_PKG_TOPDIR_COPY_PATH. It
supports a PATH-style syntax, which allows pointing to multiple
directories to be checked for source files. If they exist, they will
be appended to the files found in $(TOPDIR)/conf/topdir after
copying. Defining arbitray files to copy is not supported before
security implications during CI runs are better understood.

Having the copy prerequisites work comes at the cost of having to add
.SECONDEXPANSION. Since it's limited to the toplevel Makefile, I
suppose that's acceptable.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-05-31 18:20:30 +02:00
.github/workflows build-package.yaml: Add workflow 2026-04-13 17:23:13 +02:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
conf topdir.mk: Add dynamic file creation machinery 2026-05-31 18:20:30 +02:00
make topdir.mk: Add dynamic file creation machinery 2026-05-31 18:20:30 +02:00
scripts python-tools.sh: Fix __init__.py linter complaints 2026-05-31 17:51:51 +02:00
src cmds.projects.CmdCreateFile: Add module 2026-05-31 18:20:29 +02:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-225@suse-tumbleweed/x86_64 2026-05-21 10:24:49 +00:00
Makefile make: Replace RPM -> PKG 2026-03-16 14:57:50 +01:00
RELEASES Release 1.0.0-225@suse-tumbleweed/x86_64 2026-05-21 10:24:49 +00:00
VERSION Start version: 1.0.0-225 2026-05-21 10:10:54 +00:00