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_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_prefix_config_h.m4 \
56
$(top_srcdir)/m4/ax_set_version_info.m4 \
57
$(top_srcdir)/m4/ax_spec_file.m4 \
58
$(top_srcdir)/m4/ax_spec_package_version.m4 \
59
$(top_srcdir)/m4/ax_warning_default_aclocaldir.m4 \
60
$(top_srcdir)/m4/ax_warning_default_pkgconfig.m4 \
61
$(top_srcdir)/m4/patch_libtool_on_darwin_zsh_overquoting.m4 \
62
$(top_srcdir)/m4/patch_libtool_sys_lib_search_path_spec.m4 \
63
$(top_srcdir)/m4/patch_libtool_to_add_host_cc.m4 \
64
$(top_srcdir)/configure.ac
65
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
67
mkinstalldirs = $(SHELL) $(top_srcdir)/uses/mkinstalldirs
68
CONFIG_HEADER = $(top_builddir)/config.h
72
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
74
AMDEP_FALSE = @AMDEP_FALSE@
75
AMDEP_TRUE = @AMDEP_TRUE@
80
AUTOHEADER = @AUTOHEADER@
84
CCDEPMODE = @CCDEPMODE@
86
CONFIG_FILES = @CONFIG_FILES@
91
CXXDEPMODE = @CXXDEPMODE@
93
CYGPATH_W = @CYGPATH_W@
105
INSTALL_DATA = @INSTALL_DATA@
106
INSTALL_PROGRAM = @INSTALL_PROGRAM@
107
INSTALL_SCRIPT = @INSTALL_SCRIPT@
108
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
109
LARGEFILE_CFLAGS = @LARGEFILE_CFLAGS@
115
LTLIBOBJS = @LTLIBOBJS@
117
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
118
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
119
MAKEINFO = @MAKEINFO@
124
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
125
PACKAGE_NAME = @PACKAGE_NAME@
126
PACKAGE_STRING = @PACKAGE_STRING@
127
PACKAGE_TARNAME = @PACKAGE_TARNAME@
128
PACKAGE_VERSION = @PACKAGE_VERSION@
129
PATH_SEPARATOR = @PATH_SEPARATOR@
131
PKG_CONFIG = @PKG_CONFIG@
134
RELEASE_INFO = @RELEASE_INFO@
135
RESOLVES = @RESOLVES@
136
SDL = @top_srcdir@/SDL
137
SET_MAKE = @SET_MAKE@
140
THREAD_SAFE = @THREAD_SAFE@
142
VERSION_INFO = @VERSION_INFO@
144
ZIPTESTS = @ZIPTESTS@
145
ZLIB_INCL = @ZLIB_INCL@
146
ZLIB_LDIR = @ZLIB_LDIR@
147
ZLIB_VERSION = @ZLIB_VERSION@
148
ZZIPLIB_LDFLAGS = @ZZIPLIB_LDFLAGS@
149
ac_ct_AR = @ac_ct_AR@
150
ac_ct_AS = @ac_ct_AS@
151
ac_ct_CC = @ac_ct_CC@
152
ac_ct_CXX = @ac_ct_CXX@
153
ac_ct_DLLTOOL = @ac_ct_DLLTOOL@
154
ac_ct_F77 = @ac_ct_F77@
155
ac_ct_OBJDUMP = @ac_ct_OBJDUMP@
156
ac_ct_RANLIB = @ac_ct_RANLIB@
157
ac_ct_STRIP = @ac_ct_STRIP@
158
aclocaldir = @aclocaldir@
159
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
160
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
161
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
162
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
163
am__include = @am__include@
164
am__leading_dot = @am__leading_dot@
165
am__quote = @am__quote@
167
am__untar = @am__untar@
168
ax_enable_builddir_sed = @ax_enable_builddir_sed@
171
build_alias = @build_alias@
172
build_cpu = @build_cpu@
173
build_os = @build_os@
174
build_vendor = @build_vendor@
177
exec_prefix = @exec_prefix@
179
host_alias = @host_alias@
180
host_cpu = @host_cpu@
182
host_vendor = @host_vendor@
183
includedir = @includedir@
185
install_sh = @install_sh@
187
libexecdir = @libexecdir@
188
localstatedir = @localstatedir@
191
oldincludedir = @oldincludedir@
192
pkgconfig_libdir = @pkgconfig_libdir@
193
pkgconfig_libfile = @pkgconfig_libfile@
194
pkgconfigdir = @pkgconfigdir@
196
program_transform_name = @program_transform_name@
198
sharedstatedir = @sharedstatedir@
199
sysconfdir = @sysconfdir@
201
target_alias = @target_alias@
202
target_cpu = @target_cpu@
203
target_os = @target_os@
204
target_vendor = @target_vendor@
205
AUTOMAKE_OPTIONS = 1.4 foreign
206
AUTOTOOL_VERSION = autoconf-2.52 automake-1.5 libtool-1.4.2
207
doc_FILES = README.MSVC6 README.SDL COPYING.MPL COPYING.LIB COPYING.ZLIB \
210
htm_FILES = zzip-index.htm zzip-zip.htm zzip-file.htm zzip-sdl-rwops.htm \
211
zzip-extio.htm zzip-xor.htm zzip-crypt.htm zzip-cryptoid.htm \
212
zzip-api.htm zzip-basics.htm zzip-extras.htm zzip-parse.htm \
213
64on32.htm future.htm fseeko.htm mmapped.htm memdisk.htm \
214
configs.htm sfx-make.htm developer.htm download.htm \
215
history.htm referentials.htm faq.htm copying.htm
217
SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
218
$(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
220
changelog = @top_srcdir@/ChangeLog
221
EXTRA_DIST = make-doc.py $(doc_FILES) $(htm_FILES) $(SDL_RWOPS) \
222
make-doc.pl make-dbk.pl mksite.sh mksite.pl body.htm \
223
manpages.ar zziplib-master.dbk
225
CLEANFILES = *.pc *.omf
226
DISTCLEANFILES = zziplib.spec manpages.ar htmpages.ar *.html *.xml
227
html_FILES = $(htm_FILES:.htm=.html) \
228
$(htm_FILES:.htm=.print.html) \
229
site.html site.print.html
231
omfdir = ${datadir}/omf
232
pkgomfdir = ${omfdir}/${PACKAGE}
233
SFNETDIR = /groups/z/zz/zziplib/htdocs
234
SFNETDOC = ${datadir}${SFNETDIR}
235
pkgdocdir = ${datadir}${SFNETDIR}
236
bins = @top_srcdir@/bins
237
DOCEXAMPLES = $(bins)/zzdir.c $(bins)/zzcat.c \
238
$(bins)/zzobfuscated.c $(bins)/zziptest.c \
239
$(bins)/zzxordir.c $(bins)/zzxorcat.c \
240
$(bins)/zzxorcopy.c $(SDL_RWOPS)
243
# -------------------------------------------------------------------
244
spec_file = $(top_srcdir)/$(PACKAGE).spec
245
DOCSERIES = 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
246
FROMSPEC = $(spec_file) | head -1 | sed -e 's,<,\<,g' -e 's,>,\>,g'
247
DATESPEC = `date +%Y-%m-%d`
248
DOCBOOKDTD = -//OASIS/DTD Docbook V4.1.2//EN
249
MANSERIES = a302c642-1888-11d7-86f6-ba4b52ef847d
251
# -------------------------------------------------------------------
252
datehead = <hr><table border="0" width="100%"><tr><td> \
253
<a href="mailto:guidod@gmx.de?subject=$(PACKAGE):">guidod@gmx.de</a> \
254
</td><td align="right">
256
datetail = </td></tr></table>
257
borderhead = <table cellpadding="10"><tr><td>
258
bordertail = </td></tr></table>
259
mksite_sh_args = --VERSION=$(VERSION) --xml --src-dir=$(srcdir)
263
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
265
case '$(am__configure_deps)' in \
267
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
272
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign docs/Makefile'; \
273
cd $(top_srcdir) && \
274
$(AUTOMAKE) --foreign docs/Makefile
276
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
279
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
281
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
282
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
285
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
286
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
288
$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
289
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
290
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
291
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
309
distdir: $(DISTFILES)
310
$(mkdir_p) $(distdir)/$(SDL)
311
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
312
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
313
list='$(DISTFILES)'; for file in $$list; do \
315
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
316
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
318
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
319
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
320
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
322
$(mkdir_p) "$(distdir)$$dir"; \
326
if test -d $$d/$$file; then \
327
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
328
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
330
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
332
test -f $(distdir)/$$file \
333
|| cp -p $$d/$$file $(distdir)/$$file \
342
install-exec: install-exec-am
343
install-data: install-data-am
344
uninstall: uninstall-am
347
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
349
installcheck: installcheck-am
351
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
352
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
353
`test -z '$(STRIP)' || \
354
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
358
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
361
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
362
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
364
maintainer-clean-generic:
365
@echo "This command is intended for maintainers to use"
366
@echo "it deletes files that may require special tools to rebuild."
369
clean-am: clean-generic clean-libtool mostlyclean-am
371
distclean: distclean-am
373
distclean-am: clean-am distclean-generic distclean-libtool
389
install-info: install-info-am
395
maintainer-clean: maintainer-clean-am
397
maintainer-clean-am: distclean-am maintainer-clean-generic
399
mostlyclean: mostlyclean-am
401
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
409
uninstall-am: uninstall-info-am
411
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
412
distclean distclean-generic distclean-libtool distdir dvi \
413
dvi-am html html-am info info-am install install-am \
414
install-data install-data-am install-exec install-exec-am \
415
install-info install-info-am install-man install-strip \
416
installcheck installcheck-am installdirs maintainer-clean \
417
maintainer-clean-generic mostlyclean mostlyclean-generic \
418
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
423
clean-doc clean-docs : clean-unpack
424
- rm $(DISTCLEANFILES)
425
- rm $(MAINTAINERCLEANFILES)
427
# -------------------------------------------------------------------
428
zziplib.spec : @top_srcdir@/$(PACKAGE).spec
429
@ $(LN_S) $? $@ # the two zzip-doc.* will grep thru zziplib.spec
430
doc : $(doc_FILES) site.html
431
docs : doc manpages.ar htmpages.ar
433
zziplib0.html : zziplib0.xml
434
zziplib0.xml : zziplib.spec @srcdir@/Makefile.am @srcdir@/make-doc.pl \
435
$(srcdir)/make-doc.pl @top_srcdir@/zzip/*.c
436
- @PERL@ $(srcdir)/make-doc.pl @top_srcdir@/zzip/*.c \
437
"suffix=0" "package=$(PACKAGE)" "version=$(VERSION)" \
438
"mainheader=zzip/zzip.h" "exported=<zzip/zzip.h> // or <zziplib.h>" \
441
zziplib1.html : zziplib1.xml
442
zziplib1.xml : zziplib.spec @srcdir@/Makefile.am @srcdir@/make-doc.py \
443
$(srcdir)/make-doc.py @top_srcdir@/zzip/*.c
444
- @PYTHON@ $(srcdir)/make-doc.py @top_srcdir@/zzip/*.c suffix=1
445
- test -f zziplib1.docbook && mv zziplib1.docbook $@ ; test -s $@
446
zziplib.html : zziplib1.html zziplib0.html
447
- test -s zziplib0.html && cp zziplib0.html zziplib.html
448
- test -s zziplib1.html && cp zziplib1.html zziplib.html
450
zziplib.xml : zziplib1.xml zziplib0.xml
451
- test -s zziplib0.xml && cp zziplib0.xml zziplib.xml
452
- test -s zziplib1.xml && cp zziplib1.xml zziplib.xml
455
install-docu: $(doc_FILES) $(man_FILES) site.html $(PACKAGE)-doc.omf
456
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
457
for i in $(html_FILES) ; do cat $$i \
458
| sed -e 's:--START-->:-- :' -e 's:<!--ENDS--: --:' \
459
-e "s:\\(href=\"[^/\"]*\\)[.]html\":\\1.htm\":" \
460
-e "s:\\(href=\"[^/\"]*\\)[.]html\#:\\1.htm\#:" \
461
> $(DESTDIR)$(pkgdocdir)/$$i ; done
462
@ for i in $(doc_FILES) $(DOCEXAMPLES) $(srcdir)/README.* \
463
; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
464
$(DESTDIR)$(pkgdocdir) ; done
465
(cd $(DESTDIR)$(pkgdocdir) && ln -sf zziplib.html zziplib.htm)
466
$(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
467
$(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
468
- test ".$(DESTDIR)" != "." || scrollkeeper-update
470
install-sfnet: $(doc_FILES) $(man_FILES) site.html htmpages.ar
471
$(mkinstalldirs) $(DESTDIR)$(SFNETDOC)
472
$(INSTALL_DATA) $(html_FILES) $(DESTDIR)$(SFNETDOC)
473
for i in $(doc_FILES) $(DOCEXAMPLES) $(changelog) $(srcdir)/README.* \
474
; do $(INSTALL_DATA) `test -f $$i || echo $(srcdir)/`$$i \
475
$(DESTDIR)$(SFNETDOC) ; done
476
(cd $(DESTDIR)$(SFNETDOC) && ln -sf zzip-index.html index.html)
477
$(mkinstalldirs) $(DESTDIR)$(SFNETDOC)/man
478
(test -f htmpages.ar || cd "$srcdir" ; P=`pwd` \
479
; cd $(DESTDIR)$(SFNETDOC)/man && ar x $$P/htmpages.ar)
481
install-doc : install-docu install-sfnet
483
# --------------------------------------------------------------------
484
man manpages : manpages.ar
485
htm htmpages : htmpages.ar
487
manpages.ar : zziplib.xml
488
@ if test "$(XMLTO)" = ":" \
489
; then echo no xmlto found - could not regenerate "$@" - skipped \
490
; echo just touching the output file "$@" ; touch "$@" \
491
; else echo going to regenerate "$@" in subdir "'"man"'" \
492
; echo 'test ! -d man || rm man/* ; test -d man || mkdir man' \
493
; test ! -d man || rm man/* ; test -d man || mkdir man \
494
; echo '(cd man && xmlto man ../zziplib.xml)' \
495
; (cd man && xmlto man ../zziplib.xml) \
496
; echo 'test ! -f $@ || mv $@ $@.old' \
497
; test ! -f $@ || mv $@ $@.old \
498
; echo '(cd man && ar qc ../$@ *.3)' \
499
; (cd man && ar qc ../$@ *.3) \
500
; echo '(rm man/*.3 ; rmdir man)' \
501
; (rm man/*.3 ; rmdir man) \
502
; fi ; test -s $@ || mv $@.old $@ \
503
|| mv $(srcdir)/$@.old $@ || test -s $@.old >$@
505
htmpages.ar : zziplib.xml
506
@ if test "$(XMLTO)" = ":" \
507
; then echo no xmlto found - could not regenerate "$@" - skipped \
508
; echo just touching the output file "$@" ; touch "$@" \
509
; else echo going to regenerate "$@" in subdir "'"man"'" \
510
; echo 'test ! -d man || rm /* ; test -d man || mkdir man' \
511
; test ! -d man || rm man/* ; test -d man || mkdir man \
512
; echo '(cd man && xmlto html ../zziplib.xml | tee written.lst)' \
513
; (cd man && xmlto html ../zziplib.xml | tee written.lst) \
514
; echo 'test ! -f $@ || mv $@ $@.old' \
515
; test ! -f $@ || mv $@ $@.old \
516
; echo '(cd man && ar qc ../$@ *.*)' \
517
; (cd man && ar qc ../$@ *.*) \
518
; echo '(rm man/*.* ; rmdir man)' \
519
; (rm man/*.* ; rmdir man) \
520
; fi ; test -s $@ || mv $@.old $@ \
521
|| mv $(srcdir)/$@.old $@ || test -s $@.old >$@
523
install-man3 : manpages.ar
524
$(mkinstalldirs) $(DESTDIR)$(mandir)/man3
525
P=`pwd` ; cd $(DESTDIR)$(mandir)/man3 \
526
&& ar x $$P/manpages.ar && chmod 664 *
528
unpack : manpages.ar htmpages.ar
529
(rm -rf _htm && mkdir _htm && cd _htm && ar x ../htmpages.ar)
530
(rm -rf _man && mkdir _man && cd _man && ar x ../manpages.ar)
535
$(PACKAGE)-doc.omf : $(spec_file) Makefile
536
echo '<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>' >$@
537
echo '<omf><resource><creator> Guido Draheim </creator>' >>$@
538
grep Packager $(FROMSPEC) | sed -e 's,Packager *: *, <maintainer>,' \
539
-e '/<maintainer>/s,$$,</maintainer>,' >>$@
540
grep Summary $(FROMSPEC) | sed -e 's,Summary *: *, <title>,' \
541
-e '/<title>/s,$$,</title>,' >>$@
542
echo ' <date>'$(DATESPEC)'</date>' >>$@
543
echo ' <version identifier="$(VERSION)" date="'$(DATESPEC)'"/>' >>$@
544
grep Group $(FROMSPEC) | sed -e 's,Group *: *, <subject category=",' \
545
-e 's,/,|,g' -e '/<subject/s,$$," />,' >>$@
546
echo ' <format mime="text/html"/>' >>$@
547
echo ' <identifier url="file:$(pkgdocdir)/zzip-index.htm"/>' >>$@
548
echo ' <language code="C"/>' >>$@
549
echo ' <relation seriesid="$(DOCSERIES)"/>' >>$@
550
echo ' <rights type="GNU LGPL" holder="Guido Draheim"' >>$@
551
echo ' license="$(pkgdocdir)/COPYING.LIB"/>' >>$@
552
echo '</resource></omf>' >>$@
553
$(PACKAGE)-man.omf : $(PACKAGE)-doc.omf $(PACKAGE).xml
554
sed -e 's,"text/html","text/xml" dtd="$(DOCBOOKDTD)",' \
555
-e 's,</title>, (Function Reference)</title>,' \
556
-e 's,/index.html,/manpages.xml,' \
557
-e 's,$(DOCSERIES),$(MANSERIES),' $(PACKAGE)-doc.omf > $@
560
omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml
561
install-omf : $(PACKAGE)-doc.omf $(PACKAGE)-man.omf $(PACKAGE).xml
562
$(mkinstalldirs) $(DESTDIR)$(pkgomfdir)
563
$(INSTALL_DATA) $(PACKAGE)-doc.omf $(DESTDIR)$(pkgomfdir)/
564
$(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
565
$(INSTALL_DATA) $(PACKAGE).xml $(DESTDIR)$(pkgdocdir)/manpages.xml
566
$(INSTALL_DATA) $(PACKAGE)-man.omf $(DESTDIR)$(pkgomfdir)/
567
- test ".$(DESTDIR)" != "." || scrollkeeper-update -v
570
cp $(srcdir)/body.htm site.htm
571
site.html : site.htm mksite.sh $(htm_FILES)
572
perl $(srcdir)/mksite.pl $(mksite_sh_args) site.htm || \
573
$(SHELL) $(srcdir)/mksite.sh $(mksite_sh_args) site.htm
575
x : $(htm_FILES:.htm=.htmls)
576
$(htm_FILES:.htm=.htmls) : body.htm
578
@ title=`grep '<h2>' $< | sed -e 's:</h2>.*::' -e 's:<[^<>]*>::g'` \
579
; D=$(DATESPEC) ; cat $(srcdir)/body.htm \
580
| sed -e "s/<!--VERSION-->/$(VERSION)/" \
581
| sed -e "s/<!--DATE-->/$$D/" \
582
| sed -e "s:</title>: - $$title</title>:" \
583
| sed -e "/$@.>/s:\\([^<>]*\\)</a>:<b>\\1</b></a>:" \
585
@ echo $< '>>' $@; cat $< | sed -e "s/<!--VERSION-->/$(VERSION)/" \
586
-e "s:</h2>\\(.*\\):</h2></td><td><i>\\1</i></td></tr></table>:" \
587
-e 's:<h2>:<table width="100%"><tr valign="bottom"><td><h2>:' \
588
-e 's:<td><i>:<td align="right"><br> <i>:' \
589
-e 's:<P>:<p class="justify"><span class="justify">:g' \
590
-e 's:</P>:</span></p>:g' \
591
-e 's,<date>,<!--DATE: ,' -e 's,</date>, -->,' \
592
-e 's,<!--border-->,$(borderhead)<!--BORDER-->,' >>$@
593
@ if grep '<!--BORDER-->' $@ >/dev/null ; then : \
594
; echo "$(bordertail)<!--/BORDER-->" >>$@ ; fi
595
@ D=`grep '<!--DATE:' $@ | sed -e 's,.*<!--DATE: *,,' -e 's, *-->,,'` \
596
; if test ".$$D" != "." ; then echo '$(datehead)' >>$@ \
597
; echo "$$D" >> $@ ; echo "$(datetail)" >> $@ ; fi
598
@ echo "</td></tr></table></body></html>" >>$@
600
# ----------------------------------------------- create pdf via docbook xml
601
zzip.xml : $(htm_FILES) zziplib.xml make-dbk.pl
602
@PERL@ make-dbk.pl $(htm_FILES) zziplib.xml >$@
603
test -s "$@" || rm "$@"
606
xmlto html-nochunks zzip.xml
610
zziplib.pdf : $(htm_FILES) $(srcdir)/zziplib-master.dbk mksite.pl
611
cp $(srcdir)/zziplib-master.dbk zziplib.docbook
612
xmlto pdf zziplib.docbook ; rm zziplib.docbook
616
# Tell versions [3.59,3.63) of GNU make to not export all variables.
617
# Otherwise a system limit (for SysV at least) may be exceeded.