]> mj.ucw.cz Git - libucw.git/commitdiff
Maint: Uploading of documentation of companion libraries
authorMartin Mares <mj@ucw.cz>
Fri, 13 Feb 2015 23:21:22 +0000 (00:21 +0100)
committerMartin Mares <mj@ucw.cz>
Fri, 13 Feb 2015 23:21:22 +0000 (00:21 +0100)
WWW/index.html
maint/release
maint/upload-doc

index 3d0e69811b5b8afb5dc37b7ad9f9c7448fd272d2..a5c7366556b6409a30f7c44683fc4d7c85f5fe59 100644 (file)
                                        <li>Transactions and exceptions
                                        <li>Build system
                                        <li>Documentation system
+                                       <li>Companion libraries for charset conversion, loading of images, and XML parsing
                                        <li>&hellip; and many more
                                </ul>
                        </div>
                        <div class="section" id="docs"><h2>Documentation</h2>
                                <p>
-                                       You can browse <a href='doc/'>LibUCW documentation</a> online.
+                                       You can browse <a href='doc/ucw/'>LibUCW documentation</a> online.
                        </div>
                        <div class="section" id="download"><h2>Download</h2>
                                <p>
index 5f34b38d6fa478938f233d9f76ae81b5a9858c5c..2d6fd86690d49fa277357d834789cf5635fb6496 100755 (executable)
@@ -24,11 +24,11 @@ if ($r->{"do_upload"}) {
        my $tdir = $r->{"TESTDIR"};
        if (defined $tdir) {
                print "Generating documentation\n";
-               `cd $tdir && make install-libucw-docs INSTALL_DOC_DIR=../doc`;
+               `cd $tdir && make docs`;
                die if $?;
                print "Upload of documentation\n";
                $r->Confirm;
-               system qw(rsync -avz --delete maint/tmp/doc/ucw/ jw:/var/www/libucw/doc/);
+               `cd $tdir && maint/upload-doc`;
                die if $@;
        } else {
                print "WARNING: With --notest, no documentation is published!\n";
index 19b73f629e7faa0f435ce61c6eca264a41d6e562..457d29f30ad45186a5a268ba3ee44ac4f496e739 100755 (executable)
@@ -1,8 +1,10 @@
 #!/bin/bash
 # Build and upload LibUCW documentation and web pages
-# (c) 2012 Martin Mares <mj@ucw.cz>
+# (c) 2012--2015 Martin Mares <mj@ucw.cz>
 
 set -e
-make docs
-rsync -avz --delete obj/ucw/doc/ jw:/var/www/libucw/doc/ --exclude=*.deflist --exclude=*.txt
+rm -rf maint/tmp/doc
+mkdir -p maint/tmp/doc
+make install-libucw-docs install-libucw-xml-docs PREFIX=. INSTALL_DOC_DIR=maint/tmp/doc
+rsync -avz --delete maint/tmp/doc/ jw:/var/www/libucw/doc/
 rsync -avz --no-times --no-perms --executability --omit-dir-times WWW/ jw:/var/www/libucw/ --exclude=doc --exclude='*.swp'