aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:05:11 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2022-03-19 02:05:11 +0300
commit20b0abf68c5ed6829da4706f2ed7ee5f80e51d1a (patch)
tree08ad52af82c8e85b4631a887e3969c29251e7af7 /Makefile
parentMakefile: fix accidental failures (diff)
downloadjekyll-theme-20b0abf68c5ed6829da4706f2ed7ee5f80e51d1a.tar.gz
jekyll-theme-20b0abf68c5ed6829da4706f2ed7ee5f80e51d1a.zip
Makefile: add view
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 124aede..0c2c2a1 100644
--- a/Makefile
+++ b/Makefile
@@ -43,3 +43,7 @@ URL := http://localhost:4000/jekyll-theme/
.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