From 567a545987effe7dc812adea81d616d37c9e089a Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Sat, 8 May 2004 17:53:59 +0000 Subject: [PATCH] correct spelling for P indention () --- docs/Makefile.in | 21 +++++++--- docs/body.htm | 88 +++++++++++++++++++---------------------- docs/configs.htm | 14 ++++--- docs/history.htm | 2 + docs/make-dbk.pl | 6 +++ docs/sfx-make.htm | 1 + docs/zzip-extio.htm | 1 + docs/zzip-sdl-rwops.htm | 4 +- 8 files changed, 76 insertions(+), 61 deletions(-) diff --git a/docs/Makefile.in b/docs/Makefile.in index a03b983..c25f18a 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -158,7 +158,7 @@ doc_FILES = README.MSVC6 README.SDL COPYING.MPL COPYING.LIB COPYING.ZLIB \ htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \ zzip-extio.htm zzip-xor.htm zzip-api.htm zzip-parse.htm \ 64on32.htm future.htm configs.htm sfx-make.htm \ - history.htm referentials.htm copying.htm manpages.ar + history.htm referentials.htm copying.htm manpages.ar SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \ $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h @@ -166,7 +166,7 @@ SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \ changelog = @top_srcdir@/ChangeLog EXTRA_DIST = make-doc.py $(doc_FILES) $(htm_FILES) $(SDL_RWOPS) \ - make-doc.pl make-dbk.pl body.htm + make-doc.pl make-dbk.pl mksite.sh site.htm CLEANFILES = *.pc *.omf DISTCLEANFILES = zziplib.spec manpages.ar htmpages.ar *.html *.xml @@ -358,7 +358,7 @@ clean-doc clean-docs : clean-unpack # ------------------------------------------------------------------- zziplib.spec : @top_srcdir@/$(PACKAGE).spec @ $(LN_S) $? $@ # the two zzip-doc.* will grep thru zziplib.spec -doc : $(doc_FILES) $(htm_FILES:.htm=.html) +doc : $(doc_FILES) site.html docs : doc manpages.ar htmpages.ar docu : docs zziplib0.html : zziplib0.xml @@ -497,9 +497,17 @@ install-omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml $(INSTALL_DATA) $(PACKAGE)-man.omf $(DESTDIR)$(pkgomfdir)/ - test ".$(DESTDIR)" != "." || scrollkeeper-update -v -x : $(htm_FILES:.htm=.html) -$(htm_FILES:.htm=.html) : body.htm -%.html : %.htm +site.htm : body.htm + D=$(DATESPEC) ; cat $< \ + | sed -e "s//$(VERSION)/" \ + | sed -e "s//$$D/" \ + > $@ +site.html : site.htm mksite.sh $(htm_FILES) + $(SHELL) $(srcdir)/mksite.sh --srcdir=$(srcdir) site.htm + +x : $(htm_FILES:.htm=.htmls) +$(htm_FILES:.htm=.htmls) : body.htm +%.htmls : %.htm @ title=`grep '

' $< | sed -e 's:

.*::' -e 's:<[^<>]*>::g'` \ ; D=$(DATESPEC) ; cat $(srcdir)/body.htm \ | sed -e "s//$(VERSION)/" \ @@ -522,6 +530,7 @@ $(htm_FILES:.htm=.html) : body.htm ; echo "$$D" >> $@ ; echo "$(datetail)" >> $@ ; fi @ echo "" >>$@ +# ----------------------------------------------- create pdf via docbook xml zzip.xml : $(htm_FILES) zziplib.xml make-dbk.pl @PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@ test -s "$@" || rm "$@" diff --git a/docs/body.htm b/docs/body.htm index 9d3e415..97316bd 100644 --- a/docs/body.htm +++ b/docs/body.htm @@ -1,72 +1,60 @@ -zziplib +zziplib <!--$title?--> - -
-
+ +
+ +
diff --git a/docs/configs.htm b/docs/configs.htm index 62094c5..83352ed 100644 --- a/docs/configs.htm +++ b/docs/configs.htm @@ -63,6 +63,7 @@ zzipwrap zzipwrap - Callback Wrappers for ZZipLib zzip-zlib-config zzip-zlib-config - ZLib Config (for ZZipLib) +

The two entries like "zzip-sdl-config" and "zzip-zlib-config" happen to be ".pc" files for the libz.so and libSDL.so that were seen at configure-time of zziplib - you may want to reuse @@ -136,11 +137,13 @@ combine the flags of a list of library modules that you want to have. If it is only zziplib, than you could simply use this in your configure.ac: -

-  PKG_CHECK_MODULES([ZZIP],[zziplib >= 0.10.75])
+
+  PKG_CHECK_MODULES([ZZIP],[zziplib >= 0.10.75])
   
+

which will provide you with two autoconf/automake variables - named ZZIP_CFLAGS and ZZIP_LIBS respectivly. + named ZZIP_CFLAGS and ZZIP_LIBS + respectivly.

Up to 2004, the macro in zziplib.m4 will be however carry @@ -148,8 +151,9 @@ dependency for your software project. The macro is called like shown above PKG_CHECK_ZZIPLIB and you would call it like -

PKG_CHECK_ZZIPLIB([ZZIP],[0.10.75])
+
     + PKG_CHECK_ZZIPLIB([ZZIP],[0.10.75])
which will give you the two autoconf/automake variables - as well, ZZIP_CFLAGS and ZZIP_LIBS. + as well, ZZIP_CFLAGS and ZZIP_LIBS

diff --git a/docs/history.htm b/docs/history.htm index 10381ca..699bcf7 100644 --- a/docs/history.htm +++ b/docs/history.htm @@ -6,6 +6,7 @@

A Bit Of History

+

You'll find gzip using the same compression that was written by Jean-loup Gailly for the Info-Zip Group @@ -27,6 +28,7 @@ deflate 1.3 and gzip 4.3. The free algorithm can be found in lots of places today including PPP packet compression and PNG picture compression. +

Installation

diff --git a/docs/make-dbk.pl b/docs/make-dbk.pl index 42496e1..e1fe566 100644 --- a/docs/make-dbk.pl +++ b/docs/make-dbk.pl @@ -1,3 +1,9 @@ +#! /usr/local/bin/perl +# this file converts simple html text into a docbook xml variant. +# The mapping of markups and links is far from perfect. But all we +# want is the docbook-to-pdf converter and similar technology being +# present in the world of docbook-to-anything converters. + use strict; my %o; diff --git a/docs/sfx-make.htm b/docs/sfx-make.htm index 1b70886..2e3fab0 100644 --- a/docs/sfx-make.htm +++ b/docs/sfx-make.htm @@ -88,6 +88,7 @@ the string argv[0] to the filename stem, i.e. you could do like
 ZZIP_FILE* f = zzip_fopen ("example.exe/start.gif", "rbi")
+

however you are advised to use the _ext_io cousin to be platform independet - different Operating Systems use different file extensions for executables, it's not always diff --git a/docs/zzip-extio.htm b/docs/zzip-extio.htm index 86524ca..9e0ffb2 100644 --- a/docs/zzip-extio.htm +++ b/docs/zzip-extio.htm @@ -131,6 +131,7 @@ // fclose (file); zzip_fclose (file);

+

and you then need to prefix this code with some additional code to support your own EXT/IO set, so the code will finally look like

diff --git a/docs/zzip-sdl-rwops.htm b/docs/zzip-sdl-rwops.htm
index fa8f047..b6d0abc 100644
--- a/docs/zzip-sdl-rwops.htm
+++ b/docs/zzip-sdl-rwops.htm
@@ -54,8 +54,8 @@
  game-graphic files - these files are stored in shared/myapp
  of course where they belong. When you've done that
  then go to X/share/myapp and 
- 
   
- `(cd graphics/ && zip -9r ../graphics.zip .)` 
+
    + `(cd graphics/ && zip -9r ../graphics.zip .)`
and rename the graphics/ subfolder - and still all your files are found: a filepath like X/shared/graphics/game/greetings.bmp will open X/shared/graphics.zip and return the zipped file -- 2.40.0