Re: Patch for documentation

Thomas Wiegner <[email protected]>
Newsgroups gmane.network.slrn.user
Organization Powered by Penguin
Message-ID <20080427130803.GA15724@fliewatuet>
Hi.

* Jörg Sommer ([email protected]) wrote [Sat, 080426 23:23]:

> > There are updated unofficial versions of manual and FAQ (as plain text and 
> > HTML) for 0.9.9 here: <http://pjr.lasnobberia.net/slrn-doc/>. 

> John, do you plan to include them?

Please do that. Why not just put the manual.sgml file additionally
to the doc directory? With this quick&dirty (I know this should be
better made through the configure script) patch to the
src/Makefile.in one could regenerate the Documentation in text and
html and in case the sgml-tools are not installed one would just
keep the also included manual.txt.

#v+
--- src/Makefile.in	2008-04-27 12:09:36.000000000 +0200
+++ src/Makefile.in	2008-04-27 14:54:01.000000000 +0200
@@ -168,6 +168,12 @@
 		  exit 1; \
 		fi; \
 	done
+	@if [ "x`which sgm2txt`" != "x" ]; then \
+  	         sgml2txt ../doc/manual.sgml; \
+	fi
+	@if [ "x`which sgm2html`" != "x" ]; then \
+  	         sgml2html ../doc/manual.sgml; \
+	fi
 	@for i in $(DOCDIR_FILES); \
 	do \
 		echo $(INSTALL_DATA) ../doc/$$i $(DEST_DOCDIR); \
#v-

Cheers,

 Thomas

-- 
slrn packages for ubuntu hardy heron: http://www.foory.de/thw/slrn/hardy

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.