From 59912b47bee5c526f357ff32728537e2737f182d Mon Sep 17 00:00:00 2001 From: Dag Wieers Date: Tue, 5 Mar 2013 11:12:00 +0100 Subject: [PATCH] Allow 'make rpm' without the need for env-setup As it used to be before, 'make rpm' from a cloned repository should work without the need to run hacking/env-setup. It's an easy fix, in line with what we already did for the man-pages. --- docsite/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docsite/Makefile b/docsite/Makefile index cb9b839050..4635890bc1 100644 --- a/docsite/Makefile +++ b/docsite/Makefile @@ -26,6 +26,6 @@ clean: .PHONEY: docs clean modules: $(FORMATTER) ../hacking/templates/rst.j2 - $(FORMATTER) -t rst --template-dir=../hacking/templates --module-dir=../library -o rst/modules/ --includes-file=rst/modules/_list.rst + PYTHONPATH=../lib $(FORMATTER) -t rst --template-dir=../hacking/templates --module-dir=../library -o rst/modules/ --includes-file=rst/modules/_list.rst