Makefile 279 B

123456789101112
  1. all: hidepdfads
  2. hidepdfads: src/script.sh presets.txt
  3. cat $^ > $@
  4. presets.txt: data/presets.json
  5. jq --raw-output '.[] | (.name + " " + .X + " " + .Y + " " + .L + " " + .H + " " + .color + " " + .unit + " " + .format)' < "$^" > "$@"
  6. clean:
  7. rm presets.txt
  8. .PHONY: clean all