commit 0311004456f36e026a35a447383627ec6d42659f Author: Stanislav Ochotnicky sochotnicky@redhat.com Date: Wed Mar 6 16:29:56 2013 +0100
Upload documentation images only if there is a change
.gitignore | 1 + doc/Makefile | 9 +++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) --- diff --git a/.gitignore b/.gitignore index dcbffbb..1bfd76f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.tar.* *.html +.images_uploaded diff --git a/doc/Makefile b/doc/Makefile index 407793f..7f3af5d 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,8 +3,13 @@ all: index.html index.html: index.txt asciidoc -b html5 -a icons -a toc2 -a theme=flask index.txt
-upload: index.html - scp -r index.html images/ fedorapeople.org:public_html/java-packaging-howto/ +.images_uploaded: images/* images/icons/* + scp -r images/ fedorapeople.org:public_html/java-packaging-howto/ + touch .images_uploaded + + +upload: index.html .images_uploaded + scp -r index.html fedorapeople.org:public_html/java-packaging-howto/
clean: rm *html
java-sig-commits@lists.fedoraproject.org