Makefile 532 B

123456789101112131415161718
  1. CONFIGDIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))
  2. ENTITY_SEED := $(CONFIGDIR)../../../examples/solutions/latching-toggle/water_valve.yaml
  3. # The screenshot config reads and writes this fixture, so captures never touch
  4. # a real /etc/OliveTin install.
  5. export WATER_VALVE_ENTITY_FILE := $(CONFIGDIR)water_valve.yaml
  6. include ../../screenshots.mk
  7. start: seed-entity
  8. .DEFAULT_GOAL := screenshots
  9. .PHONY: screenshots seed-entity
  10. seed-entity:
  11. cp "$(ENTITY_SEED)" "$(WATER_VALVE_ENTITY_FILE)"
  12. screenshots: update-screenshots