aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-05-22 15:57:52 +0700
committerShulhan <ms@kilabit.info>2022-05-22 16:14:35 +0700
commita676f04d2f8c1981fc953cc2e87adf059e23089a (patch)
treed86300df47d53abdf7ccb0342f96ddd3a677fbd4 /Makefile
parentbb08b5bb6ad6cf3e1c409db7d69ace4364e7bc8d (diff)
downloadrescached-a676f04d2f8c1981fc953cc2e87adf059e23089a.tar.xz
all: move the documentation under _www/doc directory
This also allow the latest/released documentation viewed on the web user interface under /doc path. While at it, reformat HTML and CSS files using js-beautify and JavaScript files using clang-format [1]. [1] https://google.github.io/styleguide/jsguide.html#formatting
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 66f9372..959c75d 100644
--- a/Makefile
+++ b/Makefile
@@ -61,11 +61,11 @@ $(RESCACHED_MAN): README.adoc
asciidoctor --backend=manpage --destination-dir=_sys/usr/share/man/man1/ $<
gzip -f _sys/usr/share/man/man1/rescached.1
-$(RESCACHED_CFG_MAN): _doc/rescached.cfg.adoc
+$(RESCACHED_CFG_MAN): _www/doc/rescached.cfg.adoc
asciidoctor --backend=manpage --destination-dir=_sys/usr/share/man/man5/ $<
gzip -f _sys/usr/share/man/man5/rescached.cfg.5
-$(RESOLVER_MAN): _doc/resolver.adoc
+$(RESOLVER_MAN): _www/doc/resolver.adoc
asciidoctor --backend=manpage --destination-dir=_sys/usr/share/man/man1/ $<
gzip -f _sys/usr/share/man/man1/resolver.1
@@ -87,9 +87,6 @@ clean:
dev:
go run ./cmd/rescached -dir-base=./_test -config=etc/rescached/rescached.cfg dev
-serve-doc:
- ciigo serve _doc
-
##
## Common tasks for installing and uninstalling program.
##