cmogstored dev/user discussion/issues/patches/etc
 help / color / mirror / code / Atom feed
From: Eric Wong <e@80x24.org>
To: cmogstored-public@bogomips.org
Subject: [PATCH] doc: publish examples directory to website
Date: Wed, 11 Nov 2015 22:04:04 +0000	[thread overview]
Message-ID: <20151111220404.23133-1-e@80x24.org> (raw)

This might improve visibility of these scripts for use with systemd.
---
 Makefile.am | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index dc49d26..f78ff76 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -201,11 +201,13 @@ WWW_DOC = README AUTHORS NEWS.atom.xml INSTALL $(extra_doc)
 NEWS.atom.xml: configure.ac
 	$(AM_V_GEN)$(RAKE) -sq news_atom > $@.$$$$ && mv $@.$$$$ $@
 publish: NEWS.atom.xml NEWS ChangeLog
-	mkdir -p www/
+	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)
 	$(INSTALL_DATA) -p $(addprefix $(top_srcdir)/,$(WWW_DOC)) www/
-	set -e && cd www && for i in $(WWW_DOC); do \
+	$(INSTALL_DATA) -p $(addprefix $(top_srcdir)/,$(examples)) \
+		www/examples/
+	set -e && cd www && for i in $(WWW_DOC) $(examples); do \
 		$(GZIP) < $$i > $$i.gz; \
 		test -s $$i.gz; \
 		touch -r $$i $$i.gz; \
@@ -215,6 +217,7 @@ publish: NEWS.atom.xml NEWS ChangeLog
 .PHONY: publish
 
 tap_support = tapset/all.stp tapset/http_access_log.gawk tapset/ioq_wait.awk
+examples := examples/cmogstored.socket examples/cmogstored@.service
 
 EXTRA_DIST = $(RB_TESTS) $(RL_CGEN) $(RL_ALL) $(PERL_TESTS) $(extra_doc) \
   .gitignore Rakefile autogen.sh GNUmakefile bsd/README doc m4 \
@@ -226,7 +229,7 @@ EXTRA_DIST = $(RB_TESTS) $(RL_CGEN) $(RL_ALL) $(PERL_TESTS) $(extra_doc) \
   $(top_srcdir)/.version $(top_srcdir)/.gnulib-version \
   test/valgrind.supp nostd/README \
   $(tap_support) \
-  examples/cmogstored.socket examples/cmogstored@.service
+  $(examples)
 
 TESTS_ENVIRONMENT = PATH=$(top_builddir):$$PATH TMPDIR=$(test_tmpdir)
 
-- 
EW


                 reply	other threads:[~2015-11-11 22:04 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=20151111220404.23133-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).