about summary refs log tree commit diff homepage
path: root/Makefile
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-26 02:52:21 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-26 02:52:21 +0900
commitea1e82c58d4b36f5ac194f6b901425cdf99f2661 (patch)
tree2db28963f0aff04b822ad4c8ee5ff5c0cec98e60 /Makefile
parentf7720b2207b33fd60ef945662c261c1468e377f7 (diff)
downloadpx-ea1e82c58d4b36f5ac194f6b901425cdf99f2661.tar.gz
Add live reloading facilities
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index dcbd345..c6671a8 100644
--- a/Makefile
+++ b/Makefile
@@ -35,4 +35,7 @@ install: all $(addprefix $(PREFIX)/,$(ALL))
 uninstall:
 	rm -fr $(PREFIX)
 
-.PHONY: all clean install uninstall
+live: $(THUMBNAILS)
+	ln -fs index.xhtml index.xml
+
+.PHONY: all clean install uninstall live