summaryrefslogtreecommitdiff
path: root/cfg.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-17 23:53:14 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-11-17 23:53:14 +0100
commit32a2f899100aa45324073fe1919bec13e6150e45 (patch)
treee4e7ce63904d350b953af241b648339cf4d916a8 /cfg.mk
parent8e240a4630a01acca467d74fa8a984fef4ed4277 (diff)
downloadgnutls-32a2f899100aa45324073fe1919bec13e6150e45.tar.gz
use texi2html to generate documentation
Diffstat (limited to 'cfg.mk')
-rw-r--r--cfg.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/cfg.mk b/cfg.mk
index 6849ed51f2..06bba7ed29 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -118,13 +118,15 @@ upload:
ssh igloo.linux.gr 'cd ~ftp/pub/gnutls/devel/ && sha1sum *.tar.bz2 > CHECKSUMS'
cp $(distdir).tar.bz2 $(distdir).tar.bz2.sig ../releases/$(PACKAGE)/
+
web:
echo generating documentation for $(PACKAGE)
cd doc && $(SHELL) ../build-aux/gendocs.sh \
--html "--css-include=texinfo.css" \
+ --texi2html \
-o ../$(htmldir)/manual/ $(PACKAGE) "$(PACKAGE_NAME)"
#cd doc/doxygen && doxygen && cd ../.. && cp -v doc/doxygen/html/* $(htmldir)/devel/doxygen/ && cd doc/doxygen/latex && make refman.pdf && cd ../../../ && cp doc/doxygen/latex/refman.pdf $(htmldir)/devel/doxygen/$(PACKAGE).pdf
- cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
+ -cp -v doc/reference/html/*.html doc/reference/html/*.png doc/reference/html/*.devhelp doc/reference/html/*.css $(htmldir)/reference/
#cp -v doc/cyclo/cyclo-$(PACKAGE).html $(htmldir)/cyclo/
upload-web: