Commit graph

28 commits

Author SHA1 Message Date
ac54a7bca6
make: Make target "test" depend on target "all"

Every directory should have a test target, and the test target should depend on all so that all files are generated that might be needed for testing. This commit fixes some missing targets, and adds some missing dependencies.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-07-02 19:52:35 +02:00
ed17aaa6c9 make: Align equal signs in *.mk to column 30

Chore: Format equal signs uniformly. They should all be at column 30 but aren't. Fix that.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-03-16 14:57:50 +01:00
bf16c6714b make, scripts: Re-add files necessary for building ytools

Re-add everthing needed for building and packaging ytools. This is a big commit, 2002 lines of code. It mostly consists of C/C++ machinery, plus some documentation-related stuff.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:59:49 +01:00
bc883deed4 Everywhere: Remove everything non-essential for "make clean all"

This commit removes everything not strictly necessary for running "make clean all" inside jw-build.

packaging jw-devtest. This cuts the repo down from 24077 to 4725 lines of code.

The idea is to

1) Further remove bloat from the remaining bits

2) Re-add what's necessary to build and package other essential repos.

The decision should be based on whether or not jw-build can also be useful in a non-janware context.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-14 15:02:56 +01:00
ec856711d2 conf.mk: Fix: Packages own /usr/lib/tmpfiles.d

/usr/lib/tmpfiles.d is provided by the OS, don't include it in the package.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-11-06 07:24:32 +00:00
336d1a5133 make: Add definitions and rules for *.tmpfiles

Add support for *.tmpfiles. xxx.tmpfiles gets installed by conf.mk as /usr/lib/tmpfiles.d/xxx.conf.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-09-14 13:29:04 +00:00
77b2c49e28 conf.mk: Add dummy test target

Directories with conf.mk error out on the test target, so add a no-op test target.

Signed-off-by: Jan Lindemann <jan@janware.com>
2025-02-17 17:06:26 +00:00
b2d6e6f554 Everywhere: Rename MODDIR -> JWBDIR

Rename the omnipresent MODDIR variable to JWBDIR, since that's more to the point.

Signed-off-by: Jan Lindemann <jan@janware.com>
2019-06-29 21:34:18 +00:00
88bf4b381b conf.mk, crontab.mk: Fix accidental cleanup of .h in conf.mk and crontab.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2019-01-30 16:23:24 +00:00
d684f198b2 make: Add dev-utils.mk for convenience targets

dev-utils.mk is meant to provide targets like install-to-system, which will be invoked during development

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-11-27 15:10:18 +00:00
ab7413ab73 conf.mk: Don't install /etc/init.d any longer

Remove /etc/init.d from packages, only install files below (i.e. *.init) if present.

Signed-off-by: Jan Lindemann <jan@janware.com>
2018-11-25 18:05:05 +00:00
f5c43f706a make: Replace some executables by absolute paths to improve performance
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-09-02 19:26:52 +00:00
bb84b0b6b5 Fix commit 1.14: $(CONF_D) installation owner and mode
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-28 18:48:59 +00:00
33a40ccc3e conf.mk: Add install_INIT prerequisite to init
Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-24 17:46:11 +00:00
c7097bf534 conf.mk: Fix $(CONF_D) installation owner and mode

Installation was done with plain install -d instead of $(INSTALL) -d, which yielded a permission denied.

Signed-off-by: Jan Lindemann <jan@janware.com>
2017-06-19 22:12:48 +00:00
0b9bc94a48 make: Rpm build machinery now installs less empty directories
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-07-22 09:08:40 +00:00
298f35647f make: Shifted site installation makefile definitions into $(SITE_DIR)/make/site.mk
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-06-28 02:00:24 +00:00
a28d8f5f30 make/*.mk: Add support for systemd service files
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-06-26 10:15:58 +00:00
98b170bceb make: (hopefully) added support for .site installation
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-06-24 19:19:41 +00:00
876714c147 conf.mk: Add install_APACHE_CONF to install targets
Signed-off-by: Jan Lindemann <jan@janware.com>
2014-06-17 13:24:09 +00:00
Jan Lindemann
5a10bf11d6 conf.mk: INSTALL_CFGDIR rule seems to be already defined in rules.mk, removed 2012-02-03 20:38:25 +00:00
Jan Lindemann
7d1e22cb76 make: Add support for RSYSLOG_XXX installation 2010-08-28 13:04:37 +00:00
Jan Lindemann
dba01ffe0f make: Add support for .crontab files 2010-06-10 10:00:29 +00:00
Jan Lindemann
05ed5dfd02 make: Support CONFIG_SUBDIR and CONF_D 2009-03-26 16:05:07 +00:00
Jan Lindemann
6d330b4336 conf.mk: Add install_LOGROT to install targets 2009-03-11 15:21:24 +00:00
Jan Lindemann
dc04c14d4b conf.mk: Add install_SYSCFG 2008-05-06 16:03:59 +00:00
Jan Lindemann
ea39c2649d conf.mk: Fix missing clean target 2007-09-01 15:23:57 +00:00
Jan Lindemann
e4409a8078 conf.mk: Add file 2007-08-28 17:19:57 +00:00