From 20b0abf68c5ed6829da4706f2ed7ee5f80e51d1a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 19 Mar 2022 02:05:11 +0300 Subject: Makefile: add view --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 124aede..0c2c2a1 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,7 @@ URL := http://localhost:4000/jekyll-theme/ .PHONY: wget wget: wget --no-verbose --recursive --no-parent --convert-links --adjust-extension -e robots=off --directory-prefix=.wget -- '$(call escape,$(URL))' + +.PHONY: view +view: + xdg-open '$(call escape,$(URL))' &> /dev/null -- cgit v1.2.3