Skip to content

Commit c3c412f

Browse files
committed
build-sys: add doc-sync target
1 parent b976779 commit c3c412f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ sphinx-%: build
5353
check: build
5454
(cd $(builddir) && $(PYTHON) -m py.test . ../../docs $(TESTFLAGS))
5555

56+
www_target = www.freedesktop.org:/srv/www.freedesktop.org/www/software/systemd/python-systemd
57+
doc-sync:
58+
rsync -rlv --delete --omit-dir-times build/html/ $(www_target)/
59+
5660
TAGS: $(shell git ls-files systemd/*.[ch])
5761
$(ETAGS) $+
5862

59-
.PHONY: build install dist clean distclean TAGS
63+
.PHONY: build install dist clean distclean TAGS doc-sync

0 commit comments

Comments
 (0)