summaryrefslogtreecommitdiff
path: root/meson.sh
blob: cbf1a9326dbecb4b93a4b2362888b7c8e79c248a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash

cat > Makefile <<EOF

.PHONY: default docs
default: all

build/build.ninja:
	mkdir -p build
	meson build

all: build/build.ninja
	ninja -C build

clean: build/build.ninja
	ninja -C build clean

test: build/build.ninja
	ninja -C build test

reconfigure: build/build.ninja
	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

docs:
	echo "meson gtkdoc support not yet completed" && false

EOF

make $@