From: Philippe Proulx Date: Tue, 6 Dec 2016 15:09:41 +0000 (-0500) Subject: Makefile: add automatic view targets X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=4026b6816d9ec8008f614f9b0edabb820adc7701;p=lttng-docs.git Makefile: add automatic view targets Signed-off-by: Philippe Proulx --- 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