flush
[m6w6/btr] / lib / btr / report / notify-send.mk
index f4c5197610b79cc253707efd2d3f9113226e6fd1..cfc20ccb27d3a8fd2ebd34cc1822de9cc87131a7 100644 (file)
@@ -2,6 +2,11 @@
 .SUFFIXES:
 
 all: 
-       notify-send "[btr] $(BUILD) $(REPORT)"
+       $(SAY) "Notifying $(USER) about the report"
+       CONFIG_URL=$$(curl -sSF sprunge="@$(CONFIG_REPORT)" sprunge.us); \
+       BUILD_URL=$$(curl -sSF sprunge="@$(BUILD_REPORT)" sprunge.us); \
+       TEST_URL=$$(curl -sSF sprunge="@$(TEST_REPORT)" sprunge.us); \
+       notify-send $(REPORT_ARGS) "[btr] $(BUILD) $$(cat $(REPORT))" \
+               "Config: $$CONFIG_URL -- Build: $$BUILD_URL -- Test:$$TEST_URL";
 
 # vim: noet