1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
18 pkgdatadir
= $(datadir)/@PACKAGE@
19 pkgincludedir
= $(includedir)/@PACKAGE@
20 pkglibdir
= $(libdir)/@PACKAGE@
21 pkglibexecdir
= $(libexecdir
)/@PACKAGE@
22 am__cd
= CDPATH
="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23 install_sh_DATA
= $(install_sh
) -c
-m
644
24 install_sh_PROGRAM
= $(install_sh
) -c
25 install_sh_SCRIPT
= $(install_sh
) -c
26 INSTALL_HEADER
= $(INSTALL_DATA
)
27 transform
= $(program_transform_name
)
34 build_triplet
= @build@
36 target_triplet
= @target@
38 DIST_COMMON
= $(srcdir)/Makefile.am
$(srcdir)/Makefile.in COPYING.LIB
39 ACLOCAL_M4
= $(top_srcdir
)/aclocal.m4
40 am__aclocal_m4_deps
= $(top_srcdir
)/m4
/ac_compile_check_sizeof.m4 \
41 $(top_srcdir
)/m4
/ac_set_default_paths_system.m4 \
42 $(top_srcdir
)/m4
/ac_sys_largefile_sensitive.m4 \
43 $(top_srcdir
)/m4
/acx_restrict.m4 \
44 $(top_srcdir
)/m4
/ax_cflags_gcc_option.m4 \
45 $(top_srcdir
)/m4
/ax_cflags_no_writable_strings.m4 \
46 $(top_srcdir
)/m4
/ax_cflags_strict_prototypes.m4 \
47 $(top_srcdir
)/m4
/ax_cflags_warn_all.m4 \
48 $(top_srcdir
)/m4
/ax_check_aligned_access_required.m4 \
49 $(top_srcdir
)/m4
/ax_configure_args.m4 \
50 $(top_srcdir
)/m4
/ax_create_pkgconfig_info.m4 \
51 $(top_srcdir
)/m4
/ax_enable_builddir_uname.m4 \
52 $(top_srcdir
)/m4
/ax_expand_prefix.m4 \
53 $(top_srcdir
)/m4
/ax_maintainer_mode_auto_silent.m4 \
54 $(top_srcdir
)/m4
/ax_not_enable_frame_pointer.m4 \
55 $(top_srcdir
)/m4
/ax_pax_tar.m4 \
56 $(top_srcdir
)/m4
/ax_prefix_config_h.m4 \
57 $(top_srcdir
)/m4
/ax_set_version_info.m4 \
58 $(top_srcdir
)/m4
/ax_spec_file.m4 \
59 $(top_srcdir
)/m4
/ax_spec_package_version.m4 \
60 $(top_srcdir
)/m4
/ax_warning_default_aclocaldir.m4 \
61 $(top_srcdir
)/m4
/ax_warning_default_pkgconfig.m4 \
62 $(top_srcdir
)/m4
/libtool.m4
$(top_srcdir
)/m4
/ltoptions.m4 \
63 $(top_srcdir
)/m4
/ltsugar.m4
$(top_srcdir
)/m4
/ltversion.m4 \
64 $(top_srcdir
)/m4
/lt~obsolete.m4 \
65 $(top_srcdir
)/m4
/patch_libtool_on_darwin_zsh_overquoting.m4 \
66 $(top_srcdir
)/m4
/patch_libtool_sys_lib_search_path_spec.m4 \
67 $(top_srcdir
)/m4
/patch_libtool_to_add_host_cc.m4 \
68 $(top_srcdir
)/configure.ac
69 am__configure_deps
= $(am__aclocal_m4_deps
) $(CONFIGURE_DEPENDENCIES
) \
71 mkinstalldirs
= $(SHELL
) $(top_srcdir
)/uses
/mkinstalldirs
72 CONFIG_HEADER
= $(top_builddir
)/config.h
74 CONFIG_CLEAN_VPATH_FILES
=
77 DISTFILES
= $(DIST_COMMON
) $(DIST_SOURCES
) $(TEXINFOS
) $(EXTRA_DIST
)
83 AUTOHEADER
= @AUTOHEADER@
87 CCDEPMODE
= @CCDEPMODE@
89 CONFIG_FILES
= @CONFIG_FILES@
92 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@
120 LTLIBOBJS
= @LTLIBOBJS@
122 MAKEINFO
= @MAKEINFO@
132 PACKAGE_BUGREPORT
= @PACKAGE_BUGREPORT@
133 PACKAGE_NAME
= @PACKAGE_NAME@
134 PACKAGE_STRING
= @PACKAGE_STRING@
135 PACKAGE_TARNAME
= @PACKAGE_TARNAME@
136 PACKAGE_URL
= @PACKAGE_URL@
137 PACKAGE_VERSION
= @PACKAGE_VERSION@
138 PATH_SEPARATOR
= @PATH_SEPARATOR@
140 PAX_TAR_CREATE
= @PAX_TAR_CREATE@
141 PAX_TAR_EXTRACT
= @PAX_TAR_EXTRACT@
143 PKG_CONFIG
= @PKG_CONFIG@
146 RELEASE_INFO
= @RELEASE_INFO@
147 RESOLVES
= @RESOLVES@
148 SDL
= @top_srcdir@
/SDL
149 SDL_GENERATE
= @SDL_GENERATE@
151 SET_MAKE
= @SET_MAKE@
155 THREAD_SAFE
= @THREAD_SAFE@
157 VERSION_INFO
= @VERSION_INFO@
159 ZIPTESTS
= @ZIPTESTS@
160 ZLIB_INCL
= @ZLIB_INCL@
161 ZLIB_LDIR
= @ZLIB_LDIR@
162 ZLIB_VERSION
= @ZLIB_VERSION@
163 ZZIPLIB_LDFLAGS
= @ZZIPLIB_LDFLAGS@
164 abs_builddir
= @abs_builddir@
165 abs_srcdir
= @abs_srcdir@
166 abs_top_builddir
= @abs_top_builddir@
167 abs_top_srcdir
= @abs_top_srcdir@
168 ac_ct_CC
= @ac_ct_CC@
169 ac_ct_DUMPBIN
= @ac_ct_DUMPBIN@
170 aclocaldir
= @aclocaldir@
171 am__include
= @am__include@
172 am__leading_dot
= @am__leading_dot@
173 am__quote
= @am__quote@
175 am__untar
= @am__untar@
176 ax_enable_builddir_sed
= @ax_enable_builddir_sed@
179 build_alias
= @build_alias@
180 build_cpu
= @build_cpu@
181 build_os
= @build_os@
182 build_vendor
= @build_vendor@
183 builddir
= @builddir@
185 datarootdir
= @datarootdir@
188 exec_prefix = @
exec_prefix@
190 host_alias
= @host_alias@
191 host_cpu
= @host_cpu@
193 host_vendor
= @host_vendor@
195 includedir = @
includedir@
197 install_sh
= @install_sh@
199 libexecdir
= @libexecdir@
200 localedir
= @localedir@
201 localstatedir
= @localstatedir@
205 oldincludedir = @
oldincludedir@
207 pkgconfig_libdir
= @pkgconfig_libdir@
208 pkgconfig_libfile
= @pkgconfig_libfile@
209 pkgconfigdir
= @pkgconfigdir@
211 program_transform_name
= @program_transform_name@
214 sharedstatedir
= @sharedstatedir@
216 sysconfdir
= @sysconfdir@
218 target_alias
= @target_alias@
219 target_cpu
= @target_cpu@
220 target_os
= @target_os@
221 target_vendor
= @target_vendor@
222 top_build_prefix
= @top_build_prefix@
223 top_builddir
= @top_builddir@
224 top_srcdir
= @top_srcdir@
225 AUTOMAKE_OPTIONS
= 1.4 foreign
226 AUTOTOOL_VERSION
= autoconf-2.52 automake-1.5 libtool-1.4
.2
227 PYRUN
= PYTHONDONTWRITEBYTECODE
=1 $(PYDEFS
) @PYTHON@
$(PYFLAGS
)
228 PLRUN
= PERL_DL_NONLAZY
=1 $(PLDEFS
) @PERL@
$(PLFLAGS
)
229 DELETE
= echo deleting...
230 doc_FILES
= README.MSVC6 README.SDL COPYING.MPL COPYING.LIB COPYING.ZLIB \
231 zziplib.html zzipmmapped.html zzipfseeko.html
233 htm_FILES
= zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
234 zzip-extio.htm zzip-xor.htm zzip-crypt.htm zzip-cryptoid.htm \
235 zzip-api.htm zzip-basics.htm zzip-extras.htm zzip-parse.htm \
236 64on32.htm future.htm fseeko.htm mmapped.htm memdisk.htm \
237 configs.htm sfx-make.htm developer.htm download.htm \
238 history.htm referentials.htm faq.htm copying.htm notes.htm \
239 functions.htm zip-php.htm
241 htms_FILES
= changes.htm
242 SDL_RWOPS
= $(SDL
)/SDL_rwops_zzcat.c \
243 $(SDL
)/SDL_rwops_zzip.c
$(SDL
)/SDL_rwops_zzip.h
245 changelog
= @top_srcdir@
/ChangeLog
246 EXTRA_DIST
= make-doc.py
$(doc_FILES
) $(htm_FILES
) $(SDL_RWOPS
) \
247 make-doc.pl make-dbk.pl mksite.sh mksite.pl body.htm \
248 $(zzipdoc_FILES
) sdocbook.css \
249 zziplib-manpages.dbk zziplib-master.dbk \
252 CLEANFILES
= *.
pc *.omf
253 DISTCLEANFILES
= zziplib.spec manpages.
tar htmpages.
tar *.html
*.xml
254 zzipdoc_FILES
= makedocs.py zzipdoc
/__init__.py \
255 zzipdoc
/commentmarkup.py zzipdoc
/match.py \
256 zzipdoc
/dbk2htm.py zzipdoc
/htm2dbk.py \
257 zzipdoc
/functionheader.py zzipdoc
/options.py \
258 zzipdoc
/functionlisthtmlpage.py zzipdoc
/textfileheader.py \
259 zzipdoc
/functionlistreference.py zzipdoc
/textfile.py \
260 zzipdoc
/functionprototype.py zzipdoc
/htmldocument.py \
261 zzipdoc
/docbookdocument.py
263 html_FILES
= $(htm_FILES
:.htm
=.html
) $(htms_FILES
:.htm
=.html
) \
264 $(htm_FILES
:.htm
=.
print.html
) $(htms_FILES
:.htm
=.
print.html
) \
265 site.html site.
print.html
267 omfdir
= ${datadir}/omf
268 pkgomfdir
= ${omfdir}/${PACKAGE}
269 pkgdocdir
= ${mandir}/..
/doc
/${PACKAGE}
270 bins
= @top_srcdir@
/bins
271 DOCEXAMPLES
= $(bins
)/zzdir.c
$(bins
)/zzcat.c \
272 $(bins
)/zzobfuscated.c
$(bins
)/zziptest.c \
273 $(bins
)/zzxordir.c
$(bins
)/zzxorcat.c \
274 $(bins
)/zzxorcopy.c
$(SDL_RWOPS
)
276 SOURCEFORGE_GROUP
= zziplib
277 SOURCEFORGE_HOST
= web.sourceforge.net
278 SOURCEFORGE_PATH
= /home
/groups
/z
/zz
/zziplib
/htdocs
280 # --------------------------------------------------------------- OMF handling
281 spec_file
= $(top_srcdir
)/$(PACKAGE
).spec
282 DOCSERIES
= 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
283 FROMSPEC
= $(spec_file
) | head
-1 | sed
-e
's,<,\<,g' -e
's,>,\>,g'
284 DATESPEC
= `date +%Y-%m-%d`
285 DOCBOOKDTD
= -//OASIS
/DTD Docbook V4.1
.2//EN
286 MANSERIES
= a302c642-1888-11d7-86f6-ba4b52ef847d
287 mksite_sh_args
= --VERSION
=$(VERSION
) --xml
--src-dir
=$(srcdir) --print
291 $(srcdir)/Makefile.in
: @MAINTAINER_MODE_TRUE@
$(srcdir)/Makefile.am
$(am__configure_deps
)
293 case
'$(am__configure_deps)' in \
295 ( cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
) \
296 && { if
test -f
$@
; then exit
0; else break
; fi
; }; \
300 echo
' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
301 $(am__cd
) $(top_srcdir
) && \
302 $(AUTOMAKE
) --foreign docs
/Makefile
304 Makefile
: $(srcdir)/Makefile.in
$(top_builddir
)/config.status
307 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
;; \
309 echo
' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
310 cd
$(top_builddir
) && $(SHELL
) .
/config.status
$(subdir
)/$@
$(am__depfiles_maybe
);; \
313 $(top_builddir
)/config.status
: $(top_srcdir
)/configure
$(CONFIG_STATUS_DEPENDENCIES
)
314 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
316 $(top_srcdir
)/configure
: @MAINTAINER_MODE_TRUE@
$(am__configure_deps
)
317 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
318 $(ACLOCAL_M4
): @MAINTAINER_MODE_TRUE@
$(am__aclocal_m4_deps
)
319 cd
$(top_builddir
) && $(MAKE
) $(AM_MAKEFLAGS
) am--refresh
320 $(am__aclocal_m4_deps
):
334 distdir
: $(DISTFILES
)
335 @srcdirstrip
=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
336 topsrcdirstrip
=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
337 list
='$(DISTFILES)'; \
338 dist_files
=`for file in $$list; do echo $$file; done | \
339 sed -e "s|^$$srcdirstrip/||;t" \
340 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
341 case
$$dist_files in \
342 */*) $(MKDIR_P
) `echo "$$dist_files" | \
343 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
346 for file in
$$dist_files; do \
347 if
test -f
$$file ||
test -d
$$file; then d
=.
; else d
=$(srcdir); fi
; \
348 if
test -d
$$d/$$file; then \
349 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
350 if
test -d
"$(distdir)/$$file"; then \
351 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
353 if
test -d
$(srcdir)/$$file && test $$d != $(srcdir); then \
354 cp
-fpR
$(srcdir)/$$file "$(distdir)$$dir" || exit
1; \
355 find
"$(distdir)/$$file" -type d
! -perm
-700 -exec chmod u
+rwx
{} \
;; \
357 cp
-fpR
$$d/$$file "$(distdir)$$dir" || exit
1; \
359 test -f
"$(distdir)/$$file" \
360 || cp
-p
$$d/$$file "$(distdir)/$$file" \
369 install-exec
: install-exec-am
370 install-data
: install-data-am
371 uninstall: uninstall-am
374 @
$(MAKE
) $(AM_MAKEFLAGS
) install-exec-am install-data-am
376 installcheck: installcheck-am
378 $(MAKE
) $(AM_MAKEFLAGS
) INSTALL_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" \
379 install_sh_PROGRAM
="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG
=-s \
380 `test -z '$(STRIP)' || \
381 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
385 -test -z
"$(CLEANFILES)" ||
rm -f
$(CLEANFILES
)
388 -test -z
"$(CONFIG_CLEAN_FILES)" ||
rm -f
$(CONFIG_CLEAN_FILES
)
389 -test .
= "$(srcdir)" ||
test -z
"$(CONFIG_CLEAN_VPATH_FILES)" ||
rm -f
$(CONFIG_CLEAN_VPATH_FILES
)
390 -test -z
"$(DISTCLEANFILES)" ||
rm -f
$(DISTCLEANFILES
)
392 maintainer-clean-generic
:
393 @echo
"This command is intended for maintainers to use"
394 @echo
"it deletes files that may require special tools to rebuild."
397 clean-am
: clean-generic clean-libtool mostlyclean-am
399 distclean: distclean-am
401 distclean-am
: clean-am distclean-generic
415 install-data-am
: install-data-local
417 install-dvi
: install-dvi-am
423 install-html
: install-html-am
427 install-info
: install-info-am
433 install-pdf
: install-pdf-am
437 install-ps
: install-ps-am
443 maintainer-clean
: maintainer-clean-am
445 maintainer-clean-am
: distclean-am maintainer-clean-generic
447 mostlyclean: mostlyclean-am
449 mostlyclean-am
: mostlyclean-generic mostlyclean-libtool
461 .MAKE
: install-am install-strip
463 .PHONY
: all all-am
check check-am
clean clean-generic clean-libtool \
464 distclean distclean-generic distclean-libtool distdir
dvi \
465 dvi-am html html-am
info info-am
install install-am \
466 install-data install-data-am install-data-local install-dvi \
467 install-dvi-am install-exec install-exec-am install-html \
468 install-html-am install-info install-info-am install-man \
469 install-pdf install-pdf-am install-ps install-ps-am \
470 install-strip
installcheck installcheck-am
installdirs \
471 maintainer-clean maintainer-clean-generic
mostlyclean \
472 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
473 uninstall uninstall-am
477 default
: doc @MAINTAINER_MODE_FALSE@ mans
478 clean-doc clean-docs
: clean-unpack
479 - rm $(DISTCLEANFILES
)
480 - rm $(MAINTAINERCLEANFILES
)
481 install-data-local
: @MAINTAINER_MODE_FALSE@ install-mans
483 # -------------------------------------------------------------------
484 zziplib.spec
: @top_srcdir@
/$(PACKAGE
).spec
485 @ cp
$?
$@
# the two zzip-doc.* will grep thru zziplib.spec
486 doc
: $(doc_FILES
) site.html
487 docs
: doc manpages.
tar htmpages.
tar
490 - rm zziplib2.html zzipmmapped.html zzipfseeko.html
491 $(MAKE
) manpages.
tar htmpages.
tar DELETE
=exit
493 zziplib.html
: zziplib.xml
494 zziplib.xml
: zziplib.spec
$(srcdir)/Makefile.am \
495 $(srcdir)/zzipdoc
/*.py \
496 $(srcdir)/makedocs.py @top_srcdir@
/zzip
/*.c
497 $(PYRUN
) $(srcdir)/makedocs.py @top_srcdir@
/zzip
/*.c
$(zziplib
) \
498 "--package=$(PACKAGE)" "--version=$(VERSION)" \
499 "--onlymainheader=zzip/lib.h" "--output=zziplib"
500 test -s zziplib.docbook
&& mv zziplib.docbook zziplib.xml
501 zzipmmapped.html
: zzipmmapped.xml
502 zzipmmapped.xml
: zziplib.spec
$(srcdir)/Makefile.am \
503 $(srcdir)/zzipdoc
/*.py \
504 $(srcdir)/makedocs.py @top_srcdir@
/zzip
/*.c
505 $(PYRUN
) $(srcdir)/makedocs.py @top_srcdir@
/zzip
/*.c
$(zziplib
) \
506 "--package=$(PACKAGE)" "--version=$(VERSION)" \
507 "--onlymainheader=zzip/mmapped.h" "--output=zzipmmapped"
508 test -s zzipmmapped.docbook
&& mv zzipmmapped.docbook zzipmmapped.xml
509 zzipfseeko.html
: zzipfseeko.xml
510 zzipfseeko.xml
: zziplib.spec
$(srcdir)/Makefile.am \
511 $(srcdir)/zzipdoc
/*.py \
512 $(srcdir)/makedocs.py @top_srcdir@
/zzip
/*.c
513 $(PYRUN
) $(srcdir)/makedocs.py @top_srcdir@
/zzip
/*.c
$(zziplib
) \
514 "--package=$(PACKAGE)" "--version=$(VERSION)" \
515 "--onlymainheader=zzip/fseeko.h" "--output=zzipfseeko"
516 test -s zzipfseeko.docbook
&& mv zzipfseeko.docbook zzipfseeko.xml
518 install-docs
: $(doc_FILES
) $(man_FILES
) site.html htmpages.
tar
519 $(mkinstalldirs
) $(DESTDIR
)$(pkgdocdir
)
520 $(INSTALL_DATA
) $(html_FILES
) $(DESTDIR
)$(pkgdocdir
)
521 for i in
$(doc_FILES
) $(DOCEXAMPLES
) $(changelog
) $(srcdir)/README.
* \
522 ; do
$(INSTALL_DATA
) `test -f $$i || echo $(srcdir)/`$$i \
523 $(DESTDIR
)$(pkgdocdir
) ; done
524 cd
$(DESTDIR
)$(pkgdocdir
) && ln
-sf zzip-index.html index.html
525 $(mkinstalldirs
) $(DESTDIR
)$(pkgdocdir
)/man
526 @ echo
$(PAX_TAR_EXTRACT
) htmpages.
tar '>>>' $(DESTDIR
)$(pkgdocdir
)/man
/ \
527 ; test -f htmpages.
tar || cd
"$srcdir" \
528 ; P
=`pwd` ; test -s htmpages.
tar || exit
1 \
529 ; cd
$(DESTDIR
)$(pkgdocdir
)/man
&& $(PAX_TAR_EXTRACT
) $$P/htmpages.
tar \
532 install-doc
: install-docs
$(PACKAGE
)-doc.omf
533 $(mkinstalldirs
) $(DESTDIR
)$(pkgomfdir
)
534 $(INSTALL_DATA
) $(PACKAGE
)-doc.omf
$(DESTDIR
)$(pkgomfdir
)/
535 - test ".$(DESTDIR)" != "." || scrollkeeper-update
536 www
: upload-sourceforge
538 $(MAKE
) install-docs DESTDIR
=/tmp
/zziplib-htdocs-
$$USER/
539 echo scp ...
$(SOURCEFORGE_HOST
):$(SOURCEFORGE_PATH
)/ ; sleep
4
540 scp
-r
/tmp
/zziplib-htdocs-
$$USER/$(pkgdocdir
)/* \
541 $$USER,$(SOURCEFORGE_GROUP
)@
$(SOURCEFORGE_HOST
):$(SOURCEFORGE_PATH
)
542 rm -r
/tmp
/zziplib-htdocs-
$$USER/
544 # ------------------------------------------------------------ package manpages
546 install-mans
: install-man3
548 man3 man manpages
: manpages.
tar
549 html htm htmpages
: htmpages.
tar
551 zziplib-manpages.
tar : manpages.
tar
552 test -s
"$@" ||
test -s
"$(srcdir)/$@"
553 manpages.
tar : zziplib.xml zzipmmapped.xml zzipfseeko.xml
554 : "unix man format of the manpages - goes to ../share/man/man3"
555 @ if
test "$(XMLTO)" != ":" \
556 ; then echo going to regenerate
"$@" in subdir
"'"man
"'" \
557 ; echo
'test ! -d man3 || rm man3/* ; test -d man3 || mkdir man3' \
558 ; test ! -d man3 ||
rm man3
/* ; test -d man3 || mkdir man3 \
559 ; echo
'$(XMLTO) -o man3 man zziplib.xml' \
560 ; $(XMLTO
) -o man3 man zziplib.xml \
561 ; echo
'$(XMLTO) -o man3 man zzipmmapped.xml' \
562 ; $(XMLTO
) -o man3 man zzipmmapped.xml \
563 ; echo
'$(XMLTO) -o man3 man zzipfseeko.xml' \
564 ; $(XMLTO
) -o man3 man zzipfseeko.xml \
565 ; if
test -d man3
/man3
; then mv man3 man3_ \
566 ; mv man3_
/man3 man3
; rm -r man3_
; fi \
567 ; echo
'chmod 664 man3/*.3' \
568 ; chmod
664 man3
/*.3 \
569 ; echo
'$(PAX_TAR_CREATE) "$@" man3/' \
570 ; $(PAX_TAR_CREATE
) "$@" man3
/ \
571 ; echo
'$(DELETE); rm man3/*.3 ; rmdir man3' \
572 ; $(DELETE
); rm man3
/*.3 ; rmdir man3 \
575 ; then echo cp
$@ zziplib-
$@
"(saved)"; cp
$@ zziplib-
$@ \
576 ; else echo cp
$(srcdir)/zziplib-
$@
$@
; cp
$(srcdir)/zziplib-
$@
$@ \
579 zziplib-htmpages.
tar : htmpages.
tar
580 test -s
"$@" ||
test -s
"$(srcdir)/$@"
581 htmpages.
tar : zziplib.xml zzipmmapped.xml zzipfseeko.xml zziplib-manpages.dbk
582 : "html format of the manpages - put into zziplib/htdocs/man/*"
583 @ if
test "$(XMLTO)" != ":" \
584 ; then echo going to regenerate
"$@" in subdir
"'"html
"'" \
585 ; echo
'test ! -d html || rm /* ; test -d html || mkdir html' \
586 ; test ! -d html ||
rm html
/* ; test -d html || mkdir html \
587 ; echo
'cp $(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml' \
588 ; cp
$(srcdir)/zziplib-manpages.dbk zziplib-manpages.xml \
589 ; echo
'$(XMLTO) -o html html zziplib-manpages.xml | tee written.lst' \
590 ; $(XMLTO
) -o html html zziplib-manpages.xml | tee written.lst \
591 ; echo
'$(PAX_TAR_CREATE) $@ html/*.*' \
592 ; $(PAX_TAR_CREATE
) $@ html
/*.
* \
593 ; echo
'$(DELETE); rm html/*.* ; rmdir html' \
594 ; $(DELETE
); rm html
/*.
* ; rmdir html \
597 ; then echo cp
$@ zziplib-
$@
"(saved)"; cp
$@ zziplib-
$@ \
598 ; else echo cp
$(srcdir)/zziplib-
$@
$@
; cp
$(srcdir)/zziplib-
$@
$@ \
601 install-man3
: manpages.
tar
602 $(mkinstalldirs
) $(DESTDIR
)$(mandir)/man3
603 P
=`pwd` ; test -s manpages.
tar || exit
1 \
604 ; cd
$(DESTDIR
)$(mandir) && $(PAX_TAR_EXTRACT
) $$P/manpages.
tar \
607 unpack
: manpages.
tar htmpages.
tar
608 test -s manpages.
tar && test -s htmpages.
tar
609 (rm -rf _htm
&& mkdir _htm
&& cd _htm
&& $(PAX_TAR_EXTRACT
) ..
/htmpages.
tar)
610 (rm -rf _man
&& mkdir _man
&& cd _man
&& $(PAX_TAR_EXTRACT
) ..
/manpages.
tar)
615 $(PACKAGE
)-doc.omf
: $(spec_file
) Makefile
616 : "OMF for the html documentation - a copy of zziplib.sf.net"
617 echo
'<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' >$@
618 echo
'<omf><resource><creator> Guido Draheim </creator>' >>$@
619 grep Packager
$(FROMSPEC
) | sed
-e
's,Packager *: *, <maintainer>,' \
620 -e
'/<maintainer>/s,$$,</maintainer>,' >>$@
621 grep Summary
$(FROMSPEC
) | sed
-e
's,Summary *: *, <title>,' \
622 -e
'/<title>/s,$$,</title>,' >>$@
623 echo
' <date>'$(DATESPEC
)'</date>' >>$@
624 echo
' <version identifier="$(VERSION)" date="'$(DATESPEC
)'"/>' >>$@
625 grep Group
$(FROMSPEC
) | sed
-e
's,Group *: *, <subject category=",' \
626 -e
's,/,|,g' -e
'/<subject/s,$$," />,' >>$@
627 echo
' <format mime="text/html"/>' >>$@
628 pkgdocdir
=`echo "$(pkgdocdir)" | sed -e "s|/[a-z][a-z]*/[.][.]/|/|"` \
629 echo
' <identifier url="file:'"$$pkgdocdir"'/zzip-index.html"/>' >>$@
630 echo
' <language code="C"/>' >>$@
631 echo
' <relation seriesid="$(DOCSERIES)"/>' >>$@
632 echo
' <rights type="GNU LGPL" holder="Guido Draheim"' >>$@
633 pkgdocdir
=`echo "$(pkgdocdir)" | sed -e "s|/[a-z][a-z]*/[.][.]/|/|"` \
634 echo
' license="'"$$pkgdocdir"')/COPYING.LIB"/>' >>$@
635 echo
'</resource></omf>' >>$@
636 $(PACKAGE
)-man.omf
: $(PACKAGE
)-doc.omf
$(PACKAGE
).xml
637 : "OMF for functions reference - the docbook master of the manpages"
638 sed
-e
's,"text/html","text/xml" dtd="$(DOCBOOKDTD)",' \
639 -e
's,</title>, (Function Reference)</title>,' \
640 -e
's,/index.html,/xml/manpages.xml,' \
641 -e
's,$(DOCSERIES),$(MANSERIES),' $(PACKAGE
)-doc.omf
> $@
644 omf
: $(PACKAGE
)-doc.omf
$(PACKAGE
)-man.omf
645 install-omf
: omf zziplib.xml zzipmmapped.xml zzipfseeko.xml
646 : "not installed by default anymore - 'make install-doc' has one OMF"
647 $(mkinstalldirs
) $(DESTDIR
)$(pkgomfdir
)
648 $(INSTALL_DATA
) $(PACKAGE
)-doc.omf
$(DESTDIR
)$(pkgomfdir
)/
649 $(mkinstalldirs
) $(DESTDIR
)$(pkgdocdir
)
650 $(INSTALL_DATA
) $(srcdir)/zziplib-manpages.xml \
651 $(DESTDIR
)$(pkgdocdir
)/xml
/manpages.xml
652 $(INSTALL_DATA
) zziplib.xml zzipmmapped.xml zzipfseeko.xml \
653 $(DESTDIR
)$(pkgdocdir
)/xml
/
654 $(INSTALL_DATA
) $(PACKAGE
)-man.omf
$(DESTDIR
)$(pkgomfdir
)/
655 - test ".$(DESTDIR)" != "." || scrollkeeper-update
-v
657 # ----------------------------------------------- mksite.sh for the main html
659 cp
$(srcdir)/body.htm site.htm
660 site.html
: body.htm site.htm mksite.sh
$(htm_FILES
) $(htms_FILES
)
661 cp
$(srcdir)/body.htm site.htm
662 perl
$(srcdir)/mksite.pl
$(mksite_sh_args
) site.htm || \
663 $(SHELL
) $(srcdir)/mksite.sh
$(mksite_sh_args
) site.htm
665 changes.htm
: $(top_srcdir
)/ChangeLog Makefile
666 echo
"<pre>" > $@
; cat
$(top_srcdir
)/ChangeLog \
667 | sed
-e
"s,\\&,\\&\\;,g" \
668 -e
"s,<,\\<\\;,g" -e
"s,>,\\>\\;,g" \
669 -e
"/^[A-Z].*[12][09][09][09]/s,\\(.*\\),<b>&</b>," \
670 -e
"/^[0-9]/s,\\(.*\\),<b>&</b>," >> $@
; echo
"</pre>" >>$@
672 # ----------------------------------------------- create pdf via docbook xml
673 # sorry, the xmlto / docbook-xsl are too broken to rebuild the PDF anymore
675 zzip.xml
: $(htm_FILES
) zziplib.xml make-dbk.pl
676 : '@PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@'
677 @PYTHON@
$(srcdir)/zzipdoc
/htm2dbk.py
$(htm_FILES
) zziplib.xml
>$@
678 test -s
"$@" ||
rm "$@"
681 xmlto html-nochunks zzip.xml
685 zziplib.pdf
: $(htm_FILES
) $(srcdir)/zziplib-master.dbk mksite.pl
686 cp
$(srcdir)/zziplib-master.dbk zziplib.docbook
687 xmlto pdf zziplib.docbook
; rm zziplib.docbook
692 # Tell versions [3.59,3.63) of GNU make to not export all variables.
693 # Otherwise a system limit (for SysV at least) may be exceeded.