From: Eric Wong <e@80x24.org>
To: cmogstored-public@bogomips.org
Cc: Eric Wong <e@80x24.org>
Subject: [PATCH] add cmogstored manpage to website
Date: Fri, 20 Nov 2015 03:16:43 +0000 [thread overview]
Message-ID: <20151120031643.16530-1-e@80x24.org> (raw)
Sometimes people will forget to install the manpage, make sure
it's online in plain-text or HTML format.
---
.gitignore | 1 +
Makefile.am | 9 ++++++---
2 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/.gitignore b/.gitignore
index b672365..459f721 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,7 @@
/chunk_parser.c
/cmogstored
/cmogstored-*.*.*/
+/cmogstored.1.txt
/config.h
/config.rpath
/config.status
diff --git a/Makefile.am b/Makefile.am
index 0272608..2ad5d73 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -187,26 +187,29 @@ cmogstored.1: cmogstored.x cmogstored.c
$(HELP2MAN) -i $< -N $(top_builddir)/cmogstored > $@.$$$$ && \
mv $@.$$$$ $@; fi
+vcs_doc := README INSTALL TODO doc/queues.txt doc/design.txt
extra_doc = HACKING NEWS ChangeLog TODO
RAKE = rake
$(top_srcdir)/NEWS: configure.ac
$(AM_V_GEN)$(RAKE) -sq news > $@.$$$$ && mv $@.$$$$ $@
$(top_srcdir)/ChangeLog: configure.ac
$(AM_V_GEN)$(RAKE) -sq changelog > $@.$$$$ && mv $@.$$$$ $@
+$(top_srcdir)/cmogstored.1.txt: $(top_srcdir)/cmogstored.1
+ $(AM_V_GEN)man --nh $(top_srcdir)/$< > $@.$$$$ && mv $@.$$$$ $@
GZIP = gzip
RSYNC = rsync
RSYNC_DEST = bogomips.org:/srv/bogomips/cmogstored/
-HTML_DOC = README INSTALL $(extra_doc) doc/queues.txt doc/design.txt
+HTML_DOC = $(vcs_doc) HACKING NEWS ChangeLog cmogstored.1.txt
WWW_DOC = $(HTML_DOC) NEWS.atom.xml
NEWS.atom.xml: configure.ac
$(AM_V_GEN)$(RAKE) -sq news_atom > $@.$$$$ && mv $@.$$$$ $@
html = $${i%.txt}.html
-publish: NEWS.atom.xml NEWS ChangeLog
+publish: NEWS.atom.xml NEWS ChangeLog cmogstored.1.txt
mkdir -p www/examples/
# n.b. git set-file-times is non-standard, but distributed with rsync
- -cd $(top_srcdir) && git set-file-times $(WWW_DOC)
+ -cd $(top_srcdir) && git set-file-times $(vcs_doc)
$(INSTALL_DATA) -p $(addprefix $(top_srcdir)/,$(WWW_DOC)) www/
$(INSTALL_DATA) -p $(addprefix $(top_srcdir)/,$(examples)) \
www/examples/
--
EW
reply other threads:[~2015-11-20 3:16 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://yhbt.net/cmogstored/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151120031643.16530-1-e@80x24.org \
--to=e@80x24.org \
--cc=cmogstored-public@bogomips.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhbt.net/cmogstored.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).