]> granicus.if.org Git - zziplib/commitdiff
changes
authorGuido Draheim <guidod@gmx.de>
Wed, 27 Sep 2006 20:45:16 +0000 (20:45 +0000)
committerGuido Draheim <guidod@gmx.de>
Wed, 27 Sep 2006 20:45:16 +0000 (20:45 +0000)
 (.)

ChangeLog
Makefile.am
Makefile.in
configure.ac
docs/Makefile.am
docs/Makefile.in
docs/body.htm

index 3bc955b335d68c359ab95bb8e4d17b00e886f9f1..72174bb6965d474834de97a779f3a1a6249663fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2006-09-27
  * adding docs/zip-php.htm integrating Chris Branch's mail into the docs
+ * appending docs/changes.htm rule from ./ChangeLog 
        
 2006-09-26
  * adding docs/notes.htm - to register some old dicussions for later
index 7e39caa9d29e69f7ab46d851a3b95db1bee9d620..b61b5b991472bae35b907be0a4f3e7f3b1eb3d06 100644 (file)
@@ -11,7 +11,7 @@ rpm2: dist-bzip2 $(PACKAGE).spec
        rpmbuild -ta $(PACKAGE)-$(VERSION).tar.bz2
 
 doc docs docu clean-doc clean-docs clean-docu   zzip.html zzip.xml zzip.pdf \
-man mans manpages htmpages unpack clean-unpack  pdfs \
+man mans manpages htmpages unpack clean-unpack  changes.htm pdfs \
 omf install-omf install-doc install-docs install-sf install-man3 install-mans :
        (cd docs && $(MAKE) `basename $@`)
 
index ec0352b91a4cd4ce98aa9094f75c8bcbff02bed3..dfd1f1819fa448003979454a3fb3b73c5d10efdd 100644 (file)
@@ -706,7 +706,7 @@ rpm2: dist-bzip2 $(PACKAGE).spec
        rpmbuild -ta $(PACKAGE)-$(VERSION).tar.bz2
 
 doc docs docu clean-doc clean-docs clean-docu   zzip.html zzip.xml zzip.pdf \
-man mans manpages htmpages unpack clean-unpack  pdfs \
+man mans manpages htmpages unpack clean-unpack  changes.htm pdfs \
 omf install-omf install-doc install-docs install-sf install-man3 install-mans :
        (cd docs && $(MAKE) `basename $@`)
 
index 65bc3bf9efb20ef530d46f7183e3ac14b030c687..60dad547e610ce712d95a8af4448506ab11524a9 100644 (file)
@@ -1,7 +1,7 @@
 AC_INIT(zziplib.spec)
 AC_PREREQ(2.49)
 AC_COPYRIGHT([Guido Draheim <guido@gmx.de> for ZZipLib.SF.net])
-AC_REVISION($Revision: 1.7 $)
+AC_REVISION($Revision: 1.8 $)
 AC_CONFIG_AUX_DIR(uses)
 # =======================================================================
 AC_CANONICAL_SYSTEM
@@ -301,7 +301,8 @@ AX_CFLAGS_GCC_OPTION(-Wmissing-declarations)
 AX_ENABLE_DEFAULT_PKGCONFIGDIR
 AX_ENABLE_DEFAULT_ACLOCALDIR
 AC_SUBST([CONFIG_FILES])
-AC_OUTPUT([Makefile zzip/Makefile zzipwrap/Makefile SDL/Makefile
+AC_OUTPUT([Makefile 
+           zzip/Makefile zzipwrap/Makefile SDL/Makefile
            docs/Makefile test/Makefile bins/Makefile])
 dnl -------------------------------------------------------------
 PATCH_LIBTOOL_ON_DARWIN_ZSH_OVERQUOTING
index 5b9e0bbd26c16bc46d1877dafc70ef8e637cd7cd..15d1115243184634b2df5022789ba7980b1f5f0e 100644 (file)
@@ -14,6 +14,7 @@ htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
             configs.htm sfx-make.htm   developer.htm download.htm \
             history.htm referentials.htm  faq.htm copying.htm notes.htm \
             functions.htm zip-php.htm
+htms_FILES = changes.htm
 SDL = @top_srcdir@/SDL
 SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
             $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
@@ -35,8 +36,8 @@ zzipdoc_FILES = makedocs.py               zzipdoc/__init__.py \
        zzipdoc/functionprototype.py      zzipdoc/htmldocument.py \
                                           zzipdoc/docbookdocument.py
 
-html_FILES = $(htm_FILES:.htm=.html) \
-             $(htm_FILES:.htm=.print.html) \
+html_FILES = $(htm_FILES:.htm=.html)       $(htms_FILES:.htm=.html) \
+             $(htm_FILES:.htm=.print.html) $(htms_FILES:.htm=.print.html) \
              site.html site.print.html
 
 default : doc
@@ -228,11 +229,18 @@ install-omf : omf zziplib.xml zzipmmapped.xml zzipfseeko.xml
 site.htm : body.htm
        cp $(srcdir)/body.htm site.htm
 mksite_sh_args = --VERSION=$(VERSION) --xml --src-dir=$(srcdir) --print
-site.html : body.htm site.htm mksite.sh $(htm_FILES)
+site.html : body.htm site.htm mksite.sh $(htm_FILES) $(htms_FILES)
        cp $(srcdir)/body.htm site.htm
        perl $(srcdir)/mksite.pl $(mksite_sh_args) site.htm || \
        $(SHELL) $(srcdir)/mksite.sh $(mksite_sh_args) site.htm
 
+changes.htm : $(top_srcdir)/ChangeLog Makefile 
+       echo "<pre>" > $@ ; cat $(top_srcdir)/ChangeLog \
+       | sed -e "s,\\&,\\&amp\\;,g" \
+       -e "s,<,\\&lt\\;,g" -e "s,>,\\&gt\\;,g" \
+       -e "/^[A-Z].*[12][09][09][09]/s,\\(.*\\),<b>&</b>," \
+       -e "/^[0-9]/s,\\(.*\\),<b>&</b>," >> $@ ; echo "</pre>" >>$@
+
 # ----------------------------------------------- create pdf via docbook xml
 # sorry, the xmlto / docbook-xsl are too broken to rebuild the PDF anymore
 
index fd5ce17ae9b3fb2a30c84d3055903eb7781e25f7..ae1cbe52b7832414371ed7545ccb5da2845b0608 100644 (file)
@@ -219,6 +219,7 @@ htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
             history.htm referentials.htm  faq.htm copying.htm notes.htm \
             functions.htm zip-php.htm
 
+htms_FILES = changes.htm
 SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
             $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
 
@@ -239,8 +240,8 @@ zzipdoc_FILES = makedocs.py               zzipdoc/__init__.py \
        zzipdoc/functionprototype.py      zzipdoc/htmldocument.py \
                                           zzipdoc/docbookdocument.py
 
-html_FILES = $(htm_FILES:.htm=.html) \
-             $(htm_FILES:.htm=.print.html) \
+html_FILES = $(htm_FILES:.htm=.html)       $(htms_FILES:.htm=.html) \
+             $(htm_FILES:.htm=.print.html) $(htms_FILES:.htm=.print.html) \
              site.html site.print.html
 
 omfdir = ${datadir}/omf
@@ -595,11 +596,18 @@ install-omf : omf zziplib.xml zzipmmapped.xml zzipfseeko.xml
 # ----------------------------------------------- mksite.sh for the main html
 site.htm : body.htm
        cp $(srcdir)/body.htm site.htm
-site.html : body.htm site.htm mksite.sh $(htm_FILES)
+site.html : body.htm site.htm mksite.sh $(htm_FILES) $(htms_FILES)
        cp $(srcdir)/body.htm site.htm
        perl $(srcdir)/mksite.pl $(mksite_sh_args) site.htm || \
        $(SHELL) $(srcdir)/mksite.sh $(mksite_sh_args) site.htm
 
+changes.htm : $(top_srcdir)/ChangeLog Makefile 
+       echo "<pre>" > $@ ; cat $(top_srcdir)/ChangeLog \
+       | sed -e "s,\\&,\\&amp\\;,g" \
+       -e "s,<,\\&lt\\;,g" -e "s,>,\\&gt\\;,g" \
+       -e "/^[A-Z].*[12][09][09][09]/s,\\(.*\\),<b>&</b>," \
+       -e "/^[0-9]/s,\\(.*\\),<b>&</b>," >> $@ ; echo "</pre>" >>$@
+
 # ----------------------------------------------- create pdf via docbook xml
 # sorry, the xmlto / docbook-xsl are too broken to rebuild the PDF anymore
 
index ed45f5fbb27e5d96dc4a678e45af2896e8c5c3a5..a2b2dba91f4b9d9880fc23bbd05140ed074b392d 100644 (file)
@@ -70,6 +70,7 @@
 <br><><a href="http://zziplib.sourceforge.net"> zziplib.sf.net 
                                   <small><i>Home</i></small></a>
 
+<br><><a href="changes.html"> ChangeLog</a>
 <br><small><a href="copying.html"> LGPL/MPL license</a></small>
 <br>&nbsp;
 <hr>