.ONESHELL: .DELETE_ON_ERROR: export SHELL := bash export SHELLOPTS := pipefail:errexit MAKEFLAGS += --warn-undefined-variables MAKEFLAGS += --no-builtin-rule include docs.mk PRECHECK := ifneq ($(filter oneshell,$(.FEATURES)),) else $(error This Makefile requires GNU Make version 4 or higher) endif .PHONY: sources/panels-visualizations/query-transform-data/transform-data/index.md sources/panels-visualizations/query-transform-data/transform-data/index.md: ## Generate the Transform Data page source. sources/panels-visualizations/query-transform-data/transform-data/index.md: @$(PRECHECK) cd $(CURDIR)/.. npx tsc ./scripts/docs/generate-transformations.ts node ./scripts/docs/generate-transformations.js > $(CURDIR)/$@ npx prettier -w $(CURDIR)/$@