* [PATCH] doc: publish examples directory to website
@ 2015-11-11 22:04 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2015-11-11 22:04 UTC (permalink / raw)
To: cmogstored-public
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-11 22:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-11 22:04 [PATCH] doc: publish examples directory to website Eric Wong
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).