~ubuntu-branches/ubuntu/wily/luatex/wily

« back to all changes in this revision

Viewing changes to source/texk/web2c/luatexdir/zziplib/docs/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2010-04-29 00:47:19 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20100429004719-o42etkqe90n97b9e
Tags: 0.60.1-1
* new upstream release, adapt build-script patch
* disable patch: upstream-epstopdf_cc_no_xpdf_patching, included upstream
* disable patch: libpoppler-0.12, not needed anymore

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Makefile.in generated by automake 1.9.6 from Makefile.am.
2
 
# @configure_input@
3
 
 
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.
9
 
 
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
13
 
# PARTICULAR PURPOSE.
14
 
 
15
 
@SET_MAKE@
16
 
srcdir = @srcdir@
17
 
top_srcdir = @top_srcdir@
18
 
VPATH = @srcdir@
19
 
pkgdatadir = $(datadir)/@PACKAGE@
20
 
pkglibdir = $(libdir)/@PACKAGE@
21
 
pkgincludedir = $(includedir)/@PACKAGE@
22
 
top_builddir = ..
23
 
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
24
 
INSTALL = @INSTALL@
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)
30
 
NORMAL_INSTALL = :
31
 
PRE_INSTALL = :
32
 
POST_INSTALL = :
33
 
NORMAL_UNINSTALL = :
34
 
PRE_UNINSTALL = :
35
 
POST_UNINSTALL = :
36
 
build_triplet = @build@
37
 
host_triplet = @host@
38
 
target_triplet = @target@
39
 
subdir = docs
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) \
66
 
        $(ACLOCAL_M4)
67
 
mkinstalldirs = $(SHELL) $(top_srcdir)/uses/mkinstalldirs
68
 
CONFIG_HEADER = $(top_builddir)/config.h
69
 
CONFIG_CLEAN_FILES =
70
 
SOURCES =
71
 
DIST_SOURCES =
72
 
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
73
 
ACLOCAL = @ACLOCAL@
74
 
AMDEP_FALSE = @AMDEP_FALSE@
75
 
AMDEP_TRUE = @AMDEP_TRUE@
76
 
AMTAR = @AMTAR@
77
 
AR = @AR@
78
 
AS = @AS@
79
 
AUTOCONF = @AUTOCONF@
80
 
AUTOHEADER = @AUTOHEADER@
81
 
AUTOMAKE = @AUTOMAKE@
82
 
AWK = @AWK@
83
 
CC = @CC@
84
 
CCDEPMODE = @CCDEPMODE@
85
 
CFLAGS = @CFLAGS@
86
 
CONFIG_FILES = @CONFIG_FILES@
87
 
CPP = @CPP@
88
 
CPPFLAGS = @CPPFLAGS@
89
 
CXX = @CXX@
90
 
CXXCPP = @CXXCPP@
91
 
CXXDEPMODE = @CXXDEPMODE@
92
 
CXXFLAGS = @CXXFLAGS@
93
 
CYGPATH_W = @CYGPATH_W@
94
 
DEFS = @DEFS@
95
 
DEPDIR = @DEPDIR@
96
 
DLLTOOL = @DLLTOOL@
97
 
ECHO = @ECHO@
98
 
ECHO_C = @ECHO_C@
99
 
ECHO_N = @ECHO_N@
100
 
ECHO_T = @ECHO_T@
101
 
EGREP = @EGREP@
102
 
EXEEXT = @EXEEXT@
103
 
F77 = @F77@
104
 
FFLAGS = @FFLAGS@
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@
110
 
LDFLAGS = @LDFLAGS@
111
 
LIBOBJS = @LIBOBJS@
112
 
LIBS = @LIBS@
113
 
LIBTOOL = @LIBTOOL@
114
 
LN_S = @LN_S@
115
 
LTLIBOBJS = @LTLIBOBJS@
116
 
MAINT = @MAINT@
117
 
MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
118
 
MAINTAINER_MODE_TRUE = @MAINTAINER_MODE_TRUE@
119
 
MAKEINFO = @MAKEINFO@
120
 
MKZIP = @MKZIP@
121
 
OBJDUMP = @OBJDUMP@
122
 
OBJEXT = @OBJEXT@
123
 
PACKAGE = @PACKAGE@
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@
130
 
PERL = @PERL@
131
 
PKG_CONFIG = @PKG_CONFIG@
132
 
PYTHON = @PYTHON@
133
 
RANLIB = @RANLIB@
134
 
RELEASE_INFO = @RELEASE_INFO@
135
 
RESOLVES = @RESOLVES@
136
 
SDL = @top_srcdir@/SDL
137
 
SET_MAKE = @SET_MAKE@
138
 
SHELL = @SHELL@
139
 
STRIP = @STRIP@
140
 
THREAD_SAFE = @THREAD_SAFE@
141
 
VERSION = @VERSION@
142
 
VERSION_INFO = @VERSION_INFO@
143
 
XMLTO = @XMLTO@
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@
166
 
am__tar = @am__tar@
167
 
am__untar = @am__untar@
168
 
ax_enable_builddir_sed = @ax_enable_builddir_sed@
169
 
bindir = @bindir@
170
 
build = @build@
171
 
build_alias = @build_alias@
172
 
build_cpu = @build_cpu@
173
 
build_os = @build_os@
174
 
build_vendor = @build_vendor@
175
 
datadir = @datadir@
176
 
docdir = @docdir@
177
 
exec_prefix = @exec_prefix@
178
 
host = @host@
179
 
host_alias = @host_alias@
180
 
host_cpu = @host_cpu@
181
 
host_os = @host_os@
182
 
host_vendor = @host_vendor@
183
 
includedir = @includedir@
184
 
infodir = @infodir@
185
 
install_sh = @install_sh@
186
 
libdir = @libdir@
187
 
libexecdir = @libexecdir@
188
 
localstatedir = @localstatedir@
189
 
mandir = @mandir@
190
 
mkdir_p = @mkdir_p@
191
 
oldincludedir = @oldincludedir@
192
 
pkgconfig_libdir = @pkgconfig_libdir@
193
 
pkgconfig_libfile = @pkgconfig_libfile@
194
 
pkgconfigdir = @pkgconfigdir@
195
 
prefix = @prefix@
196
 
program_transform_name = @program_transform_name@
197
 
sbindir = @sbindir@
198
 
sharedstatedir = @sharedstatedir@
199
 
sysconfdir = @sysconfdir@
200
 
target = @target@
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 \
208
 
            zziplib.html
209
 
 
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
216
 
 
217
 
SDL_RWOPS = $(SDL)/SDL_rwops_zzcat.c \
218
 
            $(SDL)/SDL_rwops_zzip.c $(SDL)/SDL_rwops_zzip.h
219
 
 
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
224
 
 
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
230
 
 
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)
241
 
 
242
 
 
243
 
# -------------------------------------------------------------------
244
 
spec_file = $(top_srcdir)/$(PACKAGE).spec
245
 
DOCSERIES = 775fb73e-1874-11d7-93e9-e18cd7ea3c2e
246
 
FROMSPEC = $(spec_file) | head -1 | sed -e 's,<,\&lt;,g' -e 's,>,\&gt;,g'
247
 
DATESPEC = `date +%Y-%m-%d`
248
 
DOCBOOKDTD = -//OASIS/DTD Docbook V4.1.2//EN
249
 
MANSERIES = a302c642-1888-11d7-86f6-ba4b52ef847d
250
 
 
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">
255
 
 
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)
260
 
all: all-am
261
 
 
262
 
.SUFFIXES:
263
 
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am  $(am__configure_deps)
264
 
        @for dep in $?; do \
265
 
          case '$(am__configure_deps)' in \
266
 
            *$$dep*) \
267
 
              cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
268
 
                && exit 0; \
269
 
              exit 1;; \
270
 
          esac; \
271
 
        done; \
272
 
        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  docs/Makefile'; \
273
 
        cd $(top_srcdir) && \
274
 
          $(AUTOMAKE) --foreign  docs/Makefile
275
 
.PRECIOUS: Makefile
276
 
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
277
 
        @case '$?' in \
278
 
          *config.status*) \
279
 
            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
280
 
          *) \
281
 
            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
282
 
            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
283
 
        esac;
284
 
 
285
 
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
286
 
        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
287
 
 
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
292
 
 
293
 
mostlyclean-libtool:
294
 
        -rm -f *.lo
295
 
 
296
 
clean-libtool:
297
 
        -rm -rf .libs _libs
298
 
 
299
 
distclean-libtool:
300
 
        -rm -f libtool
301
 
uninstall-info-am:
302
 
tags: TAGS
303
 
TAGS:
304
 
 
305
 
ctags: CTAGS
306
 
CTAGS:
307
 
 
308
 
 
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 \
314
 
          case $$file in \
315
 
            $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
316
 
            $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
317
 
          esac; \
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 \
321
 
            dir="/$$dir"; \
322
 
            $(mkdir_p) "$(distdir)$$dir"; \
323
 
          else \
324
 
            dir=''; \
325
 
          fi; \
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; \
329
 
            fi; \
330
 
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
331
 
          else \
332
 
            test -f $(distdir)/$$file \
333
 
            || cp -p $$d/$$file $(distdir)/$$file \
334
 
            || exit 1; \
335
 
          fi; \
336
 
        done
337
 
check-am: all-am
338
 
check: check-am
339
 
all-am: Makefile
340
 
installdirs:
341
 
install: install-am
342
 
install-exec: install-exec-am
343
 
install-data: install-data-am
344
 
uninstall: uninstall-am
345
 
 
346
 
install-am: all-am
347
 
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
348
 
 
349
 
installcheck: installcheck-am
350
 
install-strip:
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
355
 
mostlyclean-generic:
356
 
 
357
 
clean-generic:
358
 
        -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
359
 
 
360
 
distclean-generic:
361
 
        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
362
 
        -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
363
 
 
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."
367
 
clean: clean-am
368
 
 
369
 
clean-am: clean-generic clean-libtool mostlyclean-am
370
 
 
371
 
distclean: distclean-am
372
 
        -rm -f Makefile
373
 
distclean-am: clean-am distclean-generic distclean-libtool
374
 
 
375
 
dvi: dvi-am
376
 
 
377
 
dvi-am:
378
 
 
379
 
html: html-am
380
 
 
381
 
info: info-am
382
 
 
383
 
info-am:
384
 
 
385
 
install-data-am:
386
 
 
387
 
install-exec-am:
388
 
 
389
 
install-info: install-info-am
390
 
 
391
 
install-man:
392
 
 
393
 
installcheck-am:
394
 
 
395
 
maintainer-clean: maintainer-clean-am
396
 
        -rm -f Makefile
397
 
maintainer-clean-am: distclean-am maintainer-clean-generic
398
 
 
399
 
mostlyclean: mostlyclean-am
400
 
 
401
 
mostlyclean-am: mostlyclean-generic mostlyclean-libtool
402
 
 
403
 
pdf-am:
404
 
 
405
 
ps: ps-am
406
 
 
407
 
ps-am:
408
 
 
409
 
uninstall-am: uninstall-info-am
410
 
 
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 \
419
 
        uninstall-info-am
420
 
 
421
 
 
422
 
default : doc
423
 
clean-doc clean-docs : clean-unpack
424
 
        - rm $(DISTCLEANFILES) 
425
 
        - rm $(MAINTAINERCLEANFILES)
426
 
 
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
432
 
docu : docs
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>" \
439
 
          "docbookfile=$@" 
440
 
        - test -s $@
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
449
 
        test -s $@
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
453
 
        test -s $@ || rm $@
454
 
 
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
469
 
 
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)
480
 
 
481
 
install-doc : install-docu install-sfnet
482
 
 
483
 
# --------------------------------------------------------------------
484
 
man manpages : manpages.ar
485
 
htm htmpages : htmpages.ar
486
 
 
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 >$@
504
 
 
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 >$@
522
 
 
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 *
527
 
 
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)
531
 
clean-unpack : 
532
 
        rm -rf _htm
533
 
        rm -rf _man
534
 
 
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 > $@
558
 
        test -s $@ || rm $@
559
 
 
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
568
 
 
569
 
site.htm : body.htm
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
574
 
 
575
 
x : $(htm_FILES:.htm=.htmls)
576
 
$(htm_FILES:.htm=.htmls) : body.htm
577
 
%.htmls : %.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>:" \
584
 
        > $@
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>" >>$@
599
 
 
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 "$@"
604
 
 
605
 
zzip.html : zzip.xml
606
 
        xmlto html-nochunks zzip.xml
607
 
zzip.pdf  : zzip.xml
608
 
        xmlto pdf zzip.xml
609
 
 
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
613
 
        test -s zziplib.pdf
614
 
 
615
 
pdf : zziplib.pdf
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.
618
 
.NOEXPORT: