Generate and publish documentation via make

This commit is contained in:
Nico Schottelius 2006-01-17 12:11:05 +01:00
parent 695567b0ce
commit aa680ca284
2 changed files with 13 additions and 1 deletions

View File

@ -14,12 +14,22 @@ destination=$(bindir)/$(CCOLLECT)
path_dir=/usr/local/bin
path_destination=$(path_dir)/$(CCOLLECT)
# where to publish
host=creme.schottelius.org
dir=www/org/schottelius/linux/ccollect
docdir=$(dir)/doc
all:
@echo "Nothing to make, make install."
documentation:
@echo "Generating HTML-documentation"
@asciidoc -n -o doc/ccollect.html doc/ccollect.text
publish-doc: documentation
@chmod a+r doc/ccollect.html
@scp doc/ccollect.html doc/ccollect.text $(host):$(docdir)
install:
$(INSTALL) -D -m 0755 -s $(CCOLLECT) $(destination)
$(LN) $(destination) $(path_destination)

View File

@ -522,6 +522,8 @@ they will still be transferred!</p>
</tr></table>
</div>
<p>This hint was reported by Marcus Wagner.</p>
<h3>5.3. Re-using already created rsync-backups</h3>
<p>mkdir intervall.0 ; mv * intervall;</p>
</div>
<h2>6. Examples</h2>
<div class="sectionbody">
@ -603,7 +605,7 @@ srwali01:/etc/ccollect/sources# du -sh /mnt/hdbackup/wl6/*
<div id="footer">
<div id="footer-text">
Version 0.2<br />
Last updated 16-Jan-2006 19:00:31 CEST
Last updated 17-Jan-2006 12:09:51 CEST
</div>
</div>
</body>