Commit 8a4385c4 authored by Murray Cumming's avatar Murray Cumming
Browse files

Glom Python API reference: Failed attempt to dist the html files.

* docs/pyglom_reference/Makefile.am: Copied some stuff from the mm-common
    files, but it doesn't work yet.
parent ece33f75
2010-04-20 Murray Cumming <murrayc@murrayc-desktop>
Glom Python API reference: Failed attempt to dist the html files.
* docs/pyglom_reference/Makefile.am: Copied some stuff from the mm-common
files, but it doesn't work yet.
2010-04-20 Murray Cumming <murrayc@murrayc.com>
 
Glom Python API reference: Install the html generated by sphinx.
......@@ -8,18 +15,18 @@
2010-04-20 Murray Cumming <murrayc@murrayc.com>
 
Solve the long-paths problem with the doxygen-generated html files.
* configure.ac: Change the AM_INIT_AUTOMAKE() call to be like gtkmm,
allowing the tarball to contain long paths - needed for the libglom html
* configure.ac: Change the AM_INIT_AUTOMAKE() call to be like gtkmm,
allowing the tarball to contain long paths - needed for the libglom html
documentation.
 
2010-04-19 Murray Cumming <murrayc@murrayc.com>
 
More improved use of sphinx.
* docs/pyglom_reference/conf.py.in: Do not generate the module index page
* docs/pyglom_reference/conf.py.in: Do not generate the module index page
because we have only one module.
* docs/pyglom_reference/index.rst.in: Add back the link to the general index,
* docs/pyglom_reference/index.rst.in: Add back the link to the general index,
which seems to actually be generated.
 
2010-04-19 Murray Cumming <murrayc@murrayc.com>
......
......@@ -33,13 +33,14 @@ dist_reference_DATA = $(strip $(doc_inst_files))
dist_noinst_DATA = $(strip $(doc_dist_files))
#DISTCLEANFILES = $(doc_outdir)/doxygen.log
MAINTAINERCLEANFILES = $(doc_outdir)/html/*
MAINTAINERCLEANFILES = $(doc_outdir)/html/* outdir
html/index.html:
rm -rf html
$(SPHINX_BUILD) -b html ./ $(doc_outdir)/html/
MAINTAINERCLEANFILES = html/* outdir
# Explicitly depend on the files to be distributed or installed.
all-local: $(doc_inst_files) $(doc_dist_files)
# Hook up custom rules for translating references to external documentation
# to the actual location at install time.
......@@ -89,3 +90,10 @@ uninstall-htmlref:
@$(NORMAL_UNINSTALL)
(cd '$(DESTDIR)$(htmlrefdir)' 2>/dev/null || exit 0; \
find . -type f '(' $(htmlref_find_patterns) ')' -exec rm -f '{}' '+')
# Define phony (non-file) targets so things don't break if anyone creates files with these names.
.PHONY: install-htmlref uninstall-htmlref
# Instruct GNU make to delete the targets of a rule after it failed, in
# order to avoid the complication of handling that situation manually.
.DELETE_ON_ERROR:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment