123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- all: %%PROM_GROUPS_PREFIX%%.prom dashboard
- %%PROM_GROUPS_PREFIX%%.prom: groups.prom.in
- ../conf/substitute.sh $> $@
- dashboard: %%DASHBOARD_PREFIX%%status.json %%DASHBOARD_PREFIX%%status-render.json %%DASHBOARD_PREFIX%%status-group.json %%DASHBOARD_PREFIX%%status-group-render.json
- %%DASHBOARD_PREFIX%%status.json: status.json.in
- ../conf/substitute.sh $> $@
- %%DASHBOARD_PREFIX%%status-render.json: status-render.json.in
- ../conf/substitute.sh $> $@
- %%DASHBOARD_PREFIX%%status-group.json: status-group.json.in
- ../conf/substitute.sh $> $@
- %%DASHBOARD_PREFIX%%status-group-render.json: status-group-render.json.in
- ../conf/substitute.sh $> $@
- install: %%EXPORT_DIR%%/%%PROM_GROUPS_PREFIX%%.prom %%DASHBOARD_DIR%% %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status.json %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status-render.json %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status-group.json %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status-group-render.json
- %%DASHBOARD_DIR%%:
- %%DASHBOARD_DIR_INSTALL%% $@
- %%EXPORT_DIR%%/%%PROM_GROUPS_PREFIX%%.prom: %%PROM_GROUPS_PREFIX%%.prom
- %%INSTALL_DATA_CMD%% $> $@
- %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status.json: %%DASHBOARD_PREFIX%%status.json
- %%INSTALL_DATA_CMD%% $> $@
- %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status-render.json: %%DASHBOARD_PREFIX%%status-render.json
- %%INSTALL_DATA_CMD%% $> $@
- %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status-group.json: %%DASHBOARD_PREFIX%%status-group.json
- %%INSTALL_DATA_CMD%% $> $@
- %%DASHBOARD_DIR%%/%%DASHBOARD_PREFIX%%status-group-render.json: %%DASHBOARD_PREFIX%%status-group-render.json
- %%INSTALL_DATA_CMD%% $> $@
- clean:
- rm -f %%PROM_GROUPS_PREFIX%%.prom
- rm -f %%DASHBOARD_PREFIX%%status.json
- rm -f %%DASHBOARD_PREFIX%%status-render.json
- rm -f %%DASHBOARD_PREFIX%%status-group.json
- rm -f %%DASHBOARD_PREFIX%%status-group-render.json
|