Commit 0c24b067 authored by Kjell Ahlstedt's avatar Kjell Ahlstedt

docs/ Fix missing update of relative path

Fix relative path to ../examples in the rule for manual/libxml++.xml.
Add a TODO comment, because I'm uncertain about the relative paths in
the rsync commands that upload to
parent 488c3f62
......@@ -22,7 +22,7 @@ doc_input = $(addprefix $(top_srcdir)/libxml++/,$(h_sources_public))
include $(top_srcdir)/macros/
manual/libxml++.xml: manual/libxml++_without_code.xml manual/
$(AM_V_GEN)$(PERL) -- manual/ examples $< >$@
$(AM_V_GEN)$(PERL) -- manual/ ../examples $< >$@
manualdir = $(docdir)/manual
manual_htmldir = $(manualdir)/html
......@@ -61,6 +61,11 @@ MAINTAINERCLEANFILES += manual/html/*.html
web_path_project = /home/groups/l/li/libxmlplusplus/htdocs/
rsync_args = -vz --rsh ssh --recursive --cvs-exclude --exclude="**1.0**" --exclude=".gitignore" --exclude="Makefile" --exclude="" --exclude=".deps" --exclude=".libs"
## TODO: When I moved this code from libxml++/ to libxml++/docs/,
## I changed the relative paths accordingly (docs/index.html -> index.html,
## examples -> ../examples). I don't know if that changes the location where the files
## are stored at If necessary, change again before you use 'make post-html'.
## Why are the examples copied to sourceforge? / 2015-09-11 Kjell Ahlstedt
post-html: index.html
rsync $(rsync_args) -r index.html $$USER,$(web_path_project)
rsync $(rsync_args) -r ../examples $$USER,$(web_path_project)
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