chiark / gitweb /
man: doc-sync - properly delete no longer existing stuff on remote server
authorKay Sievers <kay@vrfy.org>
Fri, 20 Apr 2012 22:28:02 +0000 (00:28 +0200)
committerKay Sievers <kay@vrfy.org>
Fri, 20 Apr 2012 22:28:02 +0000 (00:28 +0200)
Makefile.am

index cc284a7..a208782 100644 (file)
@@ -3255,10 +3255,10 @@ upload: all distcheck
 
 doc-sync: all
        gtkdoc-rebase --html-dir=docs/libudev/html --online
-       rsync -av --delete docs/libudev/html/ www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/libudev/
+       rsync -av --delete docs/libudev/html/ --omit-dir-times www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/libudev/
        gtkdoc-rebase --html-dir=docs/gudev/html --online
-       rsync -av --delete docs/gudev/html/ www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/gudev/
-       rsync -av man/*.html www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/man/
+       rsync -av --delete docs/gudev/html/ --omit-dir-times www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/gudev/
+       rsync -av --delete-excluded --include="*.html" --exclude="*" --omit-dir-times man/ www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/man/
 
 git-tag:
        git tag "v$(VERSION)" -m "systemd $(VERSION)"