mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00

There's always a possibility that someone wants to use meson with something else than `ninja` (in theory, since this is the only supported backend atm). It also means less commands to remember for newcomers.
29 lines
350 B
Makefile
Executable file
29 lines
350 B
Makefile
Executable file
#!/usr/bin/env -S make -f
|
|
default: build
|
|
|
|
# This file is executable so you can do
|
|
# ./meson.make
|
|
# ./meson.make install
|
|
|
|
|
|
prefix = /usr
|
|
prefix = $(HOME)/.local
|
|
|
|
|
|
_build:
|
|
meson _build --prefix=$(prefix)
|
|
|
|
|
|
.PHONY: build
|
|
build: | _build
|
|
meson compile -C _build
|
|
|
|
|
|
.PHONY: install
|
|
install:
|
|
meson install -C _build
|
|
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf _build
|