From c7e4a6ae2ce04085231b372694a37af5be660755 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 1 May 2012 10:15:59 -0600 Subject: documentation/Makefile: Fixed figures publishing bug I discovered a bug when publishing documents. There are two scp commands that copy a document's files and figures to the appropriate directory in the srifenbark@yocto-www:~/www.yoctoproject.or-docs server where the manuals are published. The second scp command had a "/figures" at the end. This was causing a new "figures" directory to be created within the "figures" directory. This redundancy shows up as missing figures in the manuals if a new figure or changed figure is ever added to the book after initial publishing. I removed the extra "/figures" at the end of the scp command. (From yocto-docs rev: 5ab530f998427405a0486b94ca76cff58a4cf463) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'documentation') diff --git a/documentation/Makefile b/documentation/Makefile index 6005db62fe..bc8e8cb63a 100644 --- a/documentation/Makefile +++ b/documentation/Makefile @@ -205,7 +205,7 @@ validate: publish: scp -r $(MANUALS) $(STYLESHEET) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) - cd $(DOC); scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC)/figures + cd $(DOC); scp -r $(FIGURES) www.yoctoproject.org:/srv/www/www.yoctoproject.org-docs/$(VER)/$(DOC) clean: rm -f $(MANUALS) -- cgit v1.2.3-54-g00ecf