mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Allow for automatically converting the schema into a schema that works with SQLite by running `make` from the schema/ subdirectory. Use the new Makefile in the test suite. Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
15 lines
306 B
Makefile
15 lines
306 B
Makefile
FOREIGN_TARGETS = ../schema/aur-schema-sqlite.sql
|
|
T = $(sort $(wildcard t[0-9][0-9][0-9][0-9]-*.sh))
|
|
|
|
check: $(FOREIGN_TARGETS) $(T)
|
|
|
|
$(FOREIGN_TARGETS):
|
|
$(MAKE) -C $(dir $@) $(notdir $@)
|
|
|
|
clean:
|
|
$(RM) -r test-results/
|
|
|
|
$(T):
|
|
@echo "*** $@ ***"; $(SHELL) $@
|
|
|
|
.PHONY: check $(FOREIGN_TARGETS) clean $(T)
|