agama/doc/dbus/Makefile
Martin Vidner b08ce899d7 doc/dbus: move logic from Makefile to shell scripts; add CSS
added a `make clean` target

refentry-agama.css is my stupid attempt to do minimal styling

Makefile has a quirky syntax that is a barrier to maintenance;
separate shell scripts are an easy target for shellcheck too.
2025-04-13 15:06:21 +02:00

16 lines
No EOL
297 B
Makefile

distdir=../dist/dbus
tmpdir=./tmp
# build HTML for GitHub pages
all:
./build-docs "${distdir}" "${tmpdir}"
clean:
rm -rf "${distdir}" "${tmpdir}"
# check that the implementation and documentation haven't diverged
diff: check
check:
./compare-impl-and-docs "${tmpdir}"
.PHONY: all diff check