From 1e03051bfdbfa14eb10eae6b39f4c43b3e66ec54 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Wed, 28 Mar 2012 00:09:57 +0300 Subject: [PATCH] doc/makefile: fix doc pushing to web --- doc/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index 6b1bf5c..c6d231c 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -6,6 +6,8 @@ manpages = pgbouncer.1 pgbouncer.5 EXTRA_DIST = config.txt usage.txt todo.txt faq.txt Makefile $(manpages) +htmls = config.html usage.html todo.html faq.html README.html + ifeq ($(ASCIIDOC),) ifneq ($(wildcard pgbouncer.[15]),) # no asciidoc, but we have manpages @@ -14,7 +16,7 @@ endif else # we have asciidoc, build everything dist_man_MANS = $(manpages) -doc_DATA = config.html usage.html todo.html faq.html README.html +doc_DATA = $(htmls) endif SUBLOC = doc @@ -40,7 +42,7 @@ README.html: ../README $(ASCIIDOC) -a toc -o $@ $< web: $(doc_DATA) - rsync -av $(doc_DATA) $(web)/doc/ + rsync -av $(htmls) $(web)/doc/ endif # ASCIIDOC -- 2.39.5