From 7ede87e962d71859d49b64af8c1003ceb362609f Mon Sep 17 00:00:00 2001 From: lxsang Date: Wed, 24 May 2023 16:33:05 +0200 Subject: [PATCH] update: cleanup make file --- blog/Makefile | 2 +- blog/router.lua | 2 +- grs/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blog/Makefile b/blog/Makefile index a1ff7b8..950c1c0 100644 --- a/blog/Makefile +++ b/blog/Makefile @@ -1,4 +1,4 @@ -copyfiles = assets views models ai controllers router.lua +copyfiles = assets views models controllers router.lua main: - mkdir -p $(BUILDDIR) diff --git a/blog/router.lua b/blog/router.lua index 0cb768a..691517c 100644 --- a/blog/router.lua +++ b/blog/router.lua @@ -23,7 +23,7 @@ CONTROLLER_ROOT = "blog.controllers" MODEL_ROOT = "blog.models" -- file path: path/to/file VIEW_ROOT = WWW_ROOT..DIR_SEP.."views" -POST_LIMIT = 3 +POST_LIMIT = 10 if REQUEST.r then REQUEST.r = REQUEST.r:gsub("%:", "/") diff --git a/grs/Makefile b/grs/Makefile index c48c4c0..46d8ee9 100644 --- a/grs/Makefile +++ b/grs/Makefile @@ -1,4 +1,4 @@ -copyfiles = katex font-awesome.css fonts images sendmail.lua subscribe.lua subscribe.html main.js ubuntu-regular.css mainsite.css sendto.html hermit-light.css hljs +copyfiles = katex font-awesome.css fonts images subscribe.html mainsite.css sendto.html hermit-light.css hljs main: - mkdir $(BUILDDIR)