From 4026b6816d9ec8008f614f9b0edabb820adc7701 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Tue, 6 Dec 2016 10:09:41 -0500 Subject: [PATCH] Makefile: add automatic view targets Signed-off-by: Philippe Proulx --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index f0ee139..0271a0d 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,11 @@ $(1)/$(PREFIX)-$(1).html: $(1)/$(PREFIX)-$(1).txt $(CONF) .PHONY: $(1) $(1): $(1)/$(PREFIX)-$(1).html + +view-$(1): + xdg-open $(1)/$(PREFIX)-$(1).html + +.PHONY: view-$(1) endef .PHONY: all -- 2.34.1