aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:26:24 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:26:24 +0300
commitc79e1c19718e697e94b9dab338d1fbd20c33e4e8 (patch)
tree552dd81f3344b90974037593c2bfbe7f61393b14
parentMakefile: fix accidental failures (diff)
downloadblog-c79e1c19718e697e94b9dab338d1fbd20c33e4e8.tar.gz
blog-c79e1c19718e697e94b9dab338d1fbd20c33e4e8.zip
Makefile: add view
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0426d41..9ad5d9f 100644
--- a/Makefile
+++ b/Makefile
@@ -43,3 +43,7 @@ URL := http://localhost:4000/blog/
.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