[master 1/1] ignore and clean files generated by Sphinx

atodorov installerbot-noreply at redhat.com
Wed May 27 11:20:05 UTC 2015


From: Alexander Todorov <atodorov at redhat.com>

---
 .gitignore   | 7 +++----
 doc/Makefile | 3 ++-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/.gitignore b/.gitignore
index 54c7439..e78d314 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,10 +2,9 @@
 .*.swp
 blivet*.tar.gz
 blivet*.tar.bz2
-doc/blivet.devicelibs.rst
-doc/blivet.formats.rst
-doc/blivet.rst
-doc/modules.rst
+doc/*.rst
+!doc/index.rst
+!doc/intro.rst
 doc/_build
 po/*.gmo
 po/*.po
diff --git a/doc/Makefile b/doc/Makefile
index 2fc38ee..9b78832 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -8,7 +8,7 @@ SPHINXAPIDOC  = sphinx-apidoc
 PAPER         =
 BUILDDIR      = _build
 SOURCEDIR     = ../blivet
-MODULE_NAMES  = blivet.rst blivet.devicelibs.rst blivet.formats.rst modules.rst
+MODULE_NAMES  = blivet.rst blivet.devicelibs.rst blivet.devices.rst blivet.formats.rst blivet.tasks.rst modules.rst
 
 # Internal variables.
 PAPEROPT_a4     = -D latex_paper_size=a4
@@ -43,6 +43,7 @@ help:
 
 clean:
 	-rm -rf $(BUILDDIR)/*
+	-rm -f $(addprefix ./, $(MODULE_NAMES))
 
 apidoc:
 	-rm $(addprefix ./, $(MODULE_NAMES))


-- 
To view this commit on github, visit https://github.com/rhinstaller/blivet/commit/1a5a7a1378d77b945c87ddf5fd1816c654e276dd


More information about the anaconda-patches mailing list