From d136f3fb62fddd370775da6f826c6734b7ee7ac3 Mon Sep 17 00:00:00 2001 From: Jonathan Lange Date: Thu, 4 Aug 2011 01:33:00 +0100 Subject: [PATCH] Generate news symlink when making docs --- Makefile | 6 +++++- doc/news.rst | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) delete mode 120000 doc/news.rst diff --git a/Makefile b/Makefile index 38c273a..b3e40ec 100644 --- a/Makefile +++ b/Makefile @@ -36,7 +36,11 @@ apidocs: --docformat=restructuredtext --project-name=testtools \ --project-url=https://launchpad.net/testtools -docs: docs-sphinx +doc/news.rst: + ln -s ../NEWS doc/news.rst + +docs: doc/news.rst docs-sphinx + rm doc/news.rst docs-sphinx: html-sphinx diff --git a/doc/news.rst b/doc/news.rst deleted file mode 120000 index 0fae0f8..0000000 --- a/doc/news.rst +++ /dev/null @@ -1 +0,0 @@ -../NEWS \ No newline at end of file