diff options
author | Petr Šplíchal <psplicha@redhat.com> | 2012-02-23 16:04:32 +0100 |
---|---|---|
committer | Petr Šplíchal <psplicha@redhat.com> | 2012-02-23 16:04:32 +0100 |
commit | 2000d28b07aac78bbad238938aacfde64ff3802e (patch) | |
tree | 28dcc91f0f9c52e4ea827b10cd78abe71c13493e /Makefile | |
parent | ca6950268d86eb719564914ae2be55b5d4e81552 (diff) | |
download | python-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-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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: |