From c6cc8218cb80cc62ef417daae07144a67b6097ac Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Sun, 13 May 2012 05:27:52 +0200 Subject: [PATCH] Fix html too-often rebuild --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5824c93..034fed0 100644 --- a/Makefile +++ b/Makefile @@ -6,14 +6,18 @@ DOCTREES = $(DOCDIR)/doctrees ALLSPHINXOPTS = -d $(DOCTREES) $(SPHINXOPTS) $(DOCDIR) MODNAME = posix1e.so +RSTFILES = doc/index.rst doc/module.rst NEWS doc/conf.py all: doc test $(MODNAME): acl.c ./setup.py build_ext --inplace -doc: $(MODNAME) +$(DOCHTML)/index.html: $(MODNAME) $(RSTFILES) $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(DOCHTML) + touch $@ + +doc: $(DOCHTML)/index.html test: for ver in 2.4 2.5 2.6 3.0 3.1; do \ -- 2.39.5