Commit 0a91a5e9 authored by Daniel Vetter's avatar Daniel Vetter

meson: Simple makefile integration

Run ./ once, then you have

$ make


$ make test

available in the normal src root.



$ make reconfigure

which is the meson equivalent to rerunning ./configure. Also takes
some arguments if needed. Start out with --help, as usual.

v3: Use ninja -C (Chris).

v4: Catch more automake targets and point out what's happening

v5: Use EOF as heredoc marker (Arek)

Cc: Petri Latvala <>
Cc: Chris Wilson <>
Reviewed-by: Arkadiusz Hiler's avatarArkadiusz Hiler <>
Signed-off-by: Daniel Vetter's avatarDaniel Vetter <>
parent c117213c
cat > Makefile <<EOF
.PHONY: default docs
default: all
mkdir build
all: build/
ninja -C build
clean: build/
ninja -C build clean
test: build/
ninja -C build test
reconfigure: build/
ninja -C build reconfigure
check distcheck dist distclean:
echo "This is the meson wrapper, not automake" && false
install uninstall:
echo "meson install support not yet completed" && false
echo "meson gtkdoc support not yet completed" && false
make $@
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment