Call rsync with --delete
Our "the built web page" repository already accumulated some cruft. The reason is that old files are newer deleted. This commit fixes that by calling rsync with --delete so that unneeded files are removed. The only exception is the .git directory which is protected via --exclude=.git. Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
c0273979de
commit
b3dd4e7f64
6
Makefile
6
Makefile
|
@ -33,11 +33,11 @@ manpages:
|
|||
done
|
||||
|
||||
build_for_travis: all
|
||||
rsync -PaOvz --chmod=u=rwX,g=rwX,o=rX,Dg+s --exclude src html/ \
|
||||
rsync -PaOvz --delete --exclude=.git --chmod=u=rwX,g=rwX,o=rX,Dg+s --exclude src html/ \
|
||||
$${BUILD_WEB}
|
||||
rsync -PaOvz --chmod=u=rwX,g=rwX,o=rX,Dg+s --delete src/build/doc/ \
|
||||
rsync -PaOvz --delete --chmod=u=rwX,g=rwX,o=rX,Dg+s src/build/doc/ \
|
||||
$${BUILD_WEB}/doc/api
|
||||
rsync -PaOvz --chmod=u=rwX,g=rwX,o=rX,Dg+s /usr/share/asciidoc/icons \
|
||||
rsync -PaOvz --delete --chmod=u=rwX,g=rwX,o=rX,Dg+s /usr/share/asciidoc/icons \
|
||||
$${BUILD_WEB}/doc/manpages/icons
|
||||
|
||||
.PHONY: changelogs manpages
|
||||
|
|
Loading…
Reference in New Issue