Tool to help you manage your Grafana dashboards using Git.

rules 468B

12345678910111213141516
  1. #!/usr/bin/make -f
  2. %:
  3. dh $@
  4. DESTDIR := $(CURDIR)/debian/grafana-dashboard-manager
  5. override_dh_auto_build:
  6. go version
  7. gb build
  8. override_dh_auto_install:
  9. [ ! -d $(DESTDIR) ] && mkdir -p $(DESTDIR)
  10. install $(CURDIR)/bin/pusher -D $(DESTDIR)/opt/grafana-dashboard-manager/pusher
  11. install $(CURDIR)/bin/puller -D $(DESTDIR)/opt/grafana-dashboard-manager/puller
  12. install $(CURDIR)/config.example.yaml -D $(DESTDIR)/opt/grafana-dashboard-manager/config.example.yaml