• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/bin/bash
2
3cat > Makefile <<EOF
4
5.PHONY: default docs
6default: all
7
8build/build.ninja:
9	mkdir -p build
10	meson build
11
12all: build/build.ninja
13	ninja -C build
14
15clean: build/build.ninja
16	ninja -C build clean
17
18test: build/build.ninja
19	ninja -C build test
20
21reconfigure: build/build.ninja
22	ninja -C build reconfigure
23
24check distcheck dist distclean:
25	echo "This is the meson wrapper, not automake" && false
26
27install: build/build.ninja
28	ninja -C build install
29
30uninstall: build/build.ninja
31	ninja -C build uninstall
32
33docs:
34	ninja -C build igt-gpu-tools-doc
35
36EOF
37
38git config format.subjectprefix "PATCH i-g-t"
39
40make $@
41