From 1958f53ced79f9834d94f0c63cecc4c8697430c3 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 19 Mar 2022 02:22:31 +0300 Subject: Makefile: add view --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7009083..3f0fed1 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,7 @@ URL := http://localhost:4000/ .PHONY: wget wget: wget --no-verbose --recursive --no-parent --convert-links --adjust-extension -e robots=off --directory-prefix=.wget -X /blog,/cv,/jekyll-theme,/sorting-algorithms,/wireguard-config -- '$(call escape,$(URL))' + +.PHONY: view +view: + xdg-open '$(call escape,$(URL))' &> /dev/null -- cgit v1.2.3