summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPetr Šplíchal <psplicha@redhat.com>2012-02-23 16:04:32 +0100
committerPetr Šplíchal <psplicha@redhat.com>2012-02-23 16:04:32 +0100
commit2000d28b07aac78bbad238938aacfde64ff3802e (patch)
tree28dcc91f0f9c52e4ea827b10cd78abe71c13493e /Makefile
parentca6950268d86eb719564914ae2be55b5d4e81552 (diff)
downloadpython-nitrate-2000d28b07aac78bbad238938aacfde64ff3802e.tar.gz
python-nitrate-2000d28b07aac78bbad238938aacfde64ff3802e.tar.xz
python-nitrate-2000d28b07aac78bbad238938aacfde64ff3802e.zip
Style sheet for html docs plus minor adjustments0.7
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index b399e6b..b970616 100644
--- a/Makefile
+++ b/Makefile
@@ -5,6 +5,7 @@ PUSH_URL = fedorapeople.org:public_html/python-nitrate
PACKAGE = python-nitrate-$(VERSION)
DOCS = $(TMP)/$(PACKAGE)/documentation
+CSS = --stylesheet=style.css --link-stylesheet
FILES = COPYING README \
Makefile python-nitrate.spec \
documentation examples source
@@ -15,9 +16,9 @@ build:
mkdir -p $(TMP)/{SOURCES,$(PACKAGE)}
cp -a $(FILES) $(TMP)/$(PACKAGE)
rst2man README | gzip > $(DOCS)/python-nitrate.1.gz
- rst2html README > $(DOCS)/python-nitrate.html
+ rst2html README $(CSS) > $(DOCS)/index.html
rst2man $(DOCS)/nitrate.rst | gzip > $(DOCS)/nitrate.1.gz
- rst2html $(DOCS)/nitrate.rst > $(DOCS)/nitrate.html
+ rst2html $(DOCS)/nitrate.rst $(CSS) > $(DOCS)/nitrate.html
tarball: build
cd $(TMP) && tar cfj SOURCES/$(PACKAGE).tar.bz2 $(PACKAGE)
@@ -35,7 +36,7 @@ push: packages
$(TMP)/SRPMS/$(PACKAGE)* \
$(TMP)/RPMS/noarch/$(PACKAGE)* \
$(TMP)/SOURCES/$(PACKAGE).tar.bz2 \
- $(DOCS)/*.html \
+ $(DOCS)/*.{css,html} \
$(PUSH_URL)
clean: