From e35df8c16e2f2defb146470f1755d7ec534cf54a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 3 Mar 2022 18:10:01 +0500 Subject: Makefile: add view --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 68b1ee8..7e1d174 100644 --- a/Makefile +++ b/Makefile @@ -43,3 +43,7 @@ URL := http://localhost:4000/wireguard-config/ .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