[Mockpp-commits] mockpp/mockpp/docs/en Makefile.am,1.24,1.25 appendix.docbook,1.8,1.9
Brought to you by:
ewald-arnold
From: Ewald A. <ewa...@us...> - 2005-05-07 17:01:05
|
Update of /cvsroot/mockpp/mockpp/mockpp/docs/en In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5936/mockpp/docs/en Modified Files: Makefile.am appendix.docbook Log Message: cleanup Index: appendix.docbook =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/docs/en/appendix.docbook,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- appendix.docbook 5 May 2005 21:01:59 -0000 1.8 +++ appendix.docbook 7 May 2005 17:00:56 -0000 1.9 @@ -71,6 +71,35 @@ </sect2> +<!-- ===================================== --> + +<sect2 id="generating-rpms"> +<title>Installing on systems using autoconf and friends</title> + +<para>Using the previous installation procedure has drawacks when you +want do uninstall or upgrade to a newer version. Maybe you rather want to benefit +from the common mechanism provided by <application>rpm</application>. +Before installing the library this way you need to create rpm packages +which requires some developer tools like <application>doxygen</application> +or <application>docbook</application> and a bit of experience in this +matter.</para> + +<para>This can be done by running the following command in the top level directory +of the source distribution: + +<screen width="40"> + <prompt>%</prompt> <userinput>make rpm</userinput> +</screen> + +After completion you will receive two rpm packages: one for the library and the +headers and one for the documentation. They are usually located at +<filename>/usr/src/pacakges/RPMS</filename>. + +</para> +</sect2> + +<!-- ===================================== --> + <sect2 id="installing-others"> <title>Installing on other systems</title> Index: Makefile.am =================================================================== RCS file: /cvsroot/mockpp/mockpp/mockpp/docs/en/Makefile.am,v retrieving revision 1.24 retrieving revision 1.25 diff -u -d -r1.24 -r1.25 --- Makefile.am 7 May 2005 12:44:33 -0000 1.24 +++ Makefile.am 7 May 2005 17:00:56 -0000 1.25 @@ -23,6 +23,8 @@ # pdf-files doc: html-files +################################################################ + html-chunk-files: -test -L tutorial && rm tutorial ln -s ../../examples/tutorial/html tutorial @@ -37,9 +39,7 @@ ln -s ../common var/common; \ ln -s ../images var/images; \ fi - xsltproc -o var/ $(srcdir)/customize-chuked.xsl $(srcdir)/index.docbook - -html-files: html-flat-files + xsltproc -o var/ $(srcdir)/customize-chunked.xsl $(srcdir)/index.docbook html-flat-files: -test -L tutorial && rm tutorial @@ -57,6 +57,10 @@ fi xsltproc -o var/ $(srcdir)/customize-flat.xsl $(srcdir)/index.docbook +html-files: html-chunk-files + +################################################################ + pdf-files: xsltproc --output var/mockpp.fo /usr/share/xml/docbook/stylesheet/nwalsh/current/fo/docbook.xsl $(srcdir)/index.docbook fop var/mockpp.fo var/mockpp.pdf @@ -65,20 +69,25 @@ xsltproc --output var/mockpp.fo /usr/share/xml/docbook/stylesheet/nwalsh/current/fo/docbook.xsl $(srcdir)/index.docbook fop var/mockpp.fo -svg var/mockpp.svg -.PHONY: html-files pdf-files doc-dist remote-install doc svg-files +.PHONY: html-files pdf-files doc-dist remote-install doc \ + svg-files html-chunk-files html-flat-files ################################################################# htmldir = $(pkgdatadir)/html install-data-hook: - $(mkdir_p) $(htmldir)/handbook - cp -pR var $(htmldir)/handbook + $(mkdir_p) $(htmldir)/handbook/common + $(mkdir_p) $(htmldir)/handbook/images/callouts + $(INSTALL) var/*.html $(htmldir)/handbook + $(INSTALL) $(srcdir)/common/*.css $(htmldir)/handbook/common + $(INSTALL) $(srcdir)/images/*.png $(htmldir)/handbook/images + $(INSTALL) $(srcdir)/images/callouts/*.png $(htmldir)/handbook/images/callouts # Automake's "distcheck" is sensitive to having files left over # after "make uninstall", so we have to clean up the install hook. uninstall-local: - rm -rf $(htmldir) + rm -rf $(htmldir)/handbook ################################################################# |