summaryrefslogtreecommitdiffstats
path: root/documentation/Makefile
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2012-05-01 10:15:59 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-05-31 21:22:27 +0100
commitc7e4a6ae2ce04085231b372694a37af5be660755 (patch)
tree064415dbe7d7b1d3ba6c54e4ab01bf6b63746d32 /documentation/Makefile
parent16281590289222266b64ea645b5aa05fcb86ade8 (diff)
downloadpoky-c7e4a6ae2ce04085231b372694a37af5be660755.tar.gz
poky-c7e4a6ae2ce04085231b372694a37af5be660755.tar.bz2
poky-c7e4a6ae2ce04085231b372694a37af5be660755.zip
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 <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/Makefile')
-rw-r--r--documentation/Makefile2
1 files changed, 1 insertions, 1 deletions
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)