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.
16 lines
No EOL
297 B
Makefile
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 |