aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:22:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:22:31 +0300
commit1958f53ced79f9834d94f0c63cecc4c8697430c3 (patch)
tree15461386c92aac05feb24d33a544d9895a1fa04a /Makefile
parentMakefile: fix accidental failures (diff)
downloadegor-tensin.github.io-1958f53ced79f9834d94f0c63cecc4c8697430c3.tar.gz
egor-tensin.github.io-1958f53ced79f9834d94f0c63cecc4c8697430c3.zip
Makefile: add view
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
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