forked from rsyslog/liblognorm
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add docs to build system; requires Sphinx to build
- Loading branch information
1 parent
5d0fb11
commit 2e6d6f2
Showing
8 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
_build | ||
Makefile.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
EXTRA_DIST = _static _templates conf.py \ | ||
index.rst introduction.rst installation.rst \ | ||
configuration.rst sample_rulebase.rst internals.rst \ | ||
lognormalizer.rst license.rst graph.png | ||
|
||
htmldir = $(docdir) | ||
built_html = _build/html | ||
|
||
#html_DATA = $(built_html)/index.html | ||
|
||
# Makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line. | ||
SPHINXOPTS = | ||
#SPHINXBUILD = sphinx-build | ||
PAPER = | ||
BUILDDIR = _build | ||
|
||
# Internal variables. | ||
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(SPHINXOPTS) . | ||
|
||
.PHONY: clean-local html-local man-local all-local dist-hook install-data-hook | ||
|
||
dist-hook: | ||
find $(distdir)/ -name .gitignore | xargs rm -f | ||
|
||
clean-local: | ||
-rm -rf $(BUILDDIR)/* | ||
|
||
html-local: | ||
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html | ||
@echo | ||
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html." | ||
|
||
man-local: | ||
$(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man | ||
@echo | ||
@echo "Build finished. The manual pages are in $(BUILDDIR)/man." | ||
|
||
all-local: html-local | ||
|
||
install-data-hook: | ||
find $(built_html) -type f -printf "%P\n" | \ | ||
while read file; do \ | ||
echo " $(INSTALL_DATA) -D $(built_html)/$$file '$(DESTDIR)$(htmldir)/$$file'"; \ | ||
$(INSTALL_DATA) -D $(built_html)/$$file "$(DESTDIR)$(htmldir)/$$file" || exit $$?; \ | ||
done | ||
|
||
uninstall-local: | ||
-rm -rf "$(DESTDIR)$(htmldir)" |
File renamed without changes.
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
*.o | ||
*.lo | ||
*.la | ||
Makefile | ||
Makefile.in | ||
.deps | ||
.libs | ||
lognormalizer |