1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 top_srcdir = @top_srcdir@
19 pkgdatadir = $(datadir)/@PACKAGE@
20 pkglibdir = $(libdir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
23 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
36 build_triplet = @build@
38 target_triplet = @target@
40 DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in COPYING.LIB
41 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
42 am__aclocal_m4_deps = $(top_srcdir)/m4/ac_compile_check_sizeof.m4 \
43 $(top_srcdir)/m4/ac_set_default_paths_system.m4 \
44 $(top_srcdir)/m4/ac_sys_largefile_sensitive.m4 \
45 $(top_srcdir)/m4/acx_restrict.m4 \
46 $(top_srcdir)/m4/ax_cflags_gcc_option.m4 \
47 $(top_srcdir)/m4/ax_cflags_no_writable_strings.m4 \
48 $(top_srcdir)/m4/ax_cflags_strict_prototypes.m4 \
49 $(top_srcdir)/m4/ax_cflags_warn_all.m4 \
50 $(top_srcdir)/m4/ax_check_aligned_access_required.m4 \
51 $(top_srcdir)/m4/ax_configure_args.m4 \
52 $(top_srcdir)/m4/ax_create_pkgconfig_info.m4 \
53 $(top_srcdir)/m4/ax_enable_builddir_uname.m4 \
54 $(top_srcdir)/m4/ax_expand_prefix.m4 \
55 $(top_srcdir)/m4/ax_maintainer_mode_auto_silent.m4 \
56 $(top_srcdir)/m4/ax_not_enable_frame_pointer.m4 \
57 $(top_srcdir)/m4/ax_prefix_config_h.m4 \
58 $(top_srcdir)/m4/ax_set_version_info.m4 \
59 $(top_srcdir)/m4/ax_spec_file.m4 \
60 $(top_srcdir)/m4/ax_spec_package_version.m4 \
61 $(top_srcdir)/m4/ax_warning_default_aclocaldir.m4 \
62 $(top_srcdir)/m4/ax_warning_default_pkgconfig.m4 \
63 $(top_srcdir)/m4/patch_libtool_on_darwin_zsh_overquoting.m4 \
64 $(top_srcdir)/m4/patch_libtool_sys_lib_search_path_spec.m4 \
65 $(top_srcdir)/m4/patch_libtool_to_add_host_cc.m4 \
66 $(top_srcdir)/configure.ac
67 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69 mkinstalldirs = $(SHELL) $(top_srcdir)/uses/mkinstalldirs
70 CONFIG_HEADER = $(top_builddir)/config.h
74 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76 AMDEP_FALSE = @AMDEP_FALSE@
77 AMDEP_TRUE = @AMDEP_TRUE@
82 AUTOHEADER = @AUTOHEADER@
86 CCDEPMODE = @CCDEPMODE@
88 CONFIG_FILES = @CONFIG_FILES@
93 CXXDEPMODE = @CXXDEPMODE@
95 CYGPATH_W = @CYGPATH_W@
108 INSTALL_DATA = @INSTALL_DATA@
109 INSTALL_PROGRAM = @INSTALL_PROGRAM@
110 INSTALL_SCRIPT = @INSTALL_SCRIPT@
111 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
112 LARGEFILE_CFLAGS = @LARGEFILE_CFLAGS@
118 LTLIBOBJS = @LTLIBOBJS@
120 MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
121 MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
122 MAKEINFO = @MAKEINFO@
127 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
128 PACKAGE_NAME = @PACKAGE_NAME@
129 PACKAGE_STRING = @PACKAGE_STRING@
130 PACKAGE_TARNAME = @PACKAGE_TARNAME@
131 PACKAGE_VERSION = @PACKAGE_VERSION@
132 PATH_SEPARATOR = @PATH_SEPARATOR@
134 PKG_CONFIG = @PKG_CONFIG@
137 RELEASE_INFO = @RELEASE_INFO@
138 RESOLVES = @RESOLVES@
139 SDL = @top_srcdir@/SDL
140 SET_MAKE = @SET_MAKE@
143 THREAD_SAFE = @THREAD_SAFE@
145 VERSION_INFO = @VERSION_INFO@
147 ZIPTESTS = @ZIPTESTS@
148 ZLIB_INCL = @ZLIB_INCL@
149 ZLIB_LDIR = @ZLIB_LDIR@
150 ZLIB_VERSION = @ZLIB_VERSION@
151 ZZIPLIB_LDFLAGS = @ZZIPLIB_LDFLAGS@
152 ac_ct_CC = @ac_ct_CC@
153 ac_ct_CXX = @ac_ct_CXX@
154 ac_ct_F77 = @ac_ct_F77@
155 aclocaldir = @aclocaldir@
156 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
157 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
158 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
159 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
160 am__include = @am__include@
161 am__leading_dot = @am__leading_dot@
162 am__quote = @am__quote@
164 am__untar = @am__untar@
165 ax_enable_builddir_sed = @ax_enable_builddir_sed@
168 build_alias = @build_alias@
169 build_cpu = @build_cpu@
170 build_os = @build_os@
171 build_vendor = @build_vendor@
173 datarootdir = @datarootdir@
176 exec_prefix = @exec_prefix@
178 host_alias = @host_alias@
179 host_cpu = @host_cpu@
181 host_vendor = @host_vendor@
183 includedir = @includedir@
185 install_sh = @install_sh@
187 libexecdir = @libexecdir@
188 localedir = @localedir@
189 localstatedir = @localstatedir@
192 oldincludedir = @oldincludedir@
194 pkgconfig_libdir = @pkgconfig_libdir@
195 pkgconfig_libfile = @pkgconfig_libfile@
196 pkgconfigdir = @pkgconfigdir@
198 program_transform_name = @program_transform_name@
201 sharedstatedir = @sharedstatedir@
202 sysconfdir = @sysconfdir@
204 target_alias = @target_alias@
205 target_cpu = @target_cpu@
206 target_os = @target_os@
207 target_vendor = @target_vendor@
208 AUTOMAKE_OPTIONS = 1.4 foreign
209 AUTOTOOL_VERSION = autoconf-2.52 automake-1.5 libtool-1.4.2
210 PYRUN = $(PYDEFS) @PYTHON@ $(PYFLAGS)
211 PLRUN = $(PLDEFS) @PERL@ $(PLFLAGS)
212 DELETE = echo deleting...
213 doc_FILES = README.MSVC6 README.SDL COPYING.MPL COPYING.LIB COPYING.ZLIB \
214 zziplib.html zzipmmapped.html zzipfseeko.html
216 htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
217 zzip-extio.htm zzip-xor.htm zzip-crypt.htm zzip-cryptoid.htm \
218 zzip-api.htm zzip-basics.htm zzip-extras.htm zzip-parse.htm \
219 64on32.htm future.htm fseeko.htm mmapped.htm memdisk.htm \
220 configs.htm sfx-make.htm developer.htm download.htm \
221 history.htm referentials.htm faq.htm copying.htm notes.htm \
222 functions.htm zip-php.htm
224 htms_FILES = changes.htm
225 SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
226 $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
228 changelog = @top_srcdir@/ChangeLog
229 EXTRA_DIST = make-doc.py $(doc_FILES) $(htm_FILES) $(SDL_RWOPS) \
230 make-doc.pl make-dbk.pl mksite.sh mksite.pl body.htm \
231 $(zzipdoc_FILES) sdocbook.css \
232 zziplib-manpages.dbk zziplib-master.dbk \
235 CLEANFILES = *.pc *.omf
236 DISTCLEANFILES = zziplib.spec manpages.ar htmpages.ar *.html *.xml
237 zzipdoc_FILES = makedocs.py zzipdoc/__init__.py \
238 zzipdoc/commentmarkup.py zzipdoc/match.py \
239 zzipdoc/dbk2htm.py zzipdoc/htm2dbk.py \
240 zzipdoc/functionheader.py zzipdoc/options.py \
241 zzipdoc/functionlisthtmlpage.py zzipdoc/textfileheader.py \
242 zzipdoc/functionlistreference.py zzipdoc/textfile.py \
243 zzipdoc/functionprototype.py zzipdoc/htmldocument.py \
244 zzipdoc/docbookdocument.py
246 html_FILES = $(htm_FILES:.htm=.html) $(htms_FILES:.htm=.html) \
247 $(htm_FILES:.htm=.print.html) $(htms_FILES:.htm=.print.html) \
248 site.html site.print.html
250 omfdir = ${datadir}/omf
251 pkgomfdir = ${omfdir}/${PACKAGE}
252 SFNETDIR = /groups/z/zz/zziplib/htdocs
253 pkgdocdir = ${mandir}/../doc/${PACKAGE}
254 bins = @top_srcdir@/bins
255 DOCEXAMPLES = $(bins)/zzdir.c $(bins)/zzcat.c \
256 $(bins)/zzobfuscated.c $(bins)/zziptest.c \
257 $(bins)/zzxordir.c $(bins)/zzxorcat.c \
258 $(bins)/zzxorcopy.c $(SDL_RWOPS)
261 # --------------------------------------------------------------- OMF handling
262 spec_file = $(top_srcdir)/$(PACKAGE).spec
263 DOCSERIES = 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
264 FROMSPEC = $(spec_file) | head -1 | sed -e 's,<,\<,g' -e 's,>,\>,g'
265 DATESPEC = `date +%Y-%m-%d`
266 DOCBOOKDTD = -//OASIS/DTD Docbook V4.1.2//EN
267 MANSERIES = a302c642-1888-11d7-86f6-ba4b52ef847d
268 mksite_sh_args = --VERSION=$(VERSION) --xml --src-dir=$(srcdir) --print
272 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
274 case '$(am__configure_deps)' in \
276 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
281 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
282 cd $(top_srcdir) && \
283 $(AUTOMAKE) --foreign docs/Makefile
285 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
288 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
290 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
291 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
294 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
295 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
297 $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
298 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
299 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
300 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
318 distdir: $(DISTFILES)
319 $(mkdir_p) $(distdir)/$(SDL) $(distdir)/zzipdoc
320 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
321 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
322 list='$(DISTFILES)'; for file in $$list; do \
324 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
325 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
327 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
328 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
329 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
331 $(mkdir_p) "$(distdir)$$dir"; \
335 if test -d $$d/$$file; then \
336 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
337 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
339 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
341 test -f $(distdir)/$$file \
342 || cp -p $$d/$$file $(distdir)/$$file \
351 install-exec: install-exec-am
352 install-data: install-data-am
353 uninstall: uninstall-am
356 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
358 installcheck: installcheck-am
360 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
361 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
362 `test -z '$(STRIP)' || \
363 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
367 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
370 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
371 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
373 maintainer-clean-generic:
374 @echo "This command is intended for maintainers to use"
375 @echo "it deletes files that may require special tools to rebuild."
378 clean-am: clean-generic clean-libtool mostlyclean-am
380 distclean: distclean-am
382 distclean-am: clean-am distclean-generic distclean-libtool
394 install-data-am: install-data-local
398 install-info: install-info-am
404 maintainer-clean: maintainer-clean-am
406 maintainer-clean-am: distclean-am maintainer-clean-generic
408 mostlyclean: mostlyclean-am
410 mostlyclean-am: mostlyclean-generic mostlyclean-libtool
420 uninstall-am: uninstall-info-am
422 .PHONY: all all-am check check-am clean clean-generic clean-libtool \
423 distclean distclean-generic distclean-libtool distdir dvi \
424 dvi-am html html-am info info-am install install-am \
425 install-data install-data-am install-data-local install-exec \
426 install-exec-am install-info install-info-am install-man \
427 install-strip installcheck installcheck-am installdirs \
428 maintainer-clean maintainer-clean-generic mostlyclean \
429 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
430 uninstall uninstall-am uninstall-info-am
434 default : doc @MAINTAINER_MODE_FALSE@ mans
435 clean-doc clean-docs : clean-unpack
436 - rm $(DISTCLEANFILES)
437 - rm $(MAINTAINERCLEANFILES)
438 install-data-local : @MAINTAINER_MODE_FALSE@ install-mans
440 # -------------------------------------------------------------------
441 zziplib.spec : @top_srcdir@/$(PACKAGE).spec
442 @ $(LN_S) $? $@ # the two zzip-doc.* will grep thru zziplib.spec
443 doc : $(doc_FILES) site.html
444 docs : doc manpages.ar htmpages.ar
447 - rm zziplib2.html zzipmmapped.html zzipfseeko.html
448 $(MAKE) manpages.ar htmpages.ar DELETE=exit
450 zziplib.html zziplib.xml : zziplib.spec $(srcdir)/Makefile.am \
451 $(srcdir)/zzipdoc/*.py \
452 $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c
453 $(PYRUN) $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c $(zziplib) \
454 "--package=$(PACKAGE)" "--version=$(VERSION)" \
455 "--onlymainheader=zzip/lib.h" "--output=zziplib"
456 test -s zziplib.docbook && mv zziplib.docbook zziplib.xml
457 zzipmmapped.html zzipmmapped.xml : zziplib.spec $(srcdir)/Makefile.am \
458 $(srcdir)/zzipdoc/*.py \
459 $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c
460 $(PYRUN) $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c $(zziplib) \
461 "--package=$(PACKAGE)" "--version=$(VERSION)" \
462 "--onlymainheader=zzip/mmapped.h" "--output=zzipmmapped"
463 test -s zzipmmapped.docbook && mv zzipmmapped.docbook zzipmmapped.xml
464 zzipfseeko.html zzipfseeko.xml : zziplib.spec $(srcdir)/Makefile.am \
465 $(srcdir)/zzipdoc/*.py \
466 $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c
467 $(PYRUN) $(srcdir)/makedocs.py @top_srcdir@/zzip/*.c $(zziplib) \
468 "--package=$(PACKAGE)" "--version=$(VERSION)" \
469 "--onlymainheader=zzip/fseeko.h" "--output=zzipfseeko"
470 test -s zzipfseeko.docbook && mv zzipfseeko.docbook zzipfseeko.xml
472 install-docs: $(doc_FILES) $(man_FILES) site.html htmpages.ar
473 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
474 $(INSTALL_DATA) $(html_FILES) $(DESTDIR)$(pkgdocdir)
475 for i in $(doc_FILES) $(DOCEXAMPLES) $(changelog) $(srcdir)/README.* \
476 ; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
477 $(DESTDIR)$(pkgdocdir) ; done
478 cd $(DESTDIR)$(pkgdocdir) && ln -sf zzip-index.html index.html
479 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)/man
480 @ echo ar x htmpages.ar '>>>' $(DESTDIR)$(pkgdocdir)/man/ \
481 ; test -f htmpages.ar || cd "$srcdir" ; P=`pwd` \
482 ; cd $(DESTDIR)$(pkgdocdir)/man && ar x $$P/htmpages.ar
484 install-doc : install-docs $(PACKAGE)-doc.omf
485 $(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
486 $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
487 - test ".$(DESTDIR)" != "." || scrollkeeper-update
490 $(MAKE) install-docs DESTDIR=/tmp/zziplib-htdocs-$$USER/
491 echo scp ... shell.sf.net:$(pkgdocdir)/ ; sleep 4
492 scp -r /tmp/zziplib-htdocs-$$USER/$(pkgdocdir)/* \
493 shell.sf.net:/home/$(SFNETDIR)/
494 rm -r /tmp/zziplib-htdocs-$$USER/
496 # ------------------------------------------------------------ package manpages
498 install-mans : install-man3
500 man3 man manpages : manpages.ar
501 html htm htmpages : htmpages.ar
503 zziplib-manpages.ar : manpages.ar
504 test -s "$@" || test -s "$(srcdir)/$@"
505 manpages.ar : zziplib.xml zzipmmapped.xml zzipfseeko.xml
506 : "unix man format of the manpages - goes to ../share/man/man3"
507 @ if test "$(XMLTO)" != ":" \
508 ; then echo going to regenerate "$@" in subdir "'"man"'" \
509 ; echo 'test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3' \
510 ; test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3 \
511 ; echo '$(XMLTO) -o man3 man zziplib.xml' \
512 ; $(XMLTO) -o man3 man zziplib.xml \
513 ; echo '$(XMLTO) -o man3 man zzipmmapped.xml' \
514 ; $(XMLTO) -o man3 man zzipmmapped.xml \
515 ; echo '$(XMLTO) -o man3 man zzipfseeko.xml' \
516 ; $(XMLTO) -o man3 man zzipfseeko.xml \
517 ; echo 'ar qc "$@" man3/*.3' \
518 ; ar qc "$@" man3/*.3 \
519 ; echo '$(DELETE); rm man3/*.3 ; rmdir man3' \
520 ; $(DELETE); rm man3/*.3 ; rmdir man3 \
523 ; then echo cp $@ zziplib-$@ "(saved)"; cp $@ zziplib-$@ \
524 ; else echo cp $(srcdir)/zziplib-$@ $@; cp $(srcdir)/zziplib-$@ $@ \
527 zziplib-htmpages.ar : htmpages.ar
528 test -s "$@" || test -s "$(srcdir)/$@"
529 htmpages.ar : zziplib.xml zzipmmapped.xml zzipfseeko.xml zziplib-manpages.dbk
530 : "html format of the manpages - put into zziplib/htdocs/man/*"
531 @ if test "$(XMLTO)" != ":" \
532 ; then echo going to regenerate "$@" in subdir "'"html"'" \
533 ; echo 'test ! -d html || rm /* ; test -d html || mkdir html' \
534 ; test ! -d html || rm html/* ; test -d html || mkdir html \
535 ; echo 'cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml' \
536 ; cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml \
537 ; echo '$(XMLTO) -o html html zziplib-manpages.xml | tee written.lst' \
538 ; $(XMLTO) -o html html zziplib-manpages.xml | tee written.lst \
539 ; echo 'ar qc $@ html/*.*' \
540 ; ar qc $@ html/*.* \
541 ; echo '$(DELETE); rm html/*.* ; rmdir html' \
542 ; $(DELETE); rm html/*.* ; rmdir html \
545 ; then echo cp $@ zziplib-$@ "(saved)"; cp $@ zziplib-$@ \
546 ; else echo cp $(srcdir)/zziplib-$@ $@; cp $(srcdir)/zziplib-$@ $@ \
549 install-man3 : manpages.ar
550 $(mkinstalldirs) $(DESTDIR)$(mandir)/man3
551 P=`pwd` ; cd $(DESTDIR)$(mandir)/man3 \
552 && ar x $$P/manpages.ar && chmod 664 *
554 unpack : manpages.ar htmpages.ar
555 (rm -rf _htm && mkdir _htm && cd _htm && ar x ../htmpages.ar)
556 (rm -rf _man && mkdir _man && cd _man && ar x ../manpages.ar)
561 $(PACKAGE)-doc.omf : $(spec_file) Makefile
562 : "OMF for the html documentation - a copy of zziplib.sf.net"
563 echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' >$@
564 echo '<omf><resource><creator> Guido Draheim </creator>' >>$@
565 grep Packager $(FROMSPEC) | sed -e 's,Packager *: *, <maintainer>,' \
566 -e '/<maintainer>/s,$$,</maintainer>,' >>$@
567 grep Summary $(FROMSPEC) | sed -e 's,Summary *: *, <title>,' \
568 -e '/<title>/s,$$,</title>,' >>$@
569 echo ' <date>'$(DATESPEC)'</date>' >>$@
570 echo ' <version identifier="$(VERSION)" date="'$(DATESPEC)'"/>' >>$@
571 grep Group $(FROMSPEC) | sed -e 's,Group *: *, <subject category=",' \
572 -e 's,/,|,g' -e '/<subject/s,$$," />,' >>$@
573 echo ' <format mime="text/html"/>' >>$@
574 pkgdocdir=`echo "$(pkgdocdir)" | sed -e "s|/[a-z][a-z]*/[.][.]/|/|"` \
575 echo ' <identifier url="file:'"$$pkgdocdir"'/zzip-index.html"/>' >>$@
576 echo ' <language code="C"/>' >>$@
577 echo ' <relation seriesid="$(DOCSERIES)"/>' >>$@
578 echo ' <rights type="GNU LGPL" holder="Guido Draheim"' >>$@
579 pkgdocdir=`echo "$(pkgdocdir)" | sed -e "s|/[a-z][a-z]*/[.][.]/|/|"` \
580 echo ' license="'"$$pkgdocdir"')/COPYING.LIB"/>' >>$@
581 echo '</resource></omf>' >>$@
582 $(PACKAGE)-man.omf : $(PACKAGE)-doc.omf $(PACKAGE).xml
583 : "OMF for functions reference - the docbook master of the manpages"
584 sed -e 's,"text/html","text/xml" dtd="$(DOCBOOKDTD)",' \
585 -e 's,</title>, (Function Reference)</title>,' \
586 -e 's,/index.html,/xml/manpages.xml,' \
587 -e 's,$(DOCSERIES),$(MANSERIES),' $(PACKAGE)-doc.omf > $@
590 omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf
591 install-omf : omf zziplib.xml zzipmmapped.xml zzipfseeko.xml
592 : "not installed by default anymore - 'make install-doc' has one OMF"
593 $(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
594 $(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
595 $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
596 $(INSTALL_DATA) $(srcdir)/zziplib-manpages.xml \
597 $(DESTDIR)$(pkgdocdir)/xml/manpages.xml
598 $(INSTALL_DATA) zziplib.xml zzipmmapped.xml zzipfseeko.xml \
599 $(DESTDIR)$(pkgdocdir)/xml/
600 $(INSTALL_DATA) $(PACKAGE)-man.omf $(DESTDIR)$(pkgomfdir)/
601 - test ".$(DESTDIR)" != "." || scrollkeeper-update -v
603 # ----------------------------------------------- mksite.sh for the main html
605 cp $(srcdir)/body.htm site.htm
606 site.html : body.htm site.htm mksite.sh $(htm_FILES) $(htms_FILES)
607 cp $(srcdir)/body.htm site.htm
608 perl $(srcdir)/mksite.pl $(mksite_sh_args) site.htm || \
609 $(SHELL) $(srcdir)/mksite.sh $(mksite_sh_args) site.htm
611 changes.htm : $(top_srcdir)/ChangeLog Makefile
612 echo "<pre>" > $@ ; cat $(top_srcdir)/ChangeLog \
613 | sed -e "s,\\&,\\&\\;,g" \
614 -e "s,<,\\<\\;,g" -e "s,>,\\>\\;,g" \
615 -e "/^[A-Z].*[12][09][09][09]/s,\\(.*\\),<b>&</b>," \
616 -e "/^[0-9]/s,\\(.*\\),<b>&</b>," >> $@ ; echo "</pre>" >>$@
618 # ----------------------------------------------- create pdf via docbook xml
619 # sorry, the xmlto / docbook-xsl are too broken to rebuild the PDF anymore
621 zzip.xml : $(htm_FILES) zziplib.xml make-dbk.pl
622 : '@PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@'
623 @PYTHON@ $(srcdir)/zzipdoc/htm2dbk.py $(htm_FILES) zziplib.xml >$@
624 test -s "$@" || rm "$@"
627 xmlto html-nochunks zzip.xml
631 zziplib.pdf : $(htm_FILES) $(srcdir)/zziplib-master.dbk mksite.pl
632 cp $(srcdir)/zziplib-master.dbk zziplib.docbook
633 xmlto pdf zziplib.docbook ; rm zziplib.docbook
637 # Tell versions [3.59,3.63) of GNU make to not export all variables.
638 # Otherwise a system limit (for SysV at least) may be exceeded.