From 372ad9496db4d46b5a04d124089ebdce09eb18b2 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 19 Mar 2022 02:31:29 +0300 Subject: Makefile: add view --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index ddee2ad..e0613f8 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,7 @@ URL := http://localhost:4000/sorting-algorithms/ .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