Skip to content

Commit 0c24b06

Browse files
author
Kjell Ahlstedt
committed
docs/Makefile.am: 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 sourceforge.net.
1 parent 488c3f6 commit 0c24b06

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

docs/Makefile.am

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ doc_input = $(addprefix $(top_srcdir)/libxml++/,$(h_sources_public))
2222
include $(top_srcdir)/macros/doc-reference.am
2323

2424
manual/libxml++.xml: manual/libxml++_without_code.xml manual/insert_example_code.pl
25-
$(AM_V_GEN)$(PERL) -- manual/insert_example_code.pl examples $< >$@
25+
$(AM_V_GEN)$(PERL) -- manual/insert_example_code.pl ../examples $< >$@
2626

2727
manualdir = $(docdir)/manual
2828
manual_htmldir = $(manualdir)/html
@@ -61,6 +61,11 @@ MAINTAINERCLEANFILES += manual/html/*.html
6161
web_path_project = /home/groups/l/li/libxmlplusplus/htdocs/
6262
rsync_args = -vz --rsh ssh --recursive --cvs-exclude --exclude="**1.0**" --exclude=".gitignore" --exclude="Makefile" --exclude="Makefile.in" --exclude=".deps" --exclude=".libs"
6363

64+
## TODO: When I moved this code from libxml++/Makefile.am to libxml++/docs/Makefile.am,
65+
## I changed the relative paths accordingly (docs/index.html -> index.html,
66+
## examples -> ../examples). I don't know if that changes the location where the files
67+
## are stored at sourceforge.net. If necessary, change again before you use 'make post-html'.
68+
## Why are the examples copied to sourceforge? / 2015-09-11 Kjell Ahlstedt
6469
post-html: index.html
6570
rsync $(rsync_args) -r index.html $$USER,libxmlplusplus@web.sourceforge.net:$(web_path_project)
6671
rsync $(rsync_args) -r ../examples $$USER,libxmlplusplus@web.sourceforge.net:$(web_path_project)

0 commit comments

Comments
 (0)