build: add script for collecting dependencies (make requires)
This commit is contained in:
parent
6e132be7db
commit
b1fe840a78
2 changed files with 133 additions and 1 deletions
5
Makefile
5
Makefile
|
|
@ -6,7 +6,7 @@ BINDIR ?= $(PREFIX)/bin
|
|||
DATADIR ?= $(PREFIX)/share
|
||||
LIBEXECDIR ?= $(PREFIX)/libexec
|
||||
|
||||
.PHONY: build clean install check
|
||||
.PHONY: build clean install check requires
|
||||
.DEFAULT: build
|
||||
|
||||
GENERATED := $(patsubst %.in,%,$(wildcard sway/*.in sway/*/*.in ))
|
||||
|
|
@ -47,3 +47,6 @@ check:
|
|||
mkdir -p test
|
||||
export WLR_BACKENDS=headless WLR_RENDERER=pixman XDG_RUNTIME_DIR="$(CURDIR)/test" SRCDIR="$(CURDIR)"; \
|
||||
/usr/bin/sway --debug --validate --config $(CURDIR)/sway/config.test
|
||||
|
||||
requires: | build
|
||||
@./scripts/requires.py sway/config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue