From 2000d28b07aac78bbad238938aacfde64ff3802e Mon Sep 17 00:00:00 2001 From: Petr Šplíchal Date: Thu, 23 Feb 2012 16:04:32 +0100 Subject: Style sheet for html docs plus minor adjustments --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') 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: -- cgit